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

source workflows #548

Open oliver-sanders opened 3 years ago

oliver-sanders commented 3 years ago

At present the UI can only see installed workflows (either running or stopped).

So how should source workflows fit into the UI?

Here is my proposal:

This would create a landing page for the source workflow:

cylc-install

The only big design barrier to overcome is that this restricts us to use the same name in the source and run dies (which I am actually ok with and have argued for in the past). If we can’t go with this then we will need a bit of UI magic to make this problem go away...

(assigning myself until the question label is removed or this issue closed)

hjoliver commented 3 years ago

I like the proposal, can't see any obvious problems with it. :+1:

oliver-sanders commented 3 years ago

Linking through to part (2) of https://github.com/cylc/cylc-flow/issues/3400 which is about making users aware when running workflows run directories no longer reflect the latest state of the source directory (i.e. the user has made change to the source dir since the flow was last (re)installed). Already on my radar, suggest using passive notification for these sorts of things (e.g. reinstallation/reload, removal of old run dirs, uninstallation).

oliver-sanders commented 3 years ago

Here's an updated proposal which is more compatible with the new Cylc support for multiple configurable source dirs.

Overview:

Modified Proposal:

source-workflows

Ideas?

hjoliver commented 3 years ago

Nice proposal :+1:

Ideas?

With search and filter, and especially for those with a smaller number of workflows, it might be good to show all configured source dirs and the run dir, at once? This could be a user preference, if gscan performance is a problem for those with a large number of workflows.

oliver-sanders commented 3 years ago

We could just bung them all into the main GScan view and just filter out uninstalled workflows (and by extension their sources) by default.

We can scan for both source and run workflows and can separate these scan intervals and make them configurable. I think we might want something like PT1M for run dirs and manual refresh for src dirs for our site.

oliver-sanders commented 3 years ago

Notes from Dave:

oliver-sanders commented 3 years ago

Here's an amended design with Dave's suggestions.

source-workflows-2

oliver-sanders commented 3 years ago

A couple of loose ends I've not jotted down anywhere so dumping them here for the time being:

oliver-sanders commented 3 years ago

issue covering the switching of workspaces and its effect on data, subs and tabs: https://github.com/cylc/cylc-ui/issues/662

hjoliver commented 3 years ago

Looks good!

oliver-sanders commented 1 year ago

Source workflows arriving in the schema with: 512