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 "Other" as a third option for gender #3815

Open
PierreMesure opened this issue Nov 4, 2019 · 7 comments
Open

Add "Other" as a third option for gender #3815

PierreMesure opened this issue Nov 4, 2019 · 7 comments
Assignees

Comments

@PierreMesure
Copy link
Collaborator

PierreMesure commented Nov 4, 2019

User Story

  • As a user, I want to have my gender set to "Other", either by the census or manually.
  • As an admin, I want to be able to see which proportion of my users are gender non-conforming.

Why is this Needed?

More and more countries and cities recognise the possibility of citizens to define themselves as something else than male or female.

Description

Type: Feature

I suggest we start by simply adding the category "other" in the database and the user model. A more advanced implementation could follow if the need is expressed.

Definition of Done

  • Add other to the model for a user
  • Add it in all the statistics page
@gabrielbaldao
Copy link

Can i contribute with this feature?

@javierm
Copy link
Member

javierm commented Dec 10, 2019

@gabrielbaldao Sure, go ahead! 😄

Regarding statistics, one possible implementation would be to show statistics for the genders defined in the database 🤔. This way they would work on every CONSUL installation, no matter which genders are defined.

@gabrielbaldao
Copy link

gabrielbaldao commented Dec 11, 2019

Thanks @javierm, looking here I was wondering about change this
scope :male, -> { where(gender: "male") } to enumerize gem, what do you think? if you agree with this, can i open a new pr to improve this?
and how do you think it is best to show this information?

@javierm
Copy link
Member

javierm commented Dec 11, 2019

The enumerize gem looks interesting 😄. We might add it in the future if it simplifies the code a lot, but for now I'd try to implement this feature without adding a new dependency. We try not to add too many extra dependencies so we don't end up with hundreds of gems in our Gemfile, making it even harder to keep them up to date.

Regarding the places to display the information, maybe we could start by adding an "other" gender to budgets/polls stats when there are users with other genders in the database:

Stats by gender, showing male and female participation

@gabrielbaldao
Copy link

Right, I agree with this, for this I sayed about do in another pr, but I was having problems to find this page.
Do you suggest some image to show this another gender?

@javierm
Copy link
Member

javierm commented Dec 12, 2019

Regarding icons, @decabeza is the one in charge 😄. @decabeza any suggestions about an intersex/other icon?

@javierm
Copy link
Member

javierm commented Mar 27, 2020

@gabrielbaldao @PierreMesure I'd like to ask your opinion about a couple of things I'm considering.

  1. Which word should we use? Is "other" OK? Is "nonbinary" better? Or maybe "intersex"? Right now I prefer "nonbinary", but I'm not an expert on this topic so I don't have a strong opinion.
  2. In the stats, I'd vote for only displaying this gender if there are any participants in this group; it doesn't make much sense to me to display it in CONSUL installations where citizens can only be defined as either "male" or "female" 🤔

What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants