Skip to content

task id filtering: support regex search #2434

@oliver-sanders

Description

@oliver-sanders

Task ID filters currently support glob searching.

This is quick, easily understood and matches Cylc ID matching (GUI / CLI).

However, there may be cases where regex support might be desired by those who understand it. To facilitate this, glob support was added by translating globs into regexes, so implementing regex support is very simple.

Considerations:

  • Add a badge to the search field which displays the current mode (glob/regex) and allows users to switch between them.
  • Ensure the search mode is preserved in the view options so it will be restored on refresh.
  • Ensure that the search mode defaults to glob for situations where it is not saved in the layout (earlier cylc-ui versions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions