You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: standardised stage naming + fix approval page data rendering
Adds ApprovalTask.display_label and format_stage_label() as the single
source of truth for stage labels. Format: "{swi.label}: Step {order}: {name}"
for sub-workflow tasks, "Step {order}: {name}" otherwise. Replaces scattered
one-off formatters and the hardcoded "Payment {index}" prefix in the
approval inbox serializer.
Fixes the "Prior Approval Step Responses" block on approve.html, which
was iterating section.fields as a flat list even though the builder
returns width-aware row groups. Rendering now delegates to the shared
_form_data_rows.html partial used by submission detail, restoring width
grouping, section headers, currency formatting ($X,XXX.XX), and
display_text rendering.
Also removes the workflow_name_label override in submission-detail stage
headers that was replacing per-stage names with a single workflow label.
Migration note: hosts whose SubWorkflowDefinition.label_template includes
stage-level detail (e.g. "Stage 2: Payment {index}") should update it to
just the instance portion ("Payment {index}"). The helper appends stage
info automatically.
Bumps version to 0.71.0.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments