-
Notifications
You must be signed in to change notification settings - Fork 16
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
UI suggestion: Sort M/F or F/M #11
Comments
@chrisaldrich Thanks for the suggestion! Great idea. I'm noodling on this and will post some options here soon. |
I added some initial markup and styling for a sorting feature here: https://github.com/lynnandtonic/hollywood-age-gap/blob/sorting/src/views/templates/index.jade#L39-L45 I was thinking three options:
For the "Older man" it would sort cards in the following order:
Same idea for "Older woman". Calculations would need to account for same gender couples too. Does that seem like a good approach? @JasonRose Would love your thoughts here too! |
This should work. implementing the other sorts shouldn't be an issue. |
Some things have changed for this and the markup is here now: https://github.com/lynnandtonic/hollywood-age-gap/blob/sorting/src/views/templates/index.pug#L39-L45 |
Given the prevalence of older men with younger women and the fact that currently the largest gap is actually a MUCH older woman and a younger man, it would be interesting if the sort could be done on a gender basis with the +# indicating one direction and a -# indicating the reverse. This way one could more easily emphasize the larger M/F gap and the way in which it skews. It would also more easily highlight the far fewer cases in which women exceed men in age.
The text was updated successfully, but these errors were encountered: