Skip to content

Conversation

annavik
Copy link
Member

@annavik annavik commented Jun 25, 2025

Summary

In this PR, we cherry pick some UI updates from the OOD PR. Main focus is on updates to different taxa views, but we also include some other tweaks. The tags will be included as a separate PR.

List of Changes

  • Add new columns to taxa table
    • Cover image ⏳ (needs backend in follow up)
    • Last seen ✅
    • Created at ✅
    • Updated at ✅
  • Make it possible to modify what columns to display in taxa view ✅
  • Update taxa gallery to show reference images ✅
  • Add new filters to taxa view
    • Best score threshold ✅
    • Show unobserved taxa ✅
  • Update taxon details view
    • Show reference image ✅ (see cover image change)
    • Show last seen ✅
    • Show best score ✅
    • Update how occurrence count and links are presented ✅
    • Present links to external references (GBIF and Fieldguide) ⏳ (needs backend in follow up)
  • Streamline how scores are presented
    • If score is not defined, show n/a instead of 0 ✅
    • Show compact score with same number of decimals (2) in all places ✅
    • Show full score on hover ✅
  • Update taxa search
    • Include reference images in search results ✅ (see cover image change)
    • Make it possible to suggest ID without leaving list view ✅

Detailed Description

How to Test the Changes

The changes only includes UI updates. They need to be tested with a backend that is supporting updated fields and filtering (currently this means the OOD backend).

Screenshots

List view before vs. after:
Screenshot 2025-06-25 at 14 27 43
Screenshot 2025-06-25 at 14 37 02

Detail view before vs. after:
Screenshot 2025-06-25 at 14 27 53
Screenshot 2025-06-25 at 14 26 45

Copy link

netlify bot commented Jun 25, 2025

Deploy Preview for antenna-preview ready!

Name Link
🔨 Latest commit d9ea12c
🔍 Latest deploy log https://app.netlify.com/projects/antenna-preview/deploys/6866c3f9632316000848bc60
😎 Deploy Preview https://deploy-preview-888--antenna-preview.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: 75 (🔴 down 5 from production)
Accessibility: 89 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

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

@annavik annavik force-pushed the feat/taxa-view-updates branch from 004220d to 3005c5c Compare June 25, 2025 12:41
@annavik annavik requested a review from mihow June 25, 2025 19:26
@mihow
Copy link
Collaborator

mihow commented Jun 25, 2025

@mihow Test this with the current backend and merge all required changes.

@annavik
Copy link
Member Author

annavik commented Jul 1, 2025

Last time we spoke, this was the plan we agreed on if I remember it correct @mihow.

Update plan:

  1. Cherry-pick backend changes needed to this PR (Michael)
  2. Test frontend and backend updates together locally
  3. Merge and deploy both backend and frontend updates
  4. Update prod DB with Anna's taxa list (more species, reference images, etc.)

Next steps:

  1. Branch out from main and cherry-pick tag commits. Include tag feature as part of main code base, but behind a feature flag. Merge and deploy.
  2. Sync OOD branch with main, so we can keep this environment in sync in future.

mihow added 3 commits July 2, 2025 12:24
* feat: generic ThresholdFilter for OOD and determination scores

* docs: update openAPI schema docs with new filters for occurrence list
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.

Tested together and everything is working that needs to work! Thank you for teasing out all of these features @annavik.

@mihow mihow merged commit 1637c32 into main Jul 3, 2025
8 checks passed
@mihow mihow deleted the feat/taxa-view-updates branch July 3, 2025 18:19
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.

2 participants