From 57f6f2f8d8cc5dfe4481427748b4ffabd8f9503b Mon Sep 17 00:00:00 2001 From: Edwin van den Houdt Date: Thu, 23 Jul 2026 08:05:40 +0200 Subject: [PATCH] =?UTF-8?q?style(registratie):=20WP-34=20=E2=80=94=20BRP?= =?UTF-8?q?=20address=20as=20datablock,=20phone=20in=20grey=20fieldset?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Restyle the contact-change form with house CIBG surfaces instead of hand-rolled markup: the read-only BRP address now uses app-data-block/app-data-row (grey datablock), and the phone field sits in a plain
inside the existing .form-horizontal form (inherits the CIBG grey box). No new CSS surfaces; row keys reuse the address.* i18n ids. Logic/machine/specs unchanged. Co-Authored-By: Claude Opus 4.8 --- .../backlog/WP-34-adres-phone-brp-readonly.md | 2 +- .../change-request-form.component.ts | 84 +++++++++++-------- src/locale/messages.en.xlf | 8 ++ src/locale/messages.xlf | 55 ++++++++---- 4 files changed, 94 insertions(+), 55 deletions(-) diff --git a/docs/project/backlog/WP-34-adres-phone-brp-readonly.md b/docs/project/backlog/WP-34-adres-phone-brp-readonly.md index f426113..747f196 100644 --- a/docs/project/backlog/WP-34-adres-phone-brp-readonly.md +++ b/docs/project/backlog/WP-34-adres-phone-brp-readonly.md @@ -5,7 +5,7 @@ Phase: 7 — refinements ## Why -The "Mijn gegevens" screen let the user *edit* their address (straat/postcode/woonplaats) and +The "Mijn gegevens" screen let the user _edit_ their address (straat/postcode/woonplaats) and submit it as an adreswijziging. But the BRP (Basisregistratie Personen) is the authority for a person's address — you change it at the municipality, not in a register self-service portal. This WP corrects that: the address is shown **read-only** (rendered from the BRP data the diff --git a/src/app/registratie/ui/change-request-form/change-request-form.component.ts b/src/app/registratie/ui/change-request-form/change-request-form.component.ts index d9a3385..f4d3a42 100644 --- a/src/app/registratie/ui/change-request-form/change-request-form.component.ts +++ b/src/app/registratie/ui/change-request-form/change-request-form.component.ts @@ -5,6 +5,8 @@ import { HeadingComponent } from '@shared/ui/heading/heading.component'; import { AlertComponent } from '@shared/ui/alert/alert.component'; import { FormFieldComponent } from '@shared/ui/form-field/form-field.component'; import { TextInputComponent } from '@shared/ui/text-input/text-input.component'; +import { DataBlockComponent } from '@shared/ui/data-block/data-block.component'; +import { DataRowComponent } from '@shared/ui/data-row/data-row.component'; import { Adres } from '@registratie/domain/person'; import { createStore } from '@shared/application/store'; import { whenTag } from '@shared/kernel/fp'; @@ -32,21 +34,20 @@ import { createSubmitChangeRequest } from '@registratie/application/submit-chang AlertComponent, FormFieldComponent, TextInputComponent, + DataBlockComponent, + DataRowComponent, ], styles: [ ` - .brp { - margin-block-end: var(--rhc-space-max-lg); - } - .brp dt { - font-weight: var(--rhc-text-font-weight-semi-bold); - } - .brp dd { - margin: 0 0 var(--rhc-space-max-sm) 0; - } - .brp .source { + .source { color: var(--rhc-color-grijs-700); font-size: var(--rhc-text-font-size-sm); + margin-block-end: var(--rhc-space-max-lg); + } + legend { + padding: 0; + font-weight: var(--rhc-text-font-weight-semi-bold); + margin-block-end: var(--rhc-space-max-md); } `, ], @@ -68,14 +69,15 @@ import { createSubmitChangeRequest } from '@registratie/application/submit-chang Contactgegevens wijzigen @if (brpAdres(); as a) { -
-
Adres (BRP)
-
{{ a.straat }}
{{ a.postcode }} {{ a.woonplaats }}
-
- Uw adres komt uit de Basisregistratie Personen en kan hier niet worden gewijzigd. Wijzig - het bij uw gemeente. -
-
+ +
+
+
+
+

+ Uw adres komt uit de Basisregistratie Personen en kan hier niet worden gewijzigd. Wijzig + het bij uw gemeente. +

}
@@ -84,24 +86,27 @@ import { createSubmitChangeRequest } from '@registratie/application/submit-chang * verplichte velden - - - +
+ Contactgegevens + + + +
@if (failedError()) { whenTag(this.state(), 'Editing')); protected errors = computed(() => this.editing()?.errors ?? {}); protected failedError = computed(() => whenTag(this.state(), 'Failed')?.error ?? ''); diff --git a/src/locale/messages.en.xlf b/src/locale/messages.en.xlf index 72a9edf..9a379b5 100644 --- a/src/locale/messages.en.xlf +++ b/src/locale/messages.en.xlf @@ -1318,6 +1318,14 @@ 40,41 + + Contactgegevens + Contact details + + src/app/registratie/ui/change-request-form/change-request-form.component.ts + 88 + + Adres (BRP) Address (BRP) diff --git a/src/locale/messages.xlf b/src/locale/messages.xlf index 52d5c3d..5b20e4e 100644 --- a/src/locale/messages.xlf +++ b/src/locale/messages.xlf @@ -17,7 +17,7 @@ src/app/registratie/ui/change-request-form/change-request-form.component.ts - 84,86 + 86,88 src/app/shared/layout/wizard-shell/wizard-shell.component.ts @@ -1688,7 +1688,7 @@ Voer een geldig telefoonnummer in, bijv. 0612345678. src/app/registratie/domain/value-objects/telefoonnummer.ts - 18 + 21 @@ -1753,6 +1753,10 @@ src/app/registratie/ui/address-fields/address-fields.component.ts 39,40 + + src/app/registratie/ui/change-request-form/change-request-form.component.ts + 147 + Postcode @@ -1760,6 +1764,10 @@ src/app/registratie/ui/address-fields/address-fields.component.ts 55,56 + + src/app/registratie/ui/change-request-form/change-request-form.component.ts + 148 + 1234 AB @@ -1774,6 +1782,10 @@ src/app/registratie/ui/address-fields/address-fields.component.ts 73,74 + + src/app/registratie/ui/change-request-form/change-request-form.component.ts + 149 + Adres @@ -1786,70 +1798,77 @@ Uw wijziging is ontvangen (referentie ). U ontvangt binnen 5 werkdagen bericht. src/app/registratie/ui/change-request-form/change-request-form.component.ts - 56,58 + 57,59 Nieuwe wijziging doorgeven src/app/registratie/ui/change-request-form/change-request-form.component.ts - 64,66 + 65,67 Contactgegevens wijzigen src/app/registratie/ui/change-request-form/change-request-form.component.ts - 68,70 - - - - Adres (BRP) - - src/app/registratie/ui/change-request-form/change-request-form.component.ts - 72,73 + 69,71 Uw adres komt uit de Basisregistratie Personen en kan hier niet worden gewijzigd. Wijzig het bij uw gemeente. src/app/registratie/ui/change-request-form/change-request-form.component.ts - 75,78 + 78,82 + + + + Contactgegevens + + src/app/registratie/ui/change-request-form/change-request-form.component.ts + 90,92 Telefoonnummer src/app/registratie/ui/change-request-form/change-request-form.component.ts - 89,91 + 93,95 0612345678 src/app/registratie/ui/change-request-form/change-request-form.component.ts - 101,102 + 105,106 Het indienen is niet gelukt: src/app/registratie/ui/change-request-form/change-request-form.component.ts - 108,109 + 113,114 Wijziging indienen src/app/registratie/ui/change-request-form/change-request-form.component.ts - 136 + 141 Bezig met indienen… src/app/registratie/ui/change-request-form/change-request-form.component.ts - 137 + 142 + + + + Adres (BRP) + + src/app/registratie/ui/change-request-form/change-request-form.component.ts + 146