-
Notifications
You must be signed in to change notification settings - Fork 274
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
Conversation
There was a problem hiding this 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
There was a problem hiding this 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),
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK from me.
Decorations of the
ui5-side-navigation
are now set by the layout.