Skip to content

feat(example-sets): the kvk cast's header roles and the team's presence - #11545

Merged
rubenvdlinde merged 1 commit into
mainfrom
feat/kvk-cast-roles-presence
Dec 1, 2026
Merged

rubenvdlinde merged 1 commit into
mainfrom
feat/kvk-cast-roles-presence

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Lane KH (KvK demo), items 1 and 3: configuration of the kvk example set only.

What changes

lib/Settings/example-sets/kvk.json, cast people with role employee:

  • roles: the account's profile role (IAccountManager::PROPERTY_ROLE, written by ExampleSetProfiles), which thematiq's workplace header draws under the user's name (HeaderUserService). Sanne and Yusuf "Registratiemedewerker", Ruud "Teamleider registratie" (board kvk/Header), everyone else their function.
  • status: user status and message as board kvk/LpTeamLead shows the team: "Aanwezig" (Sanne "Aanwezig, balie 2"), Petra "Thuis", Thomas away "Verlof".
  • absence for Thomas: from 4 days ago until tomorrow, status "Verlof" (date offsets only).

Generic

No code. roles, status and absence are existing cast fields (the zuiddrecht set uses them).

Verified

JSON parses; the added fields have the shape zuiddrecht.json uses and ExampleSetProfiles::fromPerson reads. Not run here: the example-set install itself; kvk-demo's Image run installs the set with --check first, which validates it.


Generated by Claude Code

Every KVK staff member carries a role, the line thematiq's workplace header
draws under the name (board kvk/Header: Registratiemedewerker, Teamleider
registratie), and a status as board kvk/LpTeamLead shows the team: present,
Petra working from home, Thomas on leave until the day after tomorrow.
@rubenvdlinde
rubenvdlinde requested a review from a team as a code owner December 1, 2026 10:29

Copy link
Copy Markdown
Contributor Author

All checks that are red on this PR (validate, ratchet, richdocuments ×3, files_antivirus, CodeQL Analyze ×2, Newman, the live-NC PHPUnit suites, quality lint/phpstan/psalm/License/Security) are red on main at 541b090 as well; this PR changes only lib/Settings/example-sets/kvk.json (cast roles, status, absence), so none of them is caused by it. It needs an admin merge; this lane's session cannot merge.


Generated by Claude Code

@rubenvdlinde
rubenvdlinde merged commit e62d5c2 into main Dec 1, 2026
26 of 59 checks passed
rubenvdlinde added a commit that referenced this pull request Dec 1, 2026
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/openregister @ f5de107

Check PHP Vue Security License Tests
lint ❌
phpcs ❌
phpmd ❌
psalm ❌
phpstan ❌
phpmetrics ❌
eslint ❌
stylelint ❌
build ✅
check-specs ❌
test-l10n ❌
test-l10n-parity ❌
test-l10n-browser-en ✅
format ❌
check-schema-l10n ❌
test-newman-route-ratchet ❌
composer ❌ ❌
npm ❌ ✅ 671/671
app:check-code ⏭️
info.xml ✅
REUSE ✅
lockfile sync ✅
PHPUnit ❌
Newman ❌
Playwright ❌
Hydra gates ❌ cancelled — no verdict

Quality workflow — 2026-12-01 11:22 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant