Skip to content

Conversation

@annavik
Copy link
Member

@annavik annavik commented Jun 14, 2024

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:

Skärmavbild 2024-06-14 kl  11 47 26
Skärmavbild 2024-06-14 kl  11 47 15

After:

Skärmavbild 2024-06-14 kl  11 46 29
Skärmavbild 2024-06-14 kl  11 46 46

@netlify
Copy link

netlify bot commented Jun 14, 2024

Deploy Preview for ami-web ready!

Name Link
🔨 Latest commit b16a120
🔍 Latest deploy log https://app.netlify.com/sites/ami-web/deploys/667113f72d21b40008ad54f2
😎 Deploy Preview https://deploy-preview-429--ami-web.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 70
Accessibility: 95
Best Practices: 92
SEO: 92
PWA: 70
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Jun 14, 2024

Deploy Preview for ami-storybook ready!

Name Link
🔨 Latest commit b16a120
🔍 Latest deploy log https://app.netlify.com/sites/ami-storybook/deploys/667113f72af90500076076fb
😎 Deploy Preview https://deploy-preview-429--ami-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@annavik
Copy link
Member Author

annavik commented Jun 17, 2024

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 :)

@annavik annavik requested a review from mihow June 17, 2024 08:46
@annavik annavik self-assigned this Jun 17, 2024
@annavik annavik added this to the Internal Beta V2 Release milestone Jun 17, 2024
Copy link
Collaborator

@mihow mihow left a 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!

@mihow mihow merged commit c5052b3 into main Jun 18, 2024
@mihow mihow deleted the improvement/score-column branch June 18, 2024 05:09
@mihow
Copy link
Collaborator

mihow commented Jun 18, 2024

After merging I noticed that we could add the same score component to the Species table as well!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show quick actions even though we have verification by human

3 participants