chain-studio/lib
flemming-it 626404c5e4
Some checks failed
Security / Security check (push) Failing after 2s
feat(studio): wire inline approval driver methods
StudioFlowRunDriver gains three new methods that satisfy the
editor 0.21.0 FlowRunDriver interface:

  - pendingApprovalIdForStep(flowName, stepId) — picks the
    newest pending approval row matching this (flow, step)
    pair from HubService.pendingApprovals().
  - approveApproval(approvalId, reviewer) — delegates to
    HubService.approve, same RPC the Approvals page uses.
  - rejectApproval(approvalId, reviewer, reason) — delegates
    to HubService.reject.

End result: when a flow run pauses on system.approval@^0,
the Run tab now renders a complete Approve / Reject form
directly under the awaiting step. Operator no longer needs
to switch tabs to make the decision; the standalone Approvals
page stays available for non-running approvals and history.

Studio bumped to 0.68.0; editor pin moves to 0.21.0.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
2026-06-09 09:18:55 +02:00
..
data feat(studio): wire inline approval driver methods 2026-06-09 09:18:55 +02:00
l10n feat(studio): friendlyError catches hub-specific patterns 2026-06-09 02:01:36 +02:00
pages feat(studio): localise Settings sidebar + add inline help docs + Approvals doc 2026-06-09 01:57:46 +02:00
theme feat(studio): rich theme picker (presets + custom colour) + editor 0.11.0 2026-06-02 01:29:34 +02:00
widgets feat(studio): localise Settings sidebar + add inline help docs + Approvals doc 2026-06-09 01:57:46 +02:00
main.dart feat(studio): wire inline approval driver methods 2026-06-09 09:18:55 +02:00