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
|
|
@ -1067,6 +1067,56 @@ class AppLocalizationsDe extends AppLocalizations {
|
|||
String get flowsRunDisabledTooltip =>
|
||||
'Erst die fehlenden Module installieren.';
|
||||
|
||||
@override
|
||||
String flowsInstallAllButton(int n) {
|
||||
return 'Alle installieren ($n)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get flowsInstallPillTooltip => 'Zum Installieren klicken';
|
||||
|
||||
@override
|
||||
String get flowsInstallDepsTitle => 'Abhängigkeiten installieren';
|
||||
|
||||
@override
|
||||
String get flowsInstallDepsBody =>
|
||||
'Die fehlenden Module werden der Reihe nach installiert. Vorhandene Installationen bleiben unberührt.';
|
||||
|
||||
@override
|
||||
String get flowsInstallStatusPending => 'Wartet';
|
||||
|
||||
@override
|
||||
String get flowsInstallStatusInstalling => 'Wird installiert…';
|
||||
|
||||
@override
|
||||
String flowsInstallStatusDone(String version) {
|
||||
return 'Installiert v$version';
|
||||
}
|
||||
|
||||
@override
|
||||
String get flowsInstallStatusFailed => 'Fehlgeschlagen';
|
||||
|
||||
@override
|
||||
String flowsInstallStatusFailedDetail(String error) {
|
||||
return '$error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get flowsInstallDepsAllDone => 'Alle Abhängigkeiten installiert.';
|
||||
|
||||
@override
|
||||
String flowsInstallDepsAnyFailed(int ok, int failed) {
|
||||
return '$ok installiert, $failed fehlgeschlagen.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get flowsOpenInEditorTooltip => 'YAML-Datei im Standard-Editor öffnen';
|
||||
|
||||
@override
|
||||
String flowsOpenInEditorFailed(String error) {
|
||||
return 'Konnte Datei nicht öffnen: $error';
|
||||
}
|
||||
|
||||
@override
|
||||
String get welcomeChecklistAllSetTitle => 'Du bist eingerichtet.';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue