Skip to content

Show title in level-2 flyouts#5360

Merged
nilmerg merged 1 commit intomainfrom
feature/navigation-flyout-label
Apr 30, 2025
Merged

Show title in level-2 flyouts#5360
nilmerg merged 1 commit intomainfrom
feature/navigation-flyout-label

Conversation

@jrauh01
Copy link
Copy Markdown
Contributor

@jrauh01 jrauh01 commented Apr 25, 2025

Add a title to the navigation level-2 flyouts. The title is only displayed if the sidebar is collapsed.

Closes #4968

@jrauh01 jrauh01 self-assigned this Apr 25, 2025
@cla-bot cla-bot bot added the cla/signed label Apr 25, 2025
@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch 3 times, most recently from f24ce91 to ae222f3 Compare April 25, 2025 08:39
@jrauh01 jrauh01 requested a review from nilmerg April 25, 2025 08:41
@nilmerg
Copy link
Copy Markdown
Member

nilmerg commented Apr 25, 2025

I'd rather like to see a no-JS approach

@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch 5 times, most recently from 5045212 to 3c10f14 Compare April 28, 2025 10:08
@jrauh01
Copy link
Copy Markdown
Contributor Author

jrauh01 commented Apr 28, 2025

Unlike discussed, I would use the parent name instead of label to avoid displaying state badges.

Using label:
Screenshot 2025-04-28 at 12 05 33

Using name:
Screenshot 2025-04-28 at 12 05 49

Copy link
Copy Markdown
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

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

When not collapsed, the first entry has none or a narrower gap at the top.

Previous
Screenshot from 2025-04-28 13-22-35

After
Screenshot from 2025-04-28 13-24-01

The height of the new element is not the same as the one in the sidebar:
image

@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch 5 times, most recently from e40bca5 to eb9dc7e Compare April 29, 2025 06:29
@jrauh01 jrauh01 requested a review from nilmerg April 29, 2025 06:43
@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch from eb9dc7e to c68c8bd Compare April 29, 2025 08:15
@jrauh01 jrauh01 requested a review from nilmerg April 29, 2025 08:17
Copy link
Copy Markdown
Member

@nilmerg nilmerg left a comment

Choose a reason for hiding this comment

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

Please rebase with #5363

@jrauh01 jrauh01 changed the base branch from main to fix/menu-caret-positioning April 30, 2025 08:17
@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch from c68c8bd to e50968d Compare April 30, 2025 10:45
@jrauh01 jrauh01 requested a review from nilmerg April 30, 2025 11:15
@nilmerg nilmerg force-pushed the fix/menu-caret-positioning branch from b71c274 to 1467117 Compare April 30, 2025 12:40
@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch 2 times, most recently from 8cc031c to ec75bab Compare April 30, 2025 13:01
@nilmerg nilmerg force-pushed the fix/menu-caret-positioning branch from 1467117 to 6100281 Compare April 30, 2025 13:02
@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch from ec75bab to 05487b2 Compare April 30, 2025 13:16
nilmerg
nilmerg previously approved these changes Apr 30, 2025
Base automatically changed from fix/menu-caret-positioning to main April 30, 2025 13:18
@nilmerg nilmerg dismissed their stale review April 30, 2025 13:18

The base branch was changed.

@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch from 05487b2 to 68999d6 Compare April 30, 2025 13:20
@jrauh01 jrauh01 force-pushed the feature/navigation-flyout-label branch from 68999d6 to 233b70f Compare April 30, 2025 13:21
@jrauh01 jrauh01 requested a review from nilmerg April 30, 2025 13:25
@nilmerg nilmerg merged commit 05f9e7c into main Apr 30, 2025
22 checks passed
@nilmerg nilmerg deleted the feature/navigation-flyout-label branch April 30, 2025 13:30
@nilmerg nilmerg added this to the 2.13 milestone Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sidebar: Show the parent level-1 label in level-2 flyouts

2 participants