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

tree: auto-collapse final-complete tasks #1862

Open oliver-sanders opened 4 months ago

oliver-sanders commented 4 months ago

Automatically collapse groups (aka cycles/families) where all of the visible tasks have a final status and have completed all required task outputs.

This feature was requested from a rose-stem context where it would be rather useful, keeping the tree view focused on waiting/failed tasks whilst keeping succeeded tasks available for inspection.

The best alternative to this that is currently possible is to filter out succeeded tasks via the dropdown. Note this is currently a little clumsy due to the lack an invert selection button and makes it harder to inspect succeeded tasks if that is desirable.

Question: Makes sense? Any other ideas to fulfil the requirement.

Note, this will require final-complete/final-incomplete status in the schema, see also final-incomplete events - https://github.com/cylc/cylc-flow/issues/4957