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

Store user current organization #767

Open
dpgraham4401 opened this issue Aug 5, 2024 · 0 comments
Open

Store user current organization #767

dpgraham4401 opened this issue Aug 5, 2024 · 0 comments
Labels
client Related to front end workings (React/Redux) enhancement New feature or enhancement

Comments

@dpgraham4401
Copy link
Member

🚀 Feature Request

Recently we added the endpoint to view all organization a user has access to, and the ability for users to select an organization and hold that state as a query parameter.

Currently, the front end queries the users orgs and sets the current org to the first one in the list by default. We would like to, instead, allow users to select an org and have org selected on new tabs, or upon refresh.

options

  • Update the database when a user makes a selection
  • Store the users preference in their local storage.

I'm partial to the second option. It means the selection is local to the browser/client, but that's ok.

This feature was inspired by the project setting in Google cloud console which uses a GraphQL call so save this state.

@dpgraham4401 dpgraham4401 added the enhancement New feature or enhancement label Aug 5, 2024
@dpgraham4401 dpgraham4401 added the client Related to front end workings (React/Redux) label Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
client Related to front end workings (React/Redux) enhancement New feature or enhancement
Projects
Development

No branches or pull requests

1 participant