Open ehni opened 1 month ago
Hello @ehni,
Thank you for sharing this finding. I am forwarding this ticket to the responsible team, who will look into it and assist.
@SAP/ui5-webcomponents-topic-rd, could you please look into this?
SideNavigationGroup is implicitly imported within the SideNavigation. We may need to improve our documentation regarding this.
Regards, Konstantin Gogov UI5 Web Components GitHub Dispatcher
Issue Description
→ https://sap.github.io/ui5-webcomponents/components/fiori/SideNavigationGroup/
The Import for the
SideNavigationGroup
is implicitly imported within theSideNavigation
, so an additional import is not required, see e.g. the Basic Sample (https://sap.github.io/ui5-webcomponents/components/fiori/SideNavigation/#basic-sample) which is using the NavigationGroup but does not import it.This is currently not stated in the documentation.
It would be good to have it either clearly documented that: a) the
SideNavigationGroup
is automatically imported within theSideNavigation
, or b) have theSideNavigation
not implicitly import theSideNavigationGroup
so that it need to be explicitly imported. (I would prefer this option as it is best practice to have all used components imported so that IDEs do not throw warnings or errors).Issue Type