Closed
Description
Consistent and guarded search bars
Our search bars are inconsistent, and silence errors. The valid parameters are hidden, and hard to find.
Issues to solve
- Garbage input is ignored. It does not tell the user the input is garbage, making small typos hard to identify:
stauts:running
is a typo ofstatus
and applies no filter.
- Enums are checked, but if the string is not supported, the enum filter is not used.
- All options are hidden, so knowing what params are supported is hard to find.
- Some options match partial text, others strictly match. This is inconsistent, and not described anywhere. Maybe we should support
name=alice
orname~=alice
. Allname:alice
would have some default? - Some options are lists, some are not.
Buckets
- Filter by single option in list of options. Eg
status
, must only select 1 status. - Partial string match. Eg name of a workspace/user
- Matching a list of options. Eg owner by user A and user B
Additional ideas
- Deployment wide default filters
- User saved filters
I am interested in implementing the backend requirements for this. Would love help on how to design the UI to solve all the issues.