Skip to content
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

Details pages start with populated content tab #4032

Merged
merged 2 commits into from
Aug 24, 2023

Conversation

yoshnopa
Copy link
Contributor

This has bothered me for a while, and I think there was also a ticket once, but not by me and I was not able to find it.

This Commit simply makes it that if you open the details page of a tag, a studio or a performer, instead of always showing the scenes of this organization unit, it will check whether it even has a scene to begin with. If there isn't one, it will show the first thing it has, going through the available media types from left to right (so for example performer will default to scene->gallery->image->movie). If there is simply no media associated with this organization unit, it defaults to scene again to minimize impact in general.
The only exceptional thing here would be the studio details page, which has the childrens as a tab. These are handled as if they were a media type, and will become the default tab if no other media is associated with the studio.

I think this is a pretty uncontroversial commit, but if there are questions don't hesitate to ask.

It will (hopefully) make life easier for people managing more diverse kinds of media types with stash.

@WithoutPants WithoutPants added the improvement Something needed tweaking. label Aug 24, 2023
@WithoutPants WithoutPants added this to the Version 0.23.0 milestone Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something needed tweaking.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants