-
Notifications
You must be signed in to change notification settings - Fork 11
Some improvements to table columns (occurrence and species) #429
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
Conversation
✅ Deploy Preview for ami-web ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for ami-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Let me know what you want to do this with @mihow. I'm fine with reverting moving verification status to score column if you feel we should do some more thinking here and we can just keep the 3 other tweaks :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it let's try it!


Some tweaks to species and occurrence table after feedback from Lars! Also including some related tweaks. See the changes in this PR as a suggestion! :)
Summary of changes
Notes
In order to show the correct "agreed" status in table view, user info details has also been made globally available from a context as part of this PR. This makes it possible for us to easily access user info from any component in app, without having to refetch it. This behaviour can in general also be achieved by react query cache, but for user info I think it makes sense to put it in a context. This hook has some special auth behaviour I don't want to mess with.
Screenshots
Before:
After: