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, filtering and sorting of projects, documents and annotation #58

Open
18 tasks
twinkarma opened this issue Jun 19, 2021 · 2 comments · Fixed by #72
Open
18 tasks

Search, filtering and sorting of projects, documents and annotation #58

twinkarma opened this issue Jun 19, 2021 · 2 comments · Fixed by #72
Assignees
Labels
enhancement New feature or request

Comments

@twinkarma
Copy link
Collaborator

twinkarma commented Jun 19, 2021

Basic search and pagination is implemented in #72. Currently on the project page it is searching project name and for documents it's only searching for ID.

After user testing, it'd be good to specify what properties should be searchable which would be useful to the user. Create a separate widget for each type of search/filter, eg. text field for name and date range for created dates.

Searching contents of documents and annotation

Ideally it would be best if we allow the user to search the content of any field inside document and annotation. This should be relatively easy with a simple string field but how best to handle arrays and dictionaries?

@twinkarma twinkarma self-assigned this Aug 3, 2021
@twinkarma twinkarma changed the title Search and pagination of projects list Search and pagination of projects, documents and annotation Aug 5, 2021
@twinkarma twinkarma linked a pull request Aug 6, 2021 that will close this issue
@twinkarma twinkarma added the enhancement New feature or request label Oct 21, 2021
@davidwilby
Copy link
Contributor

Include:

  • searching for annotations of a given type, eg all of the annotations that are annotated as 'neutral'
  • Search by user.

@twinkarma twinkarma changed the title Search and pagination of projects, documents and annotation Search and sorting of projects, documents and annotation May 30, 2022
@twinkarma twinkarma changed the title Search and sorting of projects, documents and annotation Search, filtering and sorting of projects, documents and annotation May 30, 2022
@twinkarma
Copy link
Collaborator Author

I'm leaning towards supporting search syntax (e.g. similar to google or github search, use from:2021-01-1 to search for items starting from that date) instead of creating various different UI widgets for filtering different things.

It would then be possible to string together a relatively complex query like from:2020-01-01 annotation:label1:neutral -annotation:lable2:positive to find something from 1st Jan 2020 where label 1 is neutral and label 2 is not positive.

What does everyone think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants