NIAID-Data-Ecosystem / nde-portal

Discovery platform to find NIAID-related datasets and tools
Apache License 2.0
4 stars 1 forks source link

Advanced search features #116

Open candicecz opened 2 years ago

candicecz commented 2 years ago

List of features to add to advanced search query builder:

  1. Metadata List

    • [x] Format properties
    • [x] Update descriptions where computational tool and dataset have overlap.
    • [x] Remove properties that we don't want to include.
    • [x] Searchbar for metadata fields
    • [x] Add metadata description for each item (where available)
    • [x] clear fields on submit/reset
  2. Input

    • [x] Custom input based on field type
    • [x] Add phrase suggester
    • [x] Remove predictive search for "all fields" - slow.
    • [x] Add stronger debounce for "all fields"
    • [x] Idea: Change "starts and ends with" to "contains"
    • [ ] Add validation to input
    • [ ] For multiple terms: "Did you mean to exact match these terms?"
    • [x] Enable exact and wildcard searches
    • [x] "Field exists" queries
    • [x] clear fields on submit/reset
  3. Drag and drop

    • [x] Thicker color strip
    • [x] Add type of search to tags. (i.e. wrap term in quotes for exact, use asterisks for wildcard) and add descriptor to tag above or below field ("exact", "contains", etc)
    • [x] Bold field in "Must contain [field] field"
  4. Other

    • [x] Make rawquery section area more obvious ( toggle should say "view", "hide" and should share background with rawquery to make associtation more obvious).
    • [x] Allow user to edit the raw query
    • [x] Add validation for raw query editing
    • [x] Display results count
gtsueng commented 1 year ago

The validation for input feature will be excluded until after UX test confirms that this feature will help more than it will harm