Skip to content

Add filtering options for Taxa Lists #745

Description

@mihow

Summary

Add a select box for Taxa Lists that belong to the project in the Taxa & Occurrences views. This will require adding some data to the API serializer as well.

Detailed Description

We have a Taxa List model with a many2many relationship with the Taxon model however it is not being utilized by or exposed to users. This is will be used for "species of interest" feature.

Implementation Details

...

Additional Context

...

Activity

  1. annavik commented on Mar 10, 2025

    @annavik
    Member

    On the frontend side, this is what we would would need to know before we can start add UI controls:

    • How do we fetch filter options for taxa lists?
    • How do we pass a selected taxa list as a filter setting when fetching data?
    • Should it be possible for a user to select one or may options here?

    Happy to discuss this when we are ready! :)

  2. annavik commented on Mar 10, 2025

    @annavik
    Member

    If we want multi select, we need add a new component type to Nova and I would consider this a M task instead of S.

  3. mihow commented on Mar 10, 2025

    @mihow
    CollaboratorAuthor

    Thanks @annavik!

    Also let's start thinking about ways to add a Taxon to a list. From the Taxon pages, perhaps you can add taxa to lists using similar components we use for identifying Occurrences?? At least from the Taxon detail page to start. For this PR we can start by using the Django admin to manage lists.

  4. annavik commented on Mar 10, 2025

    @annavik
    Member

    Sounds great, thank you M! I agree about handling list management from UI as a separate task.

    @mohamedelabbas1996 I think the frontend updates will be straight forward here, I suggest we start when the backend endpoints are in place to use our time more efficiently! :)

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions