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

refactor(ui5-side-navigation): remove "design" property #11219

Merged
merged 4 commits into from
Mar 31, 2025

Conversation

TeodorTaushanov
Copy link
Member

@TeodorTaushanov TeodorTaushanov commented Mar 31, 2025

Decorations of the ui5-side-navigation are now set by the layout.

@TeodorTaushanov TeodorTaushanov requested a review from Copilot March 31, 2025 10:46
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the ui5-side-navigation component by removing the "design" property and its associated enum, with the intent that decorations are now set by the layout.

  • Removed the SideNavigationDesign enum from the types file.
  • Removed the "design" property from the SideNavigation component.

Reviewed Changes

Copilot reviewed 2 out of 19 changed files in this pull request and generated no comments.

File Description
packages/fiori/src/types/SideNavigationDesign.ts Removed the SideNavigationDesign enum completely.
packages/fiori/src/SideNavigation.ts Removed the "design" property and its documentation.
Files not reviewed (17)
  • packages/fiori/src/themes/NavigationLayout.css: Language not supported
  • packages/fiori/src/themes/SideNavigation.css: Language not supported
  • packages/fiori/src/themes/base/NavigationLayout-parameters.css: Language not supported
  • packages/fiori/src/themes/sap_fiori_3/parameters-bundle.css: Language not supported
  • packages/fiori/src/themes/sap_fiori_3_dark/parameters-bundle.css: Language not supported
  • packages/fiori/src/themes/sap_fiori_3_hcb/parameters-bundle.css: Language not supported
  • packages/fiori/src/themes/sap_fiori_3_hcw/parameters-bundle.css: Language not supported
  • packages/fiori/src/themes/sap_horizon/NavigationLayout-parameters.css: Language not supported
  • packages/fiori/src/themes/sap_horizon/parameters-bundle.css: Language not supported
  • packages/fiori/src/themes/sap_horizon_dark/NavigationLayout-parameters.css: Language not supported
  • packages/fiori/src/themes/sap_horizon_dark/parameters-bundle.css: Language not supported
  • packages/fiori/src/themes/sap_horizon_hcb/NavigationLayout-parameters.css: Language not supported
  • packages/fiori/src/themes/sap_horizon_hcb/parameters-bundle.css: Language not supported
  • packages/fiori/src/themes/sap_horizon_hcw/NavigationLayout-parameters.css: Language not supported
  • packages/fiori/src/themes/sap_horizon_hcw/parameters-bundle.css: Language not supported
  • packages/fiori/test/pages/SideNavigationOverlay.html: Language not supported
  • packages/website/docs/_samples/fiori/SideNavigation/OverlayMode/sample.html: Language not supported

@TeodorTaushanov TeodorTaushanov requested review from Stoev and a team March 31, 2025 10:47
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.

The PR looks good to me, no docu changes in the files changed.

Only might consider changing:
Decorations of the ui5-side-navigation should be set by the layout.
to:
Decorations of the ui5-side-navigation are now set by the layout.
(as in Copilot),

@TeodorTaushanov
Copy link
Member Author

The PR looks good to me, no docu changes in the files changed.

Only might consider changing: Decorations of the ui5-side-navigation should be set by the layout. to: Decorations of the ui5-side-navigation are now set by the layout. (as in Copilot),

Done.

@TeodorTaushanov TeodorTaushanov requested a review from Stoev March 31, 2025 11:31
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.

OK from me.

@TeodorTaushanov TeodorTaushanov merged commit 39de31c into main Mar 31, 2025
12 checks passed
@TeodorTaushanov TeodorTaushanov deleted the side_nav_design branch March 31, 2025 14:14
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