fix(runs): honest empty state — feature off vs. no runs yet
Some checks are pending
Security / Security check (push) Waiting to run

The empty state unconditionally claimed background runs were
switched off, even on hubs where the operator had enabled them.
The hub now reports the flag on the list RPC (detached_enabled);
the hint picks the truthful variant.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-07-18 00:20:43 +02:00
parent 5aa69104e7
commit ae97b88257
7 changed files with 34 additions and 10 deletions

View file

@ -1744,6 +1744,7 @@
"runsReloadTooltip": "Lauf-Liste neu laden",
"runsEmptyTitle": "Keine Läufe im Hintergrund",
"runsEmptyHint": "Hier erscheinen Läufe, die im Hintergrund weiterlaufen, während Sie anderes tun. Diese Funktion ist optional und standardmäßig ausgeschaltet — die Anleitung zeigt Schritt für Schritt, wie sie eingeschaltet wird.",
"runsEmptyEnabledHint": "Läufe im Hintergrund sind eingeschaltet — es wurde nur noch keiner gestartet. Starten Sie einen Flow mit der Option „im Hintergrund ausführen“, dann erscheint er hier.",
"runsEmptyGuideButton": "Anleitung öffnen",
"runsCancelButton": "Abbrechen",
"runsCancelSignalled": "Abbruch für {flow} ausgelöst.",

View file

@ -1783,6 +1783,7 @@
"runsReloadTooltip": "Reload the runs list",
"runsEmptyTitle": "No background runs",
"runsEmptyHint": "Runs that keep working in the background while you do something else appear here. The feature is optional and off by default — the guide shows step by step how to turn it on.",
"runsEmptyEnabledHint": "Background runs are switched on — none has been started yet. Start a flow with the \"run in background\" option and it will appear here.",
"runsEmptyGuideButton": "Open the guide",
"runsCancelButton": "Cancel",
"runsCancelSignalled": "Cancel signalled for {flow}.",

View file

@ -5299,6 +5299,12 @@ abstract class AppLocalizations {
/// **'Runs that keep working in the background while you do something else appear here. The feature is optional and off by default — the guide shows step by step how to turn it on.'**
String get runsEmptyHint;
/// No description provided for @runsEmptyEnabledHint.
///
/// In en, this message translates to:
/// **'Background runs are switched on — none has been started yet. Start a flow with the \"run in background\" option and it will appear here.'**
String get runsEmptyEnabledHint;
/// No description provided for @runsEmptyGuideButton.
///
/// In en, this message translates to:

View file

@ -3135,6 +3135,10 @@ class AppLocalizationsDe extends AppLocalizations {
String get runsEmptyHint =>
'Hier erscheinen Läufe, die im Hintergrund weiterlaufen, während Sie anderes tun. Diese Funktion ist optional und standardmäßig ausgeschaltet — die Anleitung zeigt Schritt für Schritt, wie sie eingeschaltet wird.';
@override
String get runsEmptyEnabledHint =>
'Läufe im Hintergrund sind eingeschaltet — es wurde nur noch keiner gestartet. Starten Sie einen Flow mit der Option „im Hintergrund ausführen“, dann erscheint er hier.';
@override
String get runsEmptyGuideButton => 'Anleitung öffnen';

View file

@ -3136,6 +3136,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get runsEmptyHint =>
'Runs that keep working in the background while you do something else appear here. The feature is optional and off by default — the guide shows step by step how to turn it on.';
@override
String get runsEmptyEnabledHint =>
'Background runs are switched on — none has been started yet. Start a flow with the \"run in background\" option and it will appear here.';
@override
String get runsEmptyGuideButton => 'Open the guide';