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

Implement user pronouns #6

Open
diamondburned opened this issue Apr 25, 2023 · 0 comments
Open

Implement user pronouns #6

diamondburned opened this issue Apr 25, 2023 · 0 comments
Labels
difficulty-medium Issues/features that are not very straightforward but not too complicated. enhancement New feature or request

Comments

@diamondburned
Copy link
Owner

It would be nice if users can have custom pronouns, such as "username (they/them)".

A few things would need to be changed for this. Thankfully, they're all on the frontend.

  • Attributes are translated from <form> inputs. See Settings.svelte#L87. A pronouns field would be an <input type="text">. A <label> is needed too.
  • The author is displayed in Event.svelte#L51. A new <span class="pronouns"> tag must be added inside the <span class="author"> tag. Make sure to check for the attribute: {#if event.author.attributes.pronouns}.
@diamondburned diamondburned added enhancement New feature or request difficulty-medium Issues/features that are not very straightforward but not too complicated. labels Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty-medium Issues/features that are not very straightforward but not too complicated. enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant