-
Notifications
You must be signed in to change notification settings - Fork 887
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
User playlists as grid #4949
User playlists as grid #4949
Conversation
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…at/user-playlists-as-grid
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…at/user-playlists-as-grid
Conflicts have been resolved. A maintainer will review the pull request shortly. |
54d333b
to
8843c46
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…at/user-playlists-as-grid
Conflicts have been resolved. A maintainer will review the pull request shortly. |
4ae9af9
to
8a89024
Compare
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…at/user-playlists-as-grid
Conflicts have been resolved. A maintainer will review the pull request shortly. |
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
…at/user-playlists-as-grid
Conflicts have been resolved. A maintainer will review the pull request shortly. |
Didnt look at the code but just putting this here as a friendly reminder to include in the PR |
Yes, that's included in the merge commit |
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.
Like it a lot better now, thank you. Just one small thing, we probably don't need the PLAYLIST_HEIGHT_FORCE_LIST_THRESHOLD
stuff anymore now that the bar shrinks when you scroll.
I kept that because it's at a height where only one row of content is displayed. Any smaller, and the top bar occludes the main content too much (in the edge case of someone with a wide but short window). |
In that case we can leave it in, if it were to caus issues for actual mobile users, it's not a hard thing to remove later on. I just thought I would mention it as it was added in response to one of my comments but didn't actually solve the issue (that was solved by collapsing the pinned content on scroll) and didn't seem particularly useful. |
That's fair. I kept it in a lower breakpoint than the original because I noticed the main content was inaccessible at a small enough height, but I never actually stated that explicitly, so I think that's fair to call out for sure. |
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
Not blocking
If it's too difficult to implement then it's fine to have this merged first |
I think it's doable, but the reason I prefer showing the action buttons is because you know what playlist you're looking at when you first land on it and most likely don't need a reminder, but you could gain from being able to do actions from any scroll level without having to scroll back up. |
With multi-window I found it not quite the case for |
Updating the window title to match the current playlist sounds like a good idea. I can do that in the same PR or a separate one, whichever you prefer. Edit: 4154b64 |
Lets not push this back any further. Jason already created a separate PR so lets merge this :) |
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.
Potential merge conflict incoming~
* development: Update playlist name with title (FreeTubeApp#5150) User playlists as grid (FreeTubeApp#4949) Add custom webpack loader to remove unused mimetypes from mime-db (FreeTubeApp#5148) ^ Update GH action eps1lon/actions-label-merge-conflict (FreeTubeApp#5034) Translated using Weblate (Italian) Translated using Weblate (Serbian) Translated using Weblate (Estonian) Translated using Weblate (Bulgarian) Translated using Weblate (Spanish) Translated using Weblate (Italian) Translated using Weblate (Polish) Translated using Weblate (Portuguese (Brazil)) Translated using Weblate (French) Translated using Weblate (Chinese (Traditional)) Translated using Weblate (Chinese (Simplified)) Fix gap next to banner when Hide Side Bar Labels is enabled (FreeTubeApp#5120)
smh why i didnt test for this...... FreeTube_Zqg3y4oJ1G.mp4 |
User playlists as grid
Pull Request Type
Related issue
closes #4708
Description
Screenshots
Note: picture is now outdated (missing Add to Playlist & Remove from Playlist icons, as well as "Sort by" added in other PR)
Testing
ft-refresh-widget
Desktop
Additional context
Implements the "fixed top bar" as a mixin that we can reuse if we want to make any other top sections fixed.