-
-
Notifications
You must be signed in to change notification settings - Fork 803
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
[RFC] Revamp scene page #562
[RFC] Revamp scene page #562
Conversation
TODO: remove tsx files that are now redudant |
I like most of the changes. The only thing that feels weird for me is the operations that seems hidden ( i think it's just because i was used to seeing it in its old position. the ... vs operations doesn't help also. Maybe add to details as buttons next to/ above / below save delete? ) |
Huge improvement.
|
Great work, it's a huge improvement I think. I do have some feedback though:
|
In the xl view:
In non-xl view:
In mobile view:
I have also added Delete Scene to the operations drop down menu. I considered removing Delete from the Edit tab, but I think this will confuse users, and there's little harm keeping it there. Having it in the operations dropdown means you don't need to change tabs to delete a scene. To address some things that weren't covered above: @echo6ix - I think that the details panel probably needs another pass over for improvement, but I'm hesitant to mess with it further within the scope of this PR. I think that the date, rating and resolution fields need further refinement, but I don't have any particular ideas at this point. I agree with including the URL somewhere there, but I think I'll push that out to another PR. @InfiniteTF - re: video size in mobile view. The layout for the video player has been a bit of a PITA to deal with. For larger views, I wanted it to fill the available height space while leaving room for the scrubber at the bottom. This means setting the jwplayer dimensions manually to 100%, rather than letting it autosize it to the dimensions of the playing video. This does mean that on mobile views, the dimensions are similarly auto-sized. I haven't been able to get it to use the aspect ratio in mobile view, while using a fixed dimension for the larger view. IMO the mobile view looks fine as is, but I understand it's subjective. If you can figure out a way around it, I'm happy to put it in, but I've had no luck so far. @bnkai I moved operations to the ellipsis dropdown primarily to save space. It seemed wasteful to have an entire tab to provide two buttons. I think it makes for a cleaner interface, but again it's a bit subjective. |
The following style inside
The 56.25% padding forces the ratio of 16/9 essentially. Also, the flag overlaps a bit so I would add |
This issue with the old behaviour was that it was possible for the video player to be taller than the viewport height, and that's the behaviour that I got when I put that I put the above CSS in. Setting the |
Right, the padding isn't constrained by the height. If you change |
|
Fixes #575 |
From a first test everything seems ok. |
* Don't show scrubber on small height device * Move operations into ellipsis menu * Hide scrubber in mobile devices * Add delete scene to operations drop down * Remove redundant panels * Fix video height on smaller devices * Adjust player aspect ratio for portrait videos
My primary goal for this was to fix an annoyance I had when reviewing and adding info to multiple scenes. Having to scroll away from the video to enter tags and performers was annoying.
Inspiration for this change comes from this comment in #108
Summary of changes:
** show the scene title and studio logo above the tabs on large screens
This is a highly subjective change, so feedback is welcomed. If this change is too contentious, I can look at a popout button to toggle between the left-docked and bottom views.
Screenshots:
(large screen)
(smaller screen)
(smallest before scrubber is removed)
(scrubber removed when viewport height < 450px)
(operation dropdown)