Skip to content

Conversation

yyassi-heartex
Copy link
Contributor

This pull request introduces a new "icon menu" feature, controlled by the fflag_feat_fit_528_icon_menu_short feature flag. When enabled, the sidebar menu switches to a compact, icon-only style with tooltips and adjusted styling. The changes span backend templates, frontend React components, and SCSS styles to support this new mode.

Feature flag integration and backend template changes:

  • Added checks for fflag_feat_fit_528_icon_menu_short in base.html, simple.html, and index.html to conditionally add a CSS class to the <body> element, enabling icon menu support. [1] [2] [3]
  • Introduced the FF_ICON_MENU constant in the feature flags definitions.

Sidebar and menu component updates:

  • Updated the Menubar component to detect the icon menu flag and, when enabled, render menu items with tooltips, remove text labels, and adjust spacers/dividers for a more compact layout. [1] [2] [3]
  • Enhanced the MenuItem component to conditionally wrap items in a tooltip and display only the icon when in icon menu mode. [1] [2] [3] [4] [5]

Styling and layout adjustments:

  • Defined a new --icon-menu-width CSS variable and adjusted the sidebar width and styling when icon menu mode is active, including menu item alignment, padding, and background. [1] [2] [3]
  • Added specific style adjustments for the current version display when in icon menu mode.

Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for label-studio-docs-new-theme canceled.

Name Link
🔨 Latest commit d0fb2d2
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-docs-new-theme/deploys/689f38ac0d753f0008f5a7c2

Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for label-studio-storybook ready!

Name Link
🔨 Latest commit d0fb2d2
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-storybook/deploys/689f38ac102f700008e53e3a
😎 Deploy Preview https://deploy-preview-8151--label-studio-storybook.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 project configuration.

@github-actions github-actions bot added the feat label Aug 13, 2025
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for label-studio-playground ready!

Name Link
🔨 Latest commit d0fb2d2
🔍 Latest deploy log https://app.netlify.com/projects/label-studio-playground/deploys/689f38ac3323f80008b54296
😎 Deploy Preview https://deploy-preview-8151--label-studio-playground.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 project configuration.

Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for heartex-docs canceled.

Name Link
🔨 Latest commit d0fb2d2
🔍 Latest deploy log https://app.netlify.com/projects/heartex-docs/deploys/689f38ac43a09500082127db

Copy link

codecov bot commented Aug 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.48%. Comparing base (75b6c51) to head (d0fb2d2).
⚠️ Report is 1 commits behind head on develop.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8151      +/-   ##
===========================================
- Coverage    70.49%   70.48%   -0.02%     
===========================================
  Files          720      720              
  Lines        52128    52129       +1     
  Branches      8813     8813              
===========================================
- Hits         36748    36743       -5     
- Misses       15377    15383       +6     
  Partials         3        3              
Flag Coverage Δ
lsf-e2e 59.75% <100.00%> (-0.01%) ⬇️
lsf-integration 55.57% <100.00%> (+<0.01%) ⬆️
lsf-unit 9.42% <ø> (ø)
pytests 78.37% <ø> (-0.04%) ⬇️

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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant