Verfahrensablauf columns: when side is 'Nicht festgelegt', label columns 'Proaktiv'/'Reaktiv' instead of 'Unsere Seite'/'Gegenseite' #127
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-26 11:08)
Scope
#88 (t-paliad-257) reframed the timeline columns from Proaktiv/Reaktiv to Unsere Seite / Gegenseite. m's correction: those user-perspective labels ONLY make sense once a side is picked. When the side is
Nicht festgelegt/Undefined(the default after #120), the columns should fall back to the older Proaktiv (left) / Reaktiv (right) labels — semantic-neutral.When a side IS picked: keep #88's behavior (Unsere Seite left, Gegenseite right; columns swap based on which side).
What to do
frontend/src/client/views/verfahrensablauf-core.ts(column header render), branch on the active side:side === null(Nicht festgelegt) → headers:Proaktiv/Gericht/Reaktivside === 'claimant' or 'defendant'→ headers:Unsere Seite/Gericht/Gegenseite(current #88 behavior)column.proactive/column.reactive(may have been removed in #88; if so re-add).verfahrensablauf-core.test.tsto cover both label modes.Files most likely touched
frontend/src/client/views/verfahrensablauf-core.tsfrontend/src/client/views/verfahrensablauf-core.test.tsfrontend/src/client/i18n.ts+frontend/src/i18n-keys.tsHard rules
go build ./... && go test ./internal/... && cd frontend && bun run buildclean.mai/<worker>/column-labels-side-aware.Out of scope
Reporting
mai report completedwith branch + SHAs + UX path: open Verfahrensablauf with no project context → side=Nicht festgelegt → confirm headers read Proaktiv/Gericht/Reaktiv. Pick a side → confirm headers swap to Unsere Seite/Gericht/Gegenseite.Done — side-aware column headers
Branch:
mai/hermes/gitster-verfahrensablaufCommit:
15cc5e418c35Change
renderColumnsBody(frontend/src/client/views/verfahrensablauf-core.ts) now picks header labels per the incomingside:side === null(Nicht festgelegt / Undefined) → Proaktiv / Gericht / Reaktiv (semantic-neutral fallback).side === 'claimant' | 'defendant'→ Unsere Seite / Gericht / Gegnerseite (the #88 user-perspective labels).The bucketing primitive is untouched — only the column-header text changes. Same rules render in the same columns; the hint chip from #120 stays in place.
Files
frontend/src/client/views/verfahrensablauf-core.ts— branched the leftLabel / rightLabel pair onuserSide; rationale documented inline.frontend/src/client/i18n.ts— addeddeadlines.col.proactive(Proaktiv / Proactive) +deadlines.col.reactive(Reaktiv / Reactive) for DE + EN.frontend/src/i18n-keys.ts— typed-key union extended.frontend/src/client/views/verfahrensablauf-core.test.ts— newdescribe("renderColumnsBody — side-aware column header labels")block with four assertions: side=null (explicit), side=null (omitted opts), side=claimant, side=defendant.Verification
bun test src/client/views/verfahrensablauf-core.test.ts→ 33 pass / 0 fail (29 existing + 4 new).bun run build→ clean (2910 i18n keys, scan clean).go build ./...→ clean.go test ./internal/...→ all packages pass.Fristenrechner shares
renderColumnsBodyand now picks up the same fallback when no perspective is picked — semantics stay consistent with the Verfahrensablauf intent.UX path
/tools/verfahrensablaufwith no project context → side=Nicht festgelegt → headers read Proaktiv / Gericht / Reaktiv.Out of scope (per issue)