-
-
Notifications
You must be signed in to change notification settings - Fork 801
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
Scene details page styling #4785
base: develop
Are you sure you want to change the base?
Scene details page styling #4785
Conversation
Can you please enumerate the changes made here and provide example screenshots? It's difficult for me to determine what is changed, and screenshots help illustrate the changes for others who can't/don't want to build it for themselves. |
Sure, I can do that in a bit. The pieces are currently scattered over Discord as I progressed, so it would understandably be difficult to follow for anyone who wasn't already tuned in. |
Updates currently made in this branchSynchronization between Scene, Gallery, and Image details pages and other details pages
Tab updates
Mobile improvements
Screen CapturesSetting options (it looks like the Image toggle is bugged and says Movie in the image) (this is fixed now): |
I'm thinking I'll refrain from pushing any more big updates to this branch until the direction of the content details pages is clearer. The following are my core motivations for pursuing this work:
In continuing this work for the core Stash repo, I'm flexible to make tweaks and adjustments that align with those motivations. |
In Qx's concept, it started with the arrows, but there was feedback that the arrows weren't as appealing when used in details tab. I think the arrows worked well in the settings sections because groups are clearly outlined and contain elements of various types (buttons, paragraphs, spans, etc), which isn't quite the case here. In the performer/studio/tags details page, the groups didn't need to be clearly distinguished because there was just one large group, which the button expanded and collapsed, The show more/show less button helps to act as a separator between the different groups. It also happens to be placed right where the user's eye would be if they were going through the displayed details and wanted to see more. And the button clearly explains exactly what will happen when pressed. |
My concern is mostly about not being able to see all the details without clicking "Show more" several times. I don't think details tab is a section where truncating make sense. By its name, I want to see all the details. Qx's arrow was overly big, but it can be minimized to look better. @randemgame example |
The common complaint about the scene/gallery page is that it attempts to pack in too much info into such a small section, which is why putting some limit on the max height of each section made sense. I can understand some users may never have been concerned about the density of the info provided in that section and would want to see everything by default. It probably makes sense for the Going back to the arrow discussion, I do think that implementation is much less intuitive here. The placement at the top is not intuitive in terms of how the eyes parse the information shown (as the user reads the details they shouldn't have to adjust their eyes up to hit the button and then adjust their eyes back down to continue), and the placement to the left makes it awkward if that section is small enough to where it doesn't need to be collapsed. Perhaps it was expected that the arrow would just always be there, even for small sections, and the sections would effectively just show all or nothing? But I don't think that a user would ever want to see nothing in any of those sections. In most cases, they want the info. They just don't want it to take up the full height of the viewport. |
The show more/show less button is only present when necessary (for abnormally long sections). When it isn't present, the placement at the bottom makes it very easy for the user to ignore that the button wasn't used for the section. |
This pull request is parallel to #4699. @WithoutPants as I mentioned, I initially started this work as a separate thing and only later pulled from some of what you've already done in your pull request, so for now, it was easier to create this as a separate pull request. Feel free to pull parts of this into your PR or this PR can replace yours.
Tab consolidation here, for now, was done by only pulling out the gallery and movies tabs. At a later point, we could look into merging the file and history tabs. The info details, tags, performers, and galleries tabs, by default, will have a limited container height to keep its contents from consuming too much space. In cases where the height of the container is limited, a show more button will be available to expand the section. The content fields in the details tab use a flexbox so users can rearrange the order via the
order
CSS property.