Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Consistent and guarded search bars #5829

Closed
@Emyrk

Description

@Emyrk

Consistent and guarded search bars

Our search bars are inconsistent, and silence errors. The valid parameters are hidden, and hard to find.

Screenshot from 2023-01-23 16-32-00

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 of status 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 or name~=alice. All name: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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions