Skip to content

Feat: Global search phase 3 #2035

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

Merged
merged 9 commits into from
May 15, 2023
Merged

Feat: Global search phase 3 #2035

merged 9 commits into from
May 15, 2023

Conversation

finnar-bin
Copy link
Contributor

  • Added ability to save 50 recent searches
  • Show top 5 recent searches on the global search dropdown
  • Remove a recent search keyword
  • If user-typed keyword exists as a recent search, show it as a recent search item

image
image

finnar-bin and others added 9 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: save search term from advanced search

* chore: add package-lock

* task: added cypress tests

* task: moved search term to a const variable
@finnar-bin finnar-bin requested review from shrunyan and agalin920 May 10, 2023 02:30
@finnar-bin finnar-bin self-assigned this May 10, 2023
@shrunyan shrunyan merged commit 2af4dde into master May 15, 2023
@shrunyan shrunyan deleted the feat/global-search-phase-3 branch May 15, 2023 19:57
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