Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

feat(dashboards): active-dashboard resolution chain#62

Merged
rubenvdlinde merged 1 commit into
developmentfrom
feature/impl-active-dashboard-resolution
Apr 30, 2026
Merged

feat(dashboards): active-dashboard resolution chain#62
rubenvdlinde merged 1 commit into
developmentfrom
feature/impl-active-dashboard-resolution

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Implements REQ-DASH-018..019 per spec on development. 7-step precedence resolver in DashboardService with stale-pref auto-clear. New POST /api/dashboards/active write endpoint. PageController refactored to use resolver + push resolved dashboard via InitialStateBuilder. PHPUnit covers all 7 steps + stale-pref + empty-state.

@rubenvdlinde rubenvdlinde added the ready-for-code-review Build complete — awaiting code reviewer label Apr 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/mydash @ d03379d

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 103/103
npm ✅ 342/342
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-04-30 19:52 UTC

Download the full PDF report from the workflow artifacts.

….019

Implements the 7-step precedence resolver in DashboardService with stale-pref
auto-clear (REQ-DASH-018). Adds setActivePreference() and the
POST /api/dashboards/active write endpoint (REQ-DASH-019). PageController
refactored to call resolveActiveDashboard() and push the resolved dashboard
via InitialStateBuilder. PHPUnit covers all 7 steps, stale-pref,
cross-group invalidation, and empty-state. Pre-existing issues fixed:
className: named-param on createMock(), willReturn double-stub in AllowFlagTest.
@rubenvdlinde rubenvdlinde force-pushed the feature/impl-active-dashboard-resolution branch from c051162 to b6fcb2b Compare April 30, 2026 20:04
@rubenvdlinde rubenvdlinde merged commit 24fd5ad into development Apr 30, 2026
12 of 14 checks passed
@rubenvdlinde rubenvdlinde deleted the feature/impl-active-dashboard-resolution branch April 30, 2026 20:04
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/mydash @ 0ea997b

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 103/103
npm ✅ 342/342
PHPUnit ⏭️
Newman ⏭️
Playwright ⏭️

Quality workflow — 2026-04-30 20:05 UTC

Download the full PDF report from the workflow artifacts.

rubenvdlinde added a commit that referenced this pull request May 3, 2026
….019 (#62)

Implements the 7-step precedence resolver in DashboardService with stale-pref
auto-clear (REQ-DASH-018). Adds setActivePreference() and the
POST /api/dashboards/active write endpoint (REQ-DASH-019). PageController
refactored to call resolveActiveDashboard() and push the resolved dashboard
via InitialStateBuilder. PHPUnit covers all 7 steps, stale-pref,
cross-group invalidation, and empty-state. Pre-existing issues fixed:
className: named-param on createMock(), willReturn double-stub in AllowFlagTest.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ready-for-code-review Build complete — awaiting code reviewer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant