oss-aspen / 8Knot

Dash app in development to serve open source community visualizations using GitHub data from Augur. Hosted app: https://eightknot.osci.io
MIT License
51 stars 60 forks source link

push admin groups query to client startup #341

Closed JamesKunstle closed 1 year ago

JamesKunstle commented 1 year ago

app-level defaults such as the groups that the admin user creates should be available to the user regardless of whether they have logged in.

This change moves the initial query for these groups to occur when the user first starts the application. They are also re-queried if the user signs in and requests to 'Refresh Groups' or if they restart the client from scratch.

This is a stop-gap implementation of this feature- in the future, we'll have a more refined login flow.