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

Global Search Phase 4: Schema searching #2047

Merged
merged 13 commits into from
Jun 1, 2023
Merged

Conversation

finnar-bin
Copy link
Contributor

  • Include schema models in top suggestions
  • Allow users to search schema medals via the ff:
    • Model name
    • Model ZUID
    • Model data type
    • User ZUID
  • Show models in the search page results
  • Add resource type filter functionality in the search page

Model name

image
image

Model ZUID

image

Model data type

image
image
image

User ZUID

image

User name

image

Search page results

Screenshot

Search page results filtered

Screenshot(1)

finnar-bin and others added 11 commits April 19, 2023 13:33
* task: added sortby filter

* task: rename sortby filter

* task: add user filter

* task: close menu on select

* task: add select highlight

* task: add date range to date filters

* task: set params for daterange filter

* task: set active filter text

* task: remove date filter

* task: pass active daterange value to daterange picker

* fix: fixed ts error
* task: added sortby filter

* task: rename sortby filter

* task: add user filter

* task: close menu on select

* task: add select highlight

* task: add date range to date filters

* task: set params for daterange filter

* task: set active filter text

* task: remove date filter

* task: pass active daterange value to daterange picker

* fix: fixed ts error

* - do not open a new tab when filters are added
- unpin specific tab when search queries are present
- show search keyword on tab name for the search page

* task: sort by function

* task: user filter

* task: background color update

* task: spacing fix

* task: date filter func

* task: updated result count

* task: fixed alignment

* task: added no results for filter
* task: added advanced search button

* task: added filter button

* chore: removed comment

* task: added advanced search modal

* task: fixed console errors

* task: fixed console error

* task: add form fields

* task: added tooltips
* task: added advanced search button

* task: added filter button

* chore: removed comment

* task: added advanced search modal

* task: fixed console errors

* task: fixed console error

* task: add form fields

* task: added tooltips

* task: created hook for advance search data

* task: moved search data to content search comp

* task: added clear all function

* task: wire user filter

* task: import types

* task: moved everything back into the advance search modal

* task: moved date config to a separate file & added daterange modal

* task: added date handling for single date picker

* task: daterange handler

* task: wired advance search page

* task: wired advance search function

* task: spacing and color update

* fix: fixed search button not enabling

* task: added cypress test scenarios

* task: search page cypress tests

* task: advance search modal cypress tests

* task: added data-cy

* task: updated cy get chaining

* fix: height fix for the counter

* task: added tooltips and changed date filter to modified at

* task: vqa updates

* task: adjusted border radius
* task: always open the dropdown on click

* task: add recent searches hook

* task: add recent searches to dropdown

* task: created separated component for global search items

* task: updated subheader style

* task: padding updates

* task: cleanup

* task: unfocus textfield when user selects an item

* task: always show user typed value

* task: removed comment

* task: wire remove recent search

* task: save a max of 50 recent search items

* task: when user keyword exists as a saved recent search, render it as a recent search

* task: hide suggestions when no user-typed keyword is present

* task: fixed incorrect icon

* task: remove manual JSON.parse/stringify

* task: removed deep cloning
* task: added resource type filter

* task: updated tooltip text

* task: add resource type filter component in search page
* task: created util to get content title

* task: changed how content result is being taken

* task: created filtered models hook

* task: show models in top suggestions

* task: moved getting icon to utils

* task: added model type keyword matching

* task: changed model search hook

* task: update comment

* chore: added hook description

* task: search models via user zuid

* task: allow searching models via user name

* task: changed how data is taken from rtk query

* task: show models in search page results

* task: render model list item

* task: wire resource type filter

* task: cleanup

* task: added icons to dropdown options
@finnar-bin finnar-bin self-assigned this May 26, 2023
@finnar-bin finnar-bin marked this pull request as ready for review May 28, 2023 22:20
@shrunyan shrunyan merged commit dba6758 into master Jun 1, 2023
@shrunyan shrunyan deleted the feat/global-search-phase-4 branch June 1, 2023 17:35
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.

Global Search: UX Overhaul and added ability to search schema, media, and code
3 participants