Closed helakaraa closed 2 weeks ago
Reviewed By @ptitFicus
When "All tenants" is selected, placeholder message should be "Search in all tenants"
When I am on a project page, searching for a feature that's on the page does not filter the feature table when I select seaech result.
Global subcontext icon is wrong, it should be the planet with the filter, as for "prod" context
This should probably be "Click to search", since we can't actually type in this field
When searching tenant project of features with a tenant admin user (that has no specific rights on these projects), search returns nothing.
Search does not find project on which user has read/write/admin rights (without being a tenant or izanami admin)
Closed since 2f09781de34fa975e8b8347307f138bfdf9f665e has been merged, remaining tasks are in https://github.com/MAIF/izanami/issues/857
Backend: SearchController
Frontend: SearchComponent
[x] Implement table filtering.
[x] Add two buttons to switch between all tenants and the current tenant.
[x] Change the design of the modal button.
[x] Highlight selected names in the table of features and keys.
[x] Ensure mobile screen displays correctly.
[x] Clear the search field when changing tenants.
[x] Make shown results clickable and navigate to the corresponding page.
[x] On the home page, allow admins to search for all information, limited to their related tenants.
[x] Design the text search input.
[x] Ensure the search field considers tenant changes.
[ ] Show search results of webHooks, Users, Tenants.
Testing:
[x] Add backend tests (SearchAPISpec).
[ ] Add frontend tests.