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

Account Switcher #5

Open
3 tasks
weisintai opened this issue Oct 21, 2023 · 1 comment
Open
3 tasks

Account Switcher #5

weisintai opened this issue Oct 21, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@weisintai
Copy link
Collaborator

weisintai commented Oct 21, 2023

For users to switch between accounts.

  • Can have just one section for users to switch accounts with, no need to follow the reference strictly.
  • Change "Create Team" to "Create Account" and implement the Create Account feature.
  • Add isDefault field for users to select which account they want to see by default, the current implementation is just grabbing the first result the database returned.

Zustand is used to manage the global state on client side to store the currently selected account, when the user select an account, should invoke the "changeAccount" function from the store and everything should react from there.

Image

@weisintai
Copy link
Collaborator Author

weisintai commented Oct 21, 2023

D

@weisintai weisintai added the enhancement New feature or request label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants