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

Add Gender Icons to Performers #2179

Merged

Conversation

kermieisinthehouse
Copy link
Collaborator

Closes #434

This adds gender icons to the performer grid and detail pages. Gender types are i18n'd now, the code is adapted from stash-box.

Performer grid:
Screenshot from 2021-12-28 23-39-28
Screenshot from 2021-12-28 23-39-46

Performer detail:
Screenshot from 2021-12-28 23-40-18

@kermieisinthehouse kermieisinthehouse added improvement Something needed tweaking. ui Issues related to UI labels Dec 29, 2021
@kermieisinthehouse kermieisinthehouse added this to the Version 0.13.0 milestone Dec 29, 2021
@WithoutPants
Copy link
Collaborator

The gender icon should not be shown if gender is not set.

@kermieisinthehouse
Copy link
Collaborator Author

StashDB shows the the same thing if it's unset, although I can blank it out with no issue

@WithoutPants
Copy link
Collaborator

StashDB shows the the same thing if it's unset, although I can blank it out with no issue

I can't comment on the stash-box decision, but at least for personal use, I don't think the icon gives more or better information when gender is unset that wouldn't be conveyed by just omitting the icon, and in my opinion is cleaner.

@WithoutPants
Copy link
Collaborator

Also, please add a classname to the gender icon control so that it can be manipulated via css.

@kermieisinthehouse
Copy link
Collaborator Author

Fixed both :)

@WithoutPants WithoutPants merged commit 1714efc into stashapp:develop Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Something needed tweaking. ui Issues related to UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add Gender to the performer grid view
2 participants