Skip to content
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

Search by subject name #171

Closed
Tracked by #1574 ...
vinayvenu opened this issue Feb 6, 2024 · 9 comments
Closed
Tracked by #1574 ...

Search by subject name #171

vinayvenu opened this issue Feb 6, 2024 · 9 comments
Assignees

Comments

@vinayvenu
Copy link
Member

vinayvenu commented Feb 6, 2024

https://avni.freshdesk.com/a/tickets/3473

It will be useful to look at all media that belongs to a specific subject (search by name only). Say when a user wants to check how a water body has improved over time

AC:

  • Add a text box like in the image below before other fields appear.
Screenshot 2024-04-05 at 12 45 39 PM
  • Matching criteria for displaying of media of subjects:(similar to DEA Name search)
    • If a part(delimitor is space) of entered text match(case insensitive) with first name of subject or
    • If a part(delimitor is space) of entered text match(case insensitive) with middle name of subject or
    • If a part(delimitor is space) of entered text match(case insensitive) with last name of subject or
  • If the name entered matches(based on above matching criteria) with multiple subjects, display the media of all subjects
  • The application of the Name filter need to be applied concurrently(AND) with other selected filters, if any.
  • Note the release number assigned. Make sure to commit in the respective branch.

Technical details:

@mahalakshme
Copy link

@vinayvenu should this be done as part of 6.1.0 considering I ve prioritised supporting RQG in DEA for 7.1.0.

@vinayvenu
Copy link
Member Author

@mahalakshme did you mean 6.1.0?

@mahalakshme
Copy link

@vinayvenu sorry, I meant 7.1.0

@vinayvenu
Copy link
Member Author

@mahalakshme The original reason we wanted to pick this up is because DEA is not working for everyone yet and this was required urgently.

Also, we provide the ability to search by everything except name. Might as well add it. subject first and last names are already part of the media table, so we intended to do this, but did not complete it.

@mahalakshme
Copy link

@vinayvenu is this still relevant considering DEA display will now work with 9.0 release?

@vinayvenu
Copy link
Member Author

@mahalakshme based on my understanding, this is useful irrespective of whether DEA comes in. When you know specific subject names, you have an easy way of showing all images related to it. For example, you can get all the images of a water body taken over time in a single view.

@mahalakshme
Copy link

@vinayvenu I am convinced now. thanks for the reply.

@1t5j0y 1t5j0y self-assigned this Apr 5, 2024
1t5j0y added a commit to avniproject/avni-etl that referenced this issue Apr 10, 2024
1t5j0y added a commit that referenced this issue Apr 10, 2024
@AchalaBelokar
Copy link

  • Alignment of box should be similar to the other box , need to check the spacing between the boxes , Size of text is change in the subject name text box.
  • [ ]

@1t5j0y
Copy link
Contributor

1t5j0y commented Apr 12, 2024

Matching criteria requirement discussed in standup and changed to match case insensitive, space delimited, 'and' of tokens similar to avniproject/avni-etl#96 (and same as DEA)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants