Skip to content

Conversation

annavik
Copy link
Member

@annavik annavik commented May 15, 2025

In this PR we add a dedicated filter control for unknown species. We also extend the backend filtering with this new query param.

This is how I suggest we present it, let me know if you have feedback on copy!
Screenshot 2025-05-15 at 14 53 56

Copy link

netlify bot commented May 15, 2025

Deploy Preview for antenna-preview ready!

Name Link
🔨 Latest commit 5c2adb5
🔍 Latest deploy log https://app.netlify.com/projects/antenna-preview/deploys/6826acc7fa1bf500083dc9ae
😎 Deploy Preview https://deploy-preview-850--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: 74 (🔴 down 6 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.

Copy link

netlify bot commented May 15, 2025

Deploy Preview for antenna-ood ready!

Name Link
🔨 Latest commit 5c2adb5
🔍 Latest deploy log https://app.netlify.com/projects/antenna-ood/deploys/6826acc781b360000876221e
😎 Deploy Preview https://deploy-preview-850--antenna-ood.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 project configuration.

@annavik annavik requested a review from mihow May 15, 2025 12:59
@annavik annavik changed the title Add unknown species filter control to UI Add unknown species filter control to UI (+ update backend to support this filter) May 15, 2025
@annavik annavik changed the title Add unknown species filter control to UI (+ update backend to support this filter) Add unknown species filter control May 15, 2025
@mihow
Copy link
Collaborator

mihow commented May 16, 2025

What do you think about using this as a catch-all filter component for fixed value queries? the current ones I'd like to use are:

  • include unobserved
  • missing reference image
  • unknown species
  • known species (optional)
  • has disagreement (for the occurrences table)

return queryset


class TaxonUnknownSpeciesFilter(filters.BaseFilterBackend):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work implementing this filter! This follows all of my favorite conventions.

@mihow mihow merged commit 247e738 into deployments/ood.antenna.insectai.org May 16, 2025
6 checks passed
@mihow mihow deleted the feat/unknown-species-filter branch May 16, 2025 03:13
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