feat(frontend): "Waarop het besluit rust" ingeklapt in een sheet, "Op grond van" blijft zichtbaar #63

Merged
tim.jager merged 2 commits from besluit-grondslag-inklappen into main 2026-11-26 16:48:13 +00:00
Owner

"Waarop het besluit rust" (about 20 rows on the parking card) is now folded into a bottom sheet, the same pattern as "volledige keten". This applies to the summary before the decision and to the decision after it. "Op grond van" with the main article stays in view in both places.

What changes

  • BesluitWeergave.vue: under the heading "Waarop het besluit rust" stands one sentence, "Op welk artikel elk open begrip rust en wat andere partijen antwoordden, staat in de onderbouwing." The link "onderbouwing" opens the list (WaaromLijst, unchanged) in an nldd-sheet placement="bottom", teleported to body, exactly as VolledigeKeten.vue does for the chain. The sheet is titled "Onderbouwing", like its link. A decision that rests on no open term and no answer keeps the one-line text inline, since there is nothing to fold; whether it rests on any is one predicate, heeftGronden in gedeeld/waarom.ts, used by WaaromLijst.vue too. No custom CSS.

The sheet repeats the shape of VolledigeKeten.vue (link in a sentence, bottom sheet) rather than extracting a shared component, to keep this change small on demo day. Folding both into one component is a possible follow-up.

  • BerichtVerzenden.vue: "Bericht verzenden" had variant="primary", which nldd-button does not know (button.d.ts has appearance). It is now appearance="primary". Visually, the button goes from the default grey neutral-tinted to the filled blue primary button. "Bericht doorsturen" has the same mistake (variant="secondary") and is left as it is here.
  • Docs: components/regelhet-frontend.md says the list opens from "onderbouwing".

Screenshots (parking card, local test mode)

Before: the list stood open between the outcome and the button

before

After: folded, with "Op grond van" in view

after summary

After: "onderbouwing" opens the list in a bottom sheet

after sheet

"Bericht verzenden", before (grey) and after (primary)

before button

after button

Tests

  • BesluitWeergave.test.ts: for the preview and for a decision taken, the sheet is closed by default, "Op grond van" stands outside it, the list is not inline, and the link opens it with the article of each open term. A decision with no grounds shows the sentence inline, with no link and no sheet.
  • BesluitWeergave.test.ts and BehandelenPaneel.test.ts pass (34 tests); vue-tsc --build is clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XDZRnqjJJ2izeL3kP33bnv

"Waarop het besluit rust" (about 20 rows on the parking card) is now folded into a bottom sheet, the same pattern as "volledige keten". This applies to the summary before the decision and to the decision after it. "Op grond van" with the main article stays in view in both places. ## What changes - `BesluitWeergave.vue`: under the heading "Waarop het besluit rust" stands one sentence, "Op welk artikel elk open begrip rust en wat andere partijen antwoordden, staat in de onderbouwing." The link "onderbouwing" opens the list (`WaaromLijst`, unchanged) in an `nldd-sheet placement="bottom"`, teleported to `body`, exactly as `VolledigeKeten.vue` does for the chain. The sheet is titled "Onderbouwing", like its link. A decision that rests on no open term and no answer keeps the one-line text inline, since there is nothing to fold; whether it rests on any is one predicate, `heeftGronden` in `gedeeld/waarom.ts`, used by `WaaromLijst.vue` too. No custom CSS. The sheet repeats the shape of `VolledigeKeten.vue` (link in a sentence, bottom sheet) rather than extracting a shared component, to keep this change small on demo day. Folding both into one component is a possible follow-up. - `BerichtVerzenden.vue`: "Bericht verzenden" had `variant="primary"`, which `nldd-button` does not know (`button.d.ts` has `appearance`). It is now `appearance="primary"`. Visually, the button goes from the default grey `neutral-tinted` to the filled blue primary button. "Bericht doorsturen" has the same mistake (`variant="secondary"`) and is left as it is here. - Docs: `components/regelhet-frontend.md` says the list opens from "onderbouwing". ## Screenshots (parking card, local test mode) Before: the list stood open between the outcome and the button ![before](https://i.imgur.com/V1vSznW.png) After: folded, with "Op grond van" in view ![after summary](https://i.imgur.com/e4vN3wh.png) After: "onderbouwing" opens the list in a bottom sheet ![after sheet](https://i.imgur.com/bq4Or6N.png) "Bericht verzenden", before (grey) and after (primary) ![before button](https://i.imgur.com/pAlTeNG.png) ![after button](https://i.imgur.com/UNLNcSa.png) ## Tests - `BesluitWeergave.test.ts`: for the preview and for a decision taken, the sheet is closed by default, "Op grond van" stands outside it, the list is not inline, and the link opens it with the article of each open term. A decision with no grounds shows the sentence inline, with no link and no sheet. - `BesluitWeergave.test.ts` and `BehandelenPaneel.test.ts` pass (34 tests); `vue-tsc --build` is clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01XDZRnqjJJ2izeL3kP33bnv
feat(frontend): "Waarop het besluit rust" ingeklapt in een sheet, "Op grond van" blijft zichtbaar
All checks were successful
CI / Rust tests (database) (push) Successful in 3m49s
CI / Helm chart (push) Successful in 11s
CI / Fundament plugin (push) Successful in 46s
CI / Burgerapp on the real kern (push) Successful in 53s
CI / Rust format, lint and validate (push) Successful in 1m26s
CI / Frontend tests (push) Successful in 1m34s
CI / Rust tests (push) Successful in 2m9s
078a7edbc0
Het besluit toont onder "Waarop het besluit rust" een zin met de link
"onderbouwing", die de lijst in een bottom sheet opent, zoals de volledige
keten. "Bericht verzenden" krijgt appearance="primary" in plaats van het
onbekende attribuut variant.

Claude-Session: https://claude.ai/code/session_01XDZRnqjJJ2izeL3kP33bnv
fix(frontend): de onderbouwing heet in link en sheet hetzelfde, en een besluit zonder gronden zegt dat inline
Some checks failed
CI / Helm chart (push) Successful in 10s
CI / Fundament plugin (push) Has been cancelled
CI / Burgerapp on the real kern (push) Has been cancelled
CI / Rust tests (push) Has been cancelled
CI / Frontend tests (push) Has been cancelled
CI / Rust format, lint and validate (push) Has been cancelled
CI / Rust tests (database) (push) Has been cancelled
c622dc88b1
Claude-Session: https://claude.ai/code/session_01XDZRnqjJJ2izeL3kP33bnv
tim.jager force-pushed besluit-grondslag-inklappen from c622dc88b1
Some checks failed
CI / Helm chart (push) Successful in 10s
CI / Fundament plugin (push) Has been cancelled
CI / Burgerapp on the real kern (push) Has been cancelled
CI / Rust tests (push) Has been cancelled
CI / Frontend tests (push) Has been cancelled
CI / Rust format, lint and validate (push) Has been cancelled
CI / Rust tests (database) (push) Has been cancelled
to 1ee2afced3
Some checks failed
CI / Frontend tests (push) Successful in 1m36s
CI / Rust tests (push) Successful in 2m2s
CI / Rust tests (database) (push) Successful in 3m25s
CI / Helm chart (push) Failing after 6s
CI / Burgerapp on the real kern (push) Successful in 51s
CI / Fundament plugin (push) Successful in 53s
CI / Rust format, lint and validate (push) Successful in 1m22s
2026-11-25 12:50:41 +00:00
Compare
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
regelrecht/fieldlab-2026!63
No description provided.