Skip to content

Redesign library navigation in experimental layout #6582

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

Merged
merged 2 commits into from
Apr 10, 2025

Conversation

thornbill
Copy link
Member

@thornbill thornbill commented Feb 25, 2025

Note

These changes only applies to the experimental layout

Changes

Library navigation has been moved to the header with the order following the user settings:
Screenshot 2025-03-31 at 11-38-41 Jellyfin

If there are too many views, then the remaining options go into a "More" drop down menu:
Screenshot 2025-03-31 at 11-38-05 Jellyfin

When viewing a library, the text for that button is highlighted. The library view options were moved to a drop down menu replacing tabs and the alignment of the pagination and view options were updated:
Screenshot 2025-03-31 at 11-39-26 Jellyfin

The primary objective for this was to reduce the amount of space wasted by the pinned sidebar in the experimental layout that causes a lot of layout issues on smaller screens.

The mobile header is unchanged.

Issues
N/A

@jellyfin-bot
Copy link
Collaborator

jellyfin-bot commented Feb 25, 2025

Cloudflare Pages deployment

Latest commit 7ca96fa
Status ✅ Deployed!
Preview URL https://0c268eaf.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

@sjorge

This comment was marked as outdated.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

@sjorge
Copy link

sjorge commented Mar 5, 2025

Nice, looks a lot better now.
Screenshot 2025-03-05 at 20 34 54

I know I'm being a bit pedantic here but the upper and bottom padding doesn't appear the same on firefox.

Edit: I think it's a weird firefox thing, it looks fine on safari

Firefox:
image

But here is a better view, it's 5px top vs 4px bottom.

Safari:
Screenshot 2025-03-05 at 20 43 13

Here it's nicely 4px by 4px shakes fist at firefox, this reminds me of the good old IE vs Phoenix vs Opera days.

@thornbill thornbill force-pushed the no-more-drawer-redux-part-2 branch from 96b3173 to e095b02 Compare March 11, 2025 21:43
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

@jellyfin-bot
Copy link
Collaborator

This pull request has merge conflicts. Please resolve the conflicts so the PR can be successfully reviewed and merged.

@thornbill thornbill force-pushed the no-more-drawer-redux-part-2 branch from 30a129d to 7df3142 Compare March 13, 2025 17:56
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ESLint doesn't pass. Please fix all ESLint issues.

@thornbill thornbill force-pushed the no-more-drawer-redux-part-2 branch from d5cdf77 to c5da93c Compare March 31, 2025 15:28
@thornbill thornbill added enhancement Improve existing functionality or small fixes ui & ux This PR or issue mainly concerns UI & UX and removed stale No activity for an extended length of time labels Mar 31, 2025
@thornbill thornbill marked this pull request as ready for review March 31, 2025 16:24
@thornbill thornbill requested a review from a team as a code owner March 31, 2025 16:24
@thornbill thornbill added this to the v10.11.0 milestone Mar 31, 2025
Copy link

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 25 out of 26 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • src/apps/experimental/AppOverrides.scss: Language not supported
Comments suppressed due to low confidence (1)

src/apps/experimental/features/libraries/constants/libraryRoutes.ts:168

  • Multiple views in the '/homevideos' route are marked as 'isDefault'. This could lead to ambiguity when determining the default view; consider ensuring only one default per route.
isDefault: true

@0xBA5E64
Copy link

0xBA5E64 commented Apr 5, 2025

I personally preferred the drop-down approach of yester-pull for switching between different libraries, especially considering the amount of libraries different users have may vary greatly and is done less frequently during navigation. I do however agree that the other section navigation options should be listed in full as done here.

Copy link
Member

@nielsvanvelzen nielsvanvelzen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not the biggest fan of the design but I don't have any better ideas right now. Approving for the sake of progression, further changes can always be made in new pull requests. It's called experimental for a reason!

@sjorge
Copy link

sjorge commented Apr 9, 2025

Been using it every now and then, it's a small step up from the current experimental IMHO.

In do miss the 1 click to get to dashboard from the old experimental though.

@thornbill thornbill merged commit d142c4d into jellyfin:master Apr 10, 2025
15 checks passed
@thornbill thornbill deleted the no-more-drawer-redux-part-2 branch April 10, 2025 21:54
@thornbill
Copy link
Member Author

It definitely won't be the final design (our design lead is working on a full redesign). It's just meant to address the layout issues caused by the pinned sidebar in the meantime. 😉

@thornbill thornbill added feature New feature or request and removed enhancement Improve existing functionality or small fixes labels Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request ui & ux This PR or issue mainly concerns UI & UX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants