nexmo-community / build-a-thing-video

A project being built live every two weeks at twitch.tv/vonagedevs
MIT License
3 stars 9 forks source link

Add pronouns field #26

Closed naomi-lgbt closed 3 years ago

naomi-lgbt commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

With the recent merges, usernames can now be displayed on the view screen. However, there is currently no option for a pronoun field.

Describe the solution you'd like A clear and concise description of what you want to happen.

Ideally, adding another input to the form and labelling it pronouns would be good - then modifying the code to concatenate the username and pronoun fields and assign it to displayName (instead of username) seems like a good approach.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Clarification could be added instead to allow it directly in the username field, though I am unsure what characters the sanitizeHTML function strips.

Additional context Add any other context or screenshots about the feature request here.