Commit Graph
5 Commits
Author SHA1 Message Date
Kristian Bendiksen ba187f6077 Workflows: Show value type icons on graph ports
String, number, bool, date, file and directory ports show a Codicons
icon (CC BY 4.0, with licence and source in Resources/codicons). Icons
are drawn at the shown resolution so they stay sharp when zoomed, and
config box values are elided before the type so they do not overlap it.
2026-10-21 11:20:03 +02:00
Kristian Bendiksen 61c2db898f Workflows: Support taskmaestro map and collect in the editor
Collect: list and dict inputs accept several connections of their item
type. Members are labelled with their position or key, and can be
reordered or renamed from the connection context menu.

Map: Map Over / Edit Map / Remove Map on tasks. A mapped task is drawn
as a stack with a "map over" subtitle, its items are edited in the
property view (JSON, or selected cases, well paths or views), and
per-item progress is shown during a run.

Workflows using map or collect are no longer read-only. The run status
no longer shows "Completed" after a successful run.
2026-10-21 11:20:02 +02:00
Kristian Bendiksen d994e2c95e Workflows: Show ResInsight object icons on graph ports
Ports holding a ResInsight object (instance, case, view, well path, surface)
show the project tree icon of that object in front of the type. The rips class
is taken from the schema's Python bases, directly or via ObjectModel[Class].
2026-10-21 11:19:35 +02:00
Kristian Bendiksen ec388ba34b Workflows: Show port types in the graph view
Each input and output port shows its type below the name, for editable and
read-only workflows. The graph JSON carries input_types/output_types per
task, built from the task schemas.
2026-10-21 11:19:35 +02:00
Kristian Bendiksen f9030a3e1f Workflows: Add interactive editor for taskmaestro workflows
Build, copy and edit taskmaestro workflows in ResInsight and save them as
standard workflow.yaml + input.yaml.

- Python helper: catalog, load, save and export-registered subcommands,
  and run --registered for installed workflows
- C++ definition model with pure edit operations, port type checks,
  config field derivation, static validation and undo/redo
- Installed folder listing registered workflows (read-only, runnable,
  can be duplicated)
- Graph editor dock with task palette, drag-to-connect, context menus,
  automatic layout and debounced live validation
- New/Duplicate/Save/Save As/Rescan commands; unsaved edits run from a
  temporary folder and prompt before being discarded
- Update the design document and the user README
2026-10-21 11:19:35 +02:00