feat(studio): clickable install pills + open-in-editor on flow cards (v0.43.0)
When a saved flow is missing modules, each capability pill in the "Needs:" row is now clickable: tap one and a per-item progress dialog walks the bare capability name through installModule, then the flows page refreshes. When more than one capability is missing, an extra "Install all (N)" button runs the same dialog over the whole list sequentially so a fresh operator can take an unrunnable flow and one click later have its dependencies resolved. Also adds a pencil icon next to Run that hands the YAML path to the OS via SystemActions.openInOs — the operator's default editor for .yaml decides what opens. Makes the path next to the flow name actionable instead of decorative. The install dialog renders one row per spec with a status icon (pending circle / spinner / check / error), shows the installed version on success, and surfaces the full error in a copyable FaiErrorBox on failure so the operator can paste it back. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
2002486828
commit
c389876a2f
9 changed files with 662 additions and 59 deletions
|
|
@ -409,6 +409,31 @@
|
|||
},
|
||||
"flowsMissingModulesLabel": "Needs:",
|
||||
"flowsRunDisabledTooltip": "Install the missing modules first.",
|
||||
"flowsInstallAllButton": "Install all ({n})",
|
||||
"@flowsInstallAllButton": { "placeholders": { "n": { "type": "int" } } },
|
||||
"flowsInstallPillTooltip": "Click to install",
|
||||
"flowsInstallDepsTitle": "Install dependencies",
|
||||
"flowsInstallDepsBody": "Walking through the missing modules in order. Existing installs are left alone.",
|
||||
"flowsInstallStatusPending": "Pending",
|
||||
"flowsInstallStatusInstalling": "Installing…",
|
||||
"flowsInstallStatusDone": "Installed v{version}",
|
||||
"@flowsInstallStatusDone": { "placeholders": { "version": { "type": "String" } } },
|
||||
"flowsInstallStatusFailed": "Failed",
|
||||
"flowsInstallStatusFailedDetail": "{error}",
|
||||
"@flowsInstallStatusFailedDetail": { "placeholders": { "error": { "type": "String" } } },
|
||||
"flowsInstallDepsAllDone": "All dependencies installed.",
|
||||
"flowsInstallDepsAnyFailed": "{ok} installed, {failed} failed.",
|
||||
"@flowsInstallDepsAnyFailed": {
|
||||
"placeholders": {
|
||||
"ok": { "type": "int" },
|
||||
"failed": { "type": "int" }
|
||||
}
|
||||
},
|
||||
"flowsOpenInEditorTooltip": "Open the YAML file in your default editor",
|
||||
"flowsOpenInEditorFailed": "Could not open file: {error}",
|
||||
"@flowsOpenInEditorFailed": {
|
||||
"placeholders": { "error": { "type": "String" } }
|
||||
},
|
||||
"welcomeChecklistAllSetTitle": "You're set up.",
|
||||
"welcomeChecklistAllSetBody": "Three threads to pull on next:",
|
||||
"welcomeChecklistNextAuditTitle": "Read the audit log",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue