-
Notifications
You must be signed in to change notification settings - Fork 279
feat(ui5-side-navigation): migrate to TypeScript #6429
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
Conversation
Fixed errors
Review comments
I was not able to find a quick fix we might need to address this in another issue |
Few changes:
|
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.
IItem is a worse name. I prefer the previous name. Please also rebase.
e9af947
to
f59610b
Compare
Change interface name and remove TempTree
subItems: Array<SideNavigationSubItem>, | ||
}; | ||
|
||
type TSideNavigationItem = SideNavigationItem | SideNavigationSubItem; |
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.
I only would prefer to have ISideNavigationItem interface (instead of TSideNavigationItem), that both SideNavigationItem and SideNavigationSubItem implement
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.
We discussed this comment offline and it won't help much to have an interface in this case.
Related to: #4337
Fixes: #6436
Fixed a bug where clicking on the fixedItems on a collapsed SideNavigation would not open the item's popover.