Verfahrensablauf side semantics: WE always on left (Client Side / Court / Opponent Side) — drop Proaktiv/Reaktiv framing #88
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 14:22)
Context — what shipped
t-paliad-250 / m/paliad#81 (commit
02255c4on main) added side+appellant selectors to Verfahrensablauf and kept the existing Proaktiv / Court / Reaktiv column labels. m's report says the Proaktiv/Reaktiv axis is the wrong frame entirely — Klägerseite is sometimes proactive (filing) and sometimes reactive (responding), so the static label-pair lies.What m wants instead — user-perspective axis
Client Side/COURT/Opponent Side(DE primary:Unsere Seite/Gericht/Gegnerseite).sidefrom the project'sour_sidefield (already onpaliad.projects, per t-paliad-217 ish). Read-only display with override toggle.What to do
Part 1 — Column relabel + semantics flip
frontend/src/client/views/verfahrensablauf-core.ts(and the renderColumnsBody hermes touched in t-paliad-250) — rename column headers fromProaktiv/ReaktivtoUnsere Seite/Gegnerseite(EN:Client Side/Opponent Side).our_sidevalue.Part 2 — Appellant selector stays
Keep the appellant selector hermes added for appeal-type proceedings. Its role: when an Appeal is selected and the project doesn't pin which party appealed, the user picks. Without this pick, "both parties" appeal-rules still need to render somewhere — fall back to showing in BOTH columns until pinned.
Part 3 — Project default
paliad.projects.our_side(if it exists) drives the initial side selection. If the project has a proceeding chosen +our_sideset, the selectors are auto-filled and shown read-only with a small "override" affordance.If the
our_sidecolumn does NOT exist yet (verify), this issue's scope expands to add it as a migration. Flag in completion report. Likely DB shape:paliad.projects.our_side text CHECK (our_side IN ('claimant','defendant','patentee','opponent', etc.)).Part 4 — i18n
Rename existing keys (or add new keys + deprecate old):
proaktiv→our_side("Unsere Seite" / "Client Side")reaktiv→opponent_side("Gegnerseite" / "Opponent Side")Files most likely touched
frontend/src/client/views/verfahrensablauf-core.ts(column placement logic + headers)frontend/src/client/views/verfahrensablauf-core.test.ts(update test expectations)frontend/src/client/verfahrensablauf.ts(selector wiring)frontend/src/verfahrensablauf.tsxfrontend/src/client/i18n.ts+frontend/src/i18n-keys.tsinternal/models/models.go+ a migration forpaliad.projects.our_sideif it doesn't existinternal/services/projection_service.goif the column placement is computed server-sideHard rules
go build ./... && go test ./internal/... && cd frontend && bun run buildclean.mai/<worker>/side-semantics-our-perspective.Out of scope
Reporting
mai report completedwith branch + SHAs + UX path: open any case project withour_sideset → see Unsere Seite + Gegnerseite columns with all rules placed correctly → flip side toggle → columns swap, every rule re-resolves to the right column → confirm UPC Appeal still respects the separate appellant selector.Verfahrensablauf side semantics — done
Branch:
mai/hermes/gitster-verfahrensablauf→ a9a9adbWhat changed
The
Proaktiv | Gericht | Reaktivtriplet is gone. Columns are nowUnsere Seite | Gericht | Gegnerseite(EN:Client Side | Court | Opponent Side). The side toggle drives row PLACEMENT into theours/opponentbuckets — labels stay truthful regardless of which physical party (claimant vs defendant) occupies them.Old framing lied half the time: Klägerseite is sometimes proactive (filing a claim), sometimes reactive (responding to a CCR). The new framing is purely positional with semantic labels.
Files touched
frontend/src/client/views/verfahrensablauf-core.tsColumnsRow.proactive/reactive→ours/opponentrenderColumnsBodypicks staticdeadlines.col.ours/deadlines.col.opponentlabels — no more variant-by-side keysbucketDeadlinesIntoColumns: routes user's party intoourswhenopts.side === "defendant". Default (side === null) keeps the legacy "we are claimant" fallback so the claimant-on-left default survivesfrontend/src/client/views/verfahrensablauf-core.test.ts— rewritten expectations on new fields. Added two new tests pinning the WE-on-left semantics and the side+appellant interaction (side=defendant + appellant=claimant→"both"collapses into opponent column)frontend/src/client/fristenrechner.ts— wirescurrentPerspectiveintorenderColumnsBodyasside. Without this, a defendant-perspective user would see claimant filings under theUnsere Seiteheader. The old code didn't need the wire-up because the labels weren't perspective-awarefrontend/src/client/i18n.ts— DE:Unsere Seite/Gegnerseite. EN:Client Side/Opponent Side. Drops the now-redundant*.proactive.defendant/*.reactive.claimantvariant keysfrontend/src/i18n-keys.ts— regenerated unionfrontend/src/styles/global.css—.fr-col-proactive/.fr-col-reactive→.fr-col-ours/.fr-col-opponentHard-rule checks
?side=+?appellant=continue to drive perspective + appellant axis. Only the labels and field names changed; the URL contract is identical to t-paliad-250bun testpasses 112/112 (was 110, +2 new tests for WE-on-left + side×appellant interaction)Unsere Seite/Gegnerseitein DE,Client Side/Opponent Sidein ENbun run build(2794 i18n keys, no scan warnings) +go build ./...+go test ./internal/...all greenour_sidecolumn already exists onpaliad.projects(verified viainformation_schema.columns) — no migration needed for Part 3Part 3 (project default) — out of scope as written, no work needed
The issue's "derive
sidefrom project'sour_sidefield" applies to surfaces with project context./tools/verfahrensablaufis the abstract-browse tool — it has no project picker, so there's nothing to predefine. The fristenrechner side (/tools/fristenrechner) already does this viaapplyOurSidePredefine()→ourSideToPerspective()(t-paliad-164/180), and that wire is now coherent with the new column labels via theside: currentPerspectivepass-through I added.If m wants
/tools/verfahrensablaufto accept a project context in the URL (e.g.?project=<uuid>and predefine side from there), that's a separate feature — flag it and I'll file a follow-up.Appellant axis
Kept as-is. The appellant selector still pins which party initiated an Appeal/Counterclaim, and it's still independent of the side toggle:
side=defendant, appellant=defendant→ "both" rows collapse intoours(we appealed)side=defendant, appellant=claimant→ "both" rows collapse intoopponent(they appealed)appellant=null→ "both" rows mirror into both columns (legacy behaviour)The new test
side=defendant + appellant=claimant routes 'both' into opponentpins exactly this scenario.UX path to verify
/tools/verfahrensablauf→ pickUPC VerletzungsverfahrenUnsere Seite | Gericht | Gegnerseite. Default side is unset (Beide) → claimant filings on the left, defendant on the rightBeklagtenseite→ columns swap: defendant filings now on the left underUnsere Seite, claimant filings on the right underGegnerseite. Court column unchangedUPC Berufung(appellant-axis proceeding). Appellant row appears. SetBerufung durch: Klägerseitewhileside=Beklagtenseite→ allbothrows collapse into the right column (opponent appealed)Berufung durchtoBeklagtenseite(we appealed) →bothrows collapse into the left column (Unsere Seite)Out of scope (untouched)
party_rolesemantics in the DB — re-projected, not re-tagged—for consistency with the appellant row, that's a one-line tweak — flag it and I'll do a follow-up