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

Allow users to set and update their profiles #134

Open
braid-sync opened this issue Jun 28, 2018 · 2 comments
Open

Allow users to set and update their profiles #134

braid-sync opened this issue Jun 28, 2018 · 2 comments

Comments

@braid-sync
Copy link

braid-sync commented Jun 28, 2018

A task for new Braid contributors.

Goal:
Allow users to include some brief profile text. On their profile preferences page, show their profile and allow for editing it (a freeform text area). Include the description in user hover-cards.

Alternatively, allow admins to define certain fields that they want from their users, and show multiple input fields for the user.

Notes:

  • Should be implemented as a separate module
  • braid.stars is a good reference for how to do modules
  • braid.core.api already has a number of hooks that may be useful, but a few new ones may need to be added
@afleck
Copy link
Contributor

afleck commented Jun 13, 2020

I'm imagining a hook in braid.core.api that's something like register-user-profile-item!. Perhaps this would be a good opportunity to separate all the functionality in braid.core.client.ui.views.pages.me into a module? That way if we wanted to add a new field, like pronouns (#195) it would just be a matter of adding a new module

@rafd
Copy link
Member

rafd commented Jun 13, 2020

Sounds good on both points. You can look to the other modules to see how they work. The hook could also be exposed by the new module rather than core, but I'll leave it you to decide.

@afleck afleck mentioned this issue Jun 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants