feat(admin): global search
Description
feat(admin): global search
- added search bar in the application header
- this is currently an EXPERIMENTAL feature, disabled by default
- searches Users/Groups/VOs/Facilities based on name/description. This is an unaccented case-insensitive substring search
- shows max 3 objects per entity type, this is subject to change in the future
- for PERUNADMIN also searches by ID (only if the search string is a number), in this case it is an exact match search
- use
show_search
config property to enable (for now experimental) global search feature
DEPLOYMENT NOTE: set new show_search
config option to true to enable global search in the Admin GUI app. Use globalSearch_String_policy
on the backend to configure availability of the feature
How to test
Deploy relevant backend branch, set the show_search
config option to true and try the new global search feature. Please report any found bugs to me via Slack or to https://perunaai.atlassian.net/wiki/spaces/DEVS/pages/757268486/GlobalSearch+feedback. This also serves for feature requests
Also make sure that the GUI behaves the same even if the search is disabled
Author's checklist
-
I have followed the contribution guidelines -
This MR has been tested or does not change functionality -
I have added relevant merge request dependencies (if this MR has any) -
I have added the correct labels -
I have assigned reviewers (if any are relevant) -
I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation -
I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)
Reviewer's checklist
-
This MR has been tested or does not change functionality -
This MR has correct commit message format
Other information
N/A
Related issues
Re STR-1549
Edited by David Flor