Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: OPTIC-1107: [timebox] visual inconsistency with datamanager on smaller screens #6379

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

yyassi-heartex
Copy link
Contributor

@yyassi-heartex yyassi-heartex commented Sep 13, 2024

PR fulfills these requirements

  • Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
  • Tests for the changes have been added/updated (for bug fixes/features)
  • Docs have been added/updated (for bug fixes/features)
  • Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
  • Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)

(check all that apply)

  • Product design
  • Backend (Database)
  • Backend (API)
  • Frontend

Describe the reason for change

addressing a visual issue that occurs when the screen is sufficiently small enough where control bar extends past the edge of all other elements leading to a weird visual
Screenshot 2024-09-12 at 4 33 15 PM


🚀 This description was created by Ellipsis for commit d0dda2d

fix: OPTIC-1107: Adjust app layout for small screens

Summary:

Fixes layout issue on small screens by adjusting flexbox properties in login.css and App.scss.

Key points:

  • CSS Changes:
    • In login.css, added flex: 1; to html, body for full height usage.
    • In App.scss, added display: flex; to body and flex: 1; to :global(.app-wrapper) for consistent layout.
  • Visual Fix:
    • Fixes issue where control bar extends past other elements on small screens.

Generated with ❤️ by ellipsis.dev

Copy link

netlify bot commented Sep 13, 2024

Deploy Preview for label-studio-docs-new-theme ready!

Name Link
🔨 Latest commit 5742b6b
🔍 Latest deploy log https://app.netlify.com/sites/label-studio-docs-new-theme/deploys/66eacd6121d9190008cb2888
😎 Deploy Preview https://deploy-preview-6379--label-studio-docs-new-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Sep 13, 2024

Deploy Preview for heartex-docs ready!

Name Link
🔨 Latest commit 5742b6b
🔍 Latest deploy log https://app.netlify.com/sites/heartex-docs/deploys/66eacd61cc33360008a9dad0
😎 Deploy Preview https://deploy-preview-6379--heartex-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@yyassi-heartex yyassi-heartex changed the title Fb optic 1107/app width fix: OPTIC-1107: [timebox] visual inconsistency with datamanager on smaller screens Sep 13, 2024
@yyassi-heartex
Copy link
Contributor Author

@ellipsis-dev review this

Copy link

codecov bot commented Sep 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.58%. Comparing base (d5ecb3d) to head (d4c0004).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #6379   +/-   ##
========================================
  Coverage    76.57%   76.58%           
========================================
  Files          169      169           
  Lines        13753    13753           
========================================
+ Hits         10532    10533    +1     
+ Misses        3221     3220    -1     
Flag Coverage Δ
pytests 76.58% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to d0dda2d in 20 seconds

More details
  • Looked at 30 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_iTQjHT79bXi9pJDk


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

3 days left in your free trial, upgrade for $20/seat/month or contact us.

label_studio/core/static/css/login.css Outdated Show resolved Hide resolved
}

:global(.app-wrapper) {
flex: 1;
}

.app-wrapper {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure this is actually applying to anything - anyone against removing this block?

@@ -9,6 +9,11 @@ body {

margin: 0;
font-family: Figtree, sans-serif;
display: flex;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This possibly breaks the other pages, as flex would not be the default layout for body.

@yyassi-heartex
Copy link
Contributor Author

yyassi-heartex commented Sep 16, 2024

/git merge develop

Workflow run
Successfully merged: create mode 100644 label_studio/ml_models/migrations/0011_thirdpartymodelversion_model_provider_connection.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants