Fristenrechner cleanup: carry project through 'Add', drop 'Custom' from UPC proceeding label, remove 'Ich möchte etwas einreichen' option #57
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?
Trigger
m 2026-05-20 14:02–14:04 on the Deadline Calculator (
/tools/fristenrechner):1. Pre-selected project gets lost on 'Add'
At the start of the cascade m picks a project (good, scopes everything). When he later hits 'Add' (presumably to add a deadline to the project from a result row) the project picker comes up blank again. Should be pre-filled with the already-selected project. Override allowed but default carries forward.
2. 'Custom UPC Proceeding' label
The proceeding-type picker (likely on the first step of the cascade or under 'add' flow) has an option labelled 'Custom UPC Proceeding'. m wants the 'Custom' prefix dropped — it's not custom, it's the generic UPC track. Just list the available types (
upc.inf.cfi,upc.rev.cfi,upc.inf.cfi.ccr, etc.) under their actual names.3. 'Ich möchte etwas einreichen' option out of scope
The Fristenrechner is a backward-looking calc — 'an event happened, now what deadlines spawn?'. The 'I want to file something' phrasing is forward-looking — 'I want to do X, what deadlines does my action trigger?'. Different mental model, different future tool. Remove the option from the 'Was ist passiert?' picker entirely; capture the idea elsewhere for the future-workflow tool.
What to do
Out of scope
Acceptance
Role
coder direct — three focused UX cleanups in one surface. Group with other small UI items.
4. Same-context-asked-twice bug
m 2026-05-20 14:04:
What's wrong
The Fristenrechner shows the event type's full per-proceeding context inline (the 'In these proceedings' list), then immediately asks the user 'Which context?' with the same five options. The information is presented and then re-asked as a question. Either show it as a picker from the start, or hide the list until a pick is needed — not both.
What to do
When the user lands on an event type that has multiple proceeding contexts:
No
× Which context?modal layered on top of an info block that already contained the same data.Acceptance
Fix in f6df857 — PR #66. Four parts:
preselectedProjectId()helper drives both Pathway A Save modal + Pathway B card-calc 'Add' picker.deadlines.step1.adhoc.{upc,de,epa,dpma}rewritten in DE + EN.HIDDEN_CASCADE_ROOTSfilter inloadEventCategoryTree(). Follow-up note filed at #65 for the future forward-workflow tool.Not smoke-tested in a browser (sandbox has no Supabase auth env). Build + tests clean. Please verify on staging.
Shipped via darwin on
mai/darwin/*— merged into main; commit https://mgit.msbls.de/m/paliad/commit/f6df857. Live after next Dokploy deploy.