cylc / cylc-ui

Web app for monitoring and controlling Cylc workflows
https://cylc.github.io
GNU General Public License v3.0
37 stars 27 forks source link

views: filter tasks by pattern #1264

Open oliver-sanders opened 1 year ago

oliver-sanders commented 1 year ago

We currently allow filtering tasks by name e.g. in the tree view.

Problem

There is a good use case for filtering by pattern too.

Proposed Solution

Two options:

Note that extglobs are currently used for task filtering by Cylc Review and are also used by the CLI and for mutations. So using extglobs for task filtering would assist in issuing multi-workflow/multi-task mutations.

Question

  1. Regex?
  2. [ext]Glob?
  3. Both?
hjoliver commented 1 year ago

Globbing is probably sufficient for this, and is a lot more intuitive to most users.

ColemanTom commented 1 month ago

Does extglob support things like a|b in case you want to be just watching tasks a and b?

oliver-sanders commented 1 month ago

Yes, as (a|b)