Skip to content

feat(ui5-user-menu-item) - add optional second line#13397

Open
SvilenDarvenyashki wants to merge 7 commits intomainfrom
user-menu-item
Open

feat(ui5-user-menu-item) - add optional second line#13397
SvilenDarvenyashki wants to merge 7 commits intomainfrom
user-menu-item

Conversation

@SvilenDarvenyashki
Copy link
Copy Markdown
Contributor

@SvilenDarvenyashki SvilenDarvenyashki commented Apr 16, 2026

Introduce a showSelection property on ui5-user-menu-item that renders
a second text line below the menu item, displaying the currently checked
sub-item's text. This enables users to see the active selection (e.g.
current theme, language) without opening the submenu.

@ui5-webcomponents-bot
Copy link
Copy Markdown
Collaborator

ui5-webcomponents-bot commented Apr 16, 2026

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview April 16, 2026 11:02 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview April 27, 2026 11:55 Inactive
@SvilenDarvenyashki SvilenDarvenyashki changed the title feat(UserMenuItem) - add optional second line feat(ui5-user-menu-item) - add optional second line Apr 27, 2026
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview April 27, 2026 15:34 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview April 28, 2026 09:00 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview April 28, 2026 10:23 Inactive
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview April 28, 2026 10:49 Inactive
…ests

- Fix ESLint func-names/space-before-function-paren in MenuItemTemplate
- Update UserMenuItem CSS: 3.25rem height for two-line selection display,
  0.5rem padding, 0.25rem gap, proper font styling with SAP theme vars
- Fix CSS selector from [show-selection-text] to [show-selection]
- Add 17 Cypress tests for showSelection, single-select behavior,
  UserMenuItemGroup, CSS styling, and nested submenu items
Single-select unchecking is now only blocked when the parent item
has showSelection set, so regular single-select groups remain
uncheckable as expected.
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview April 28, 2026 11:33 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants