-
Notifications
You must be signed in to change notification settings - Fork 0
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: 1629 collapse navigation #1796
base: main
Are you sure you want to change the base?
Conversation
@mgaseta it's working nicely! Is it possible to default to showing the panel? |
I can try it |
…par into feat/1629-collapse-navigation
Nice @mgaseta! I just tested the panel and its working great :) |
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.
LGTM 💯
render={({ isSideNavExpanded, onClickSideNavExpand }: HearderContainerProps) => ( | ||
<Header | ||
aria-label={componentTexts.completeTitle} | ||
className="spar-header" | ||
className={`spar-header ${!isSideNavExpanded ? 'spar-header-expanded' : ''}`} |
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.
nit: {
spar-header ${!isSideNavExpanded && 'spar-header-expanded'}}
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.
Fixed here: 1810578
inert={undefined} | ||
className="spar-side-nav" | ||
onClick={isSideNavExpanded ? onClickSideNavExpand : null} | ||
className={`spar-side-nav ${!isSideNavExpanded ? 'spar-side-nav-expanded' : ''}`} |
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.
same here
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.
Fixed here: 1810578
Description
Closes #1629
Changelog
New
Changed
Removed
How was this tested?
What gif/image best describes this PR or how it makes you feel?
Thanks for the PR!
Deployments, as required, will be available below:
Please create PRs in draft mode. Mark as ready to enable:
After merge, new images are deployed in: