-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
feat(web): expand/collapse sidebar #16768
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
Deploying preview environment to https://pr-16768.preview.internal.immich.cloud/ |
- add skip link unit test - remove unused tailwind styles - adjust asset grid spacing - fix event propogation
cc0b286
to
ec9a70c
Compare
Looks like the menu items only work once and then they seem to only trigger closing the sidebar (on mobile at least) |
Nice catch @jrasm91, looks like one of the event handlers wasn't being removed properly. It's now fixed in the preview deployment! |
This comment was marked as outdated.
This comment was marked as outdated.
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.
Very nice!
db3fd4d
to
03137d4
Compare
12358b8
to
568a049
Compare
…/responsive-sidebar conflict: navigation-bar.svelte
This changes the appearance of the account info panel and moves the dark mode button into the account info panel, which sounds like they might not be desired changes at this time. Let me know if these need to be adjusted, I'm also watching for conversation on #16838. Edit: I reverted the changes to the top nav icons and account info panel. |
…/responsive-sidebar conflict: purchase-info.svelte
…/responsive-sidebar
a5b949d
to
f298087
Compare
…/responsive-sidebar conflict: asset-grid.svelte
…/responsive-sidebar Folding @midzelis top nav changes into the expand/collapse sidebar. conflicts: user-page-layout.svelte navigation-bar.svelte side-bar-section.svelte
…/responsive-sidebar
…/responsive-sidebar
Thank you <3 sorry for the hassle! |
* feat: expand/collapse sidebar * fix: general PR cleanup - add skip link unit test - remove unused tailwind styles - adjust asset grid spacing - fix event propogation * fix: cleaning up event listeners * fix: purchase modal and button on small screens * fix: explicit tailwind classes * fix: no animation on initial page load * fix: sidebar spacing and reactivity * chore: reverting changes to icons in nav and account info panel * fix: remove left margin from the asset grid after merging in new timeline * chore: extract search-bar changes for a separate PR * fix: add margin to memories
* feat: expand/collapse sidebar * fix: general PR cleanup - add skip link unit test - remove unused tailwind styles - adjust asset grid spacing - fix event propogation * fix: cleaning up event listeners * fix: purchase modal and button on small screens * fix: explicit tailwind classes * fix: no animation on initial page load * fix: sidebar spacing and reactivity * chore: reverting changes to icons in nav and account info panel * fix: remove left margin from the asset grid after merging in new timeline * chore: extract search-bar changes for a separate PR * fix: add margin to memories
Description
Adding a collapsible sidebar with a hamburger menu for all breakpoints smaller than Tailwind
md
.Benefits include:
Also in this change:
@immich/ui
components, for consistent spacing and look.How Has This Been Tested?
Screenshots
New account info panel
Sidebar expanded, phone size
Persistent sidebar, tablet size
Purchase options, phone size
Checklist: