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

SearchKit - Improve search listing UI #22114

Merged
merged 3 commits into from
Nov 26, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Nov 22, 2021

Overview

A few improvements to the main SearchKit screen (the tabbed listing of Saved Searches)

  • More responsive switching between tabs
  • Bookmarkable url for each tab
  • Fix the "modified" column for packaged searches, only showing a value if the packaged version has been overridden
  • Only show "revert" button when a packaged search has been overridden

image

Comments

Notice in the screenshot example above, the first packaged search has been overridden so it shows a modified date & a revert button. The 2nd is still in its pristine state so the revert button is not shown.

Instead of using one searchDisplay with a hidden filter, which causes ajax reload when switching tabs,
this creates 2 search displays which are always present but shown/hidden by the tabs.
@civibot
Copy link

civibot bot commented Nov 22, 2021

(Standard links)

@civibot civibot bot added the master label Nov 22, 2021
@colemanw
Copy link
Member Author

Retest this please

@seamuslee001
Copy link
Contributor

Jenkins re test this please

@colemanw
Copy link
Member Author

Retest this please

@colemanw
Copy link
Member Author

@seamuslee001 this finally passed

@seamuslee001
Copy link
Contributor

Looks good to me merging

@seamuslee001 seamuslee001 merged commit f746d78 into civicrm:master Nov 26, 2021
@seamuslee001 seamuslee001 deleted the searchKitRevertButton branch November 26, 2021 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants