-
Notifications
You must be signed in to change notification settings - Fork 32
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
feat: adds new side navigation component for unified nav design #2269
Conversation
ea08316
to
5e1f852
Compare
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 added some comments today but haven't had time to do a full review yet and ran out of time. I'm scheduling time to do this again tomorrow.
packages/odyssey-storybook/src/components/odyssey-labs/SideNav/SideNav.stories.tsx
Outdated
Show resolved
Hide resolved
packages/odyssey-storybook/src/components/odyssey-labs/SideNav/SideNav.stories.tsx
Outdated
Show resolved
Hide resolved
377fae6
to
95da2e4
Compare
packages/odyssey-storybook/src/components/odyssey-labs/SideNav/SideNav.stories.tsx
Outdated
Show resolved
Hide resolved
/** | ||
* Whether the item is expanded by default | ||
*/ | ||
isDefaultExpanded?: boolean; |
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.
So if i understand correctly this prop is only meaningful if isExpanded
is undefined
, right? Otherwise it's ignored? It should probably have that in the doc for both props.
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.
yes, these props become optional based on the other one. isExpanded
is duplicate prop that is not needed and I've removed that.
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.
Could you please add that info in the docstring for the property here? Thanks.
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.
Changes look great to me. The one thing to fix is the spelling error. Please address the other comments, if necessary.
Let me know when you have the fixes in place and I'll approve. Nice work!
packages/odyssey-storybook/src/components/odyssey-labs/SideNav/SideNav.stories.tsx
Outdated
Show resolved
Hide resolved
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.
Changes look good to me. Maybe just double check with @evanmoses-okta as well to make sure all his feedback is addressed too? Leaving an approval
🥇
8831491
e872836
to
e55ab68
Compare
6e84677
e55ab68
to
6e84677
Compare
6e84677
to
b8969d4
Compare
OKTA-737372 feat: adds new side navigation component for unified nav design add status pill, selected item, expand/collapse side nav options refactor, review comments, use odyssey tokens adds play interaction
732684
Summary
Testing & Screenshots
Video (07-02)
SideNav-0702.mov