Verfahrensablauf: party selector goes AFTER proceeding-type selector (defines proceeding too; auto-filled when project data present) #111
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
m's report (2026-05-25 16:39)
Scope
Reorder the Verfahrensablauf 'Browse a proceeding' form so the user input flow matches the importance hierarchy of inputs:
Current form ordering puts party-side either above or alongside proceeding type. The desired ordering acknowledges that:
our_sideset, party-side auto-fills (read-only display + 'override' affordance per t-paliad-257 / #88)What to do
frontend/src/verfahrensablauf.tsx+client/verfahrensablauf.ts).our_sideis set on the project): show the side selector as already-resolved (read-only chip with the inferred side + 'Andere Seite wählen' link to override).?side=...and?appellant=...still work even if the form's render order changes.Files most likely touched
frontend/src/verfahrensablauf.tsxfrontend/src/client/verfahrensablauf.tsfrontend/src/styles/global.css(small spacing tweaks if the new order changes the visual rhythm)Hard rules
go build ./... && go test ./internal/... && cd frontend && bun run buildclean.mai/<worker>/verfahrensablauf-form-reorder.Out of scope
Reporting
mai report completedwith branch + SHAs + before/after layout description.Done — t-paliad-279 / m/paliad#111 reorder shipped
Branch:
mai/icarus/gitster-verfahrensablaufCommit: a6d0acb
Before / after layout
Step 2 — Before (single "Ausgangsdatum eingeben" block):
Step 2 — After ("Perspektive und Datum" — side first):
Matches the importance hierarchy in the scope: proceeding-type (step 1) → party-side → appellant → date / court / flags.
Project auto-fill (?project=)
When the page is opened with
?project=<id>and that project hasour_sideset, the side row renders as a read-only chip instead of the radio cluster:claimant/applicant/appellant→claimant;defendant/respondent→defendant; everything else (third_party/other/NULL) → no auto-fill (stays at radio cluster).?side=short-circuits the auto-fill so shared?side=links never get clobbered by?project=.?project=from the URL (keeps?side=so the user's pick survives reload).onLangChange.URL state — backward-compatible
?side=claimant|defendant— unchanged, still drives the radio cluster + perspective column routing.?appellant=claimant|defendant— unchanged, still drives the appellant-row collapse.?project=<id>— new, opt-in. Pages without it behave identically to before.Files touched (5, +274 / −48)
frontend/src/verfahrensablauf.tsx— DOM reorder,#side-radio-clusterwrap,#side-chipsibling, divider, step-2 heading swap.frontend/src/client/verfahrensablauf.ts—?project=reader,fetchProjectOurSide,ourSideToSide,applySidePrefill,renderSideChip,clearSidePrefill, lang-change hook for the chip label.frontend/src/styles/global.css—.verfahrensablauf-step2-divider,.side-chip+ tag / value / override styles (visual family with.proceeding-summary).frontend/src/client/i18n.ts+frontend/src/i18n-keys.ts— 3 new keys (deadlines.step2.perspective,deadlines.side.from_project,deadlines.side.override) in DE + EN.Verification
cd frontend && bun run build— clean.cd frontend && bun test— 154 pass, 0 fail (verfahrensablauf-core column-routing tests still green: 14 pass, 35 expect).go build ./...— clean.go test ./internal/...— all packages pass.Notes
.verfahrensablauf-perspective-rowusesflex-wrap: wrapso the chip / radios drop to a new line on narrow viewports.Sweep verdict (2026-07-29): SUPERSEDED.
The form this reorders no longer exists.
/tools/verfahrensablaufhard-301s to/tools/procedures(internal/handlers/fristenrechner.go:20-38, U4 of #151), and/tools/procedureshas no "Browse a proceeding" form — entry is via three builder modes (builder.mode.cold/.event/.akte,frontend/src/procedures.tsx:102-121).This issue's own hard rule — "pure form ordering, no backend change" — is what makes it unrescuable: there is no such form to reorder.
Full sweep:
docs/findings-issue-sweep-2026-07-29.md(commit4c39886).