Skip to content

fix(reports): dashboard report tiles link to registered routes - #876

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/dashboards-report-tile-routes
Oct 16, 2026
Merged

rubenvdlinde merged 1 commit into
developmentfrom
fix/dashboards-report-tile-routes

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

The stat tiles on /reports/dashboards and the recent list's view-all link resolved the route names dashboards and admin-templates. No page registers those names, so vue-router threw MATCHER_NOT_FOUND (9 console errors per render). They now use Workspace and admin-templates-index, the names the menu already uses for the same targets.

A new spec, src/utils/__tests__/manifestRouteNames.spec.js, checks every { name } under a key ending in "route", and every menu route, against the routes routesFromManifest builds. It fails when one old name is put back (checked).

Verified locally:

  • build 0; check:schema-l10n, check:manifest, check:l10n-parity 0; lint 0
  • vitest: all 981 tests pass. The run exits 1 only because tests/vitest/shared-instance.spec.ts fails to load: the tsconfig extends from the server root does not resolve. That fails the same way on development.
  • Live as pieter: /reports/dashboards logs 0 console errors (was 9). The Dashboards, Persoonlijk and Gedeeld met een groep tiles and "Open a dashboard" link to /apps/launchpad/ and open the workspace. Beheerdersjablonen links to /apps/launchpad/admin/templates, which redirects to the Nextcloud admin section as before.

🤖 Generated with Claude Code

The DashboardsReport stat tiles and the recent list's view-all link
resolved the route names "dashboards" and "admin-templates", which no
page registers, so vue-router threw MATCHER_NOT_FOUND on every render.
They now use Workspace and admin-templates-index, the names the menu
already uses. A spec checks every named route in the manifest against
the routes routesFromManifest builds.

Assisted-by: ClaudeCode:claude-opus-5-5
@rubenvdlinde
rubenvdlinde merged commit 43eab8b into development Oct 16, 2026
6 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/launchpad @ 43e5e05

Check PHP Vue Security License Tests
lint ✅
phpcs ✅
phpmd ✅
psalm ✅
phpstan ✅
phpmetrics ✅
eslint ✅
stylelint ✅
build ✅
check-manifest ✅
format ❌
check-schema-l10n ✅
composer ✅ ✅ 107/107
npm ✅ ✅ 636/636
app:check-code ⏭️
info.xml ✅
REUSE ❌
lockfile sync ✅
PHPUnit ✅ 1953/1953
Newman ✅ 224/224
Playwright ⏭️ deferred: E2E runs locally and on the promotion path only. This pull request targets development, so the suite is asked once per promotion into beta and main rather than once per push per open pull request. Run it locally with npx playwright test, or from the Actions tab on a branch with no open pull request into development.
Hydra gates ❌

Quality workflow — 2026-10-16 14:27 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