Skip to content

chore(ui5-side-navigation): unify item rendering and attributes with shared base template #11900

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

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

TeodorTaushanov
Copy link
Member

@TeodorTaushanov TeodorTaushanov commented Jul 10, 2025

  • Introduce SideNavigationItemBaseTemplate to standardize rendering and attribute handling for navigation items, groups, and sub-items.
  • Move common attribute/event logic to templateAttributes getters in respective classes.

JIRA: BGSOFUIRODOPI-3482

@TeodorTaushanov TeodorTaushanov requested review from Stoev and a team July 17, 2025 13:40
Copy link

@Stoev Stoev left a comment

Choose a reason for hiding this comment

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

Please consider alternative text for commit header:
chore(ui5-side-navigation): unify item rendering and attributes with shared base template

In addition, might maybe add some explanatory info, such as:

  • Introduce SideNavigationItemBaseTemplate to standardize rendering and attribute handling for navigation items, groups, and sub-items.
  • Move common attribute/event logic to templateAttributes getters in respective classes.
  • Improved ARIA, tabIndex, and disabled state handling, especially for collapsed/expanded states and external links.

@TeodorTaushanov TeodorTaushanov changed the title chore(ui5-side-navigation): simplify rendering templates chore(ui5-side-navigation): unify item rendering and attributes with shared base template Jul 17, 2025
@TeodorTaushanov TeodorTaushanov requested a review from Stoev July 17, 2025 14:09
Copy link

@Stoev Stoev left a comment

Choose a reason for hiding this comment

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

Looks good.

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.

2 participants