feat(studio): approval payload — explain absence, cap height, accurate label
Some checks failed
Security / Security check (push) Failing after 1s
Some checks failed
Security / Security check (push) Failing after 1s
The approval card only rendered the payload section when a preview existed, so a step with no 'show:' showed nothing and the reviewer could not tell why. Now always show the section: a present payload scrolls inside a height-capped, copyable box; an absent one shows an explanatory hint (the flow's approval step chooses what to surface via its 'show:' field). Relabel 'data to be released' -> 'data to review' (the payload is review context, accurate to its source). Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
8a40e8e315
commit
97f3cb8560
6 changed files with 75 additions and 23 deletions
|
|
@ -1014,7 +1014,8 @@
|
|||
"approvalsPillApproved": "freigegeben",
|
||||
"approvalsPillRejected": "abgelehnt",
|
||||
"approvalsPillExpired": "abgelaufen",
|
||||
"approvalsPayloadPreview": "DIESE DATEN WERDEN FREIGEGEBEN",
|
||||
"approvalsPayloadPreview": "ZU PRÜFENDE DATEN",
|
||||
"approvalsNoPayload": "Keine Daten zum Prüfen angehängt. Der system.approval-Schritt des Flows bestimmt über sein \"show:\"-Feld, was angezeigt wird — setze es, um die Daten hinter dieser Entscheidung sichtbar zu machen.",
|
||||
"approvalsRequestFallback": "Freigabe für diesen Schritt erforderlich",
|
||||
"approvalsFlowStepMeta": "Flow: {flow} · Schritt: {step}",
|
||||
"approvalsApproveButton": "Freigeben",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue