fix(approvals,l10n,theme): usertest findings — localized prompts, no-data confirm, .chain log path, honest wording, AA contrast
Some checks failed
Security / Security check (push) Failing after 2s

- approvals: empty/legacy hub prompts render the localized fallback;
  approving without show: data asks for conscious confirmation first
- chain_log: write to ~/.chain/logs/studio-errors.log (was .fai),
  one-time best-effort migration of the legacy file + rotation sibling
- l10n: 'manipulationssicher' -> 'manipulationserkennend', neutral
  WORM-1 blurb, doctor pill 'Integritätskette v1', federation hint
  says the CA authenticates the first connect (DE+EN)
- theme: muted text token now >=4.5:1 on canvas, cards and elevated
  dark surfaces (was 3.7:1 on cards)

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-07-11 02:38:24 +02:00
parent 0fda2600ad
commit bb606a8b23
10 changed files with 167 additions and 26 deletions

View file

@ -347,7 +347,7 @@ abstract class AppLocalizations {
/// No description provided for @welcomeDocAuditBlurb.
///
/// In en, this message translates to:
/// **'How the hash chain works and why WORM-1 is enough for KRITIS.'**
/// **'How the hash chain makes later edits detectable — and what integrity level WORM-1 does (and does not) provide.'**
String get welcomeDocAuditBlurb;
/// No description provided for @welcomeDocFlowsTitle.
@ -3254,6 +3254,24 @@ abstract class AppLocalizations {
/// **'No data was attached for review. The flow\'s approval step chooses what to show via its \"show:\" field — set it to surface the data behind this decision.'**
String get approvalsNoPayload;
/// No description provided for @approvalsNoDataConfirmTitle.
///
/// In en, this message translates to:
/// **'Approve without review data?'**
String get approvalsNoDataConfirmTitle;
/// No description provided for @approvalsNoDataConfirmBody.
///
/// In en, this message translates to:
/// **'This flow deliberately attached no review data (no \"show:\" on its approval step). You can still approve — but you would be deciding without seeing the data behind this decision.'**
String get approvalsNoDataConfirmBody;
/// No description provided for @approvalsNoDataConfirmAction.
///
/// In en, this message translates to:
/// **'Approve anyway'**
String get approvalsNoDataConfirmAction;
/// No description provided for @approvalsRequestFallback.
///
/// In en, this message translates to:
@ -3527,7 +3545,7 @@ abstract class AppLocalizations {
/// No description provided for @doctorChainPillOk.
///
/// In en, this message translates to:
/// **'WORM-1'**
/// **'Integrity chain v1'**
String get doctorChainPillOk;
/// No description provided for @doctorChainPillTamper.
@ -4870,7 +4888,7 @@ abstract class AppLocalizations {
/// No description provided for @federationEnrollmentHint.
///
/// In en, this message translates to:
/// **'Hand the token to the satellite operator over a secure channel. The bundled CA makes the satellite\'s first connect tamper-proof.'**
/// **'Hand the token to the satellite operator over a secure channel. The bundled CA authenticates the satellite\'s first connect.'**
String get federationEnrollmentHint;
}