From d9d2854d27519761ea01745965c5cafb660e1541 Mon Sep 17 00:00:00 2001 From: yan9651688 <174289968+yan9651688@users.noreply.github.com> Date: Mon, 17 Aug 2026 10:22:32 +0800 Subject: [PATCH] Make enabled model plaza discoverable from /home The model plaza route already supports public access, but both built-in /home headers omit its entry. Add the link to compact and default headers while keeping the existing feature and authentication settings authoritative, then cover the visibility matrix with focused component tests. Constraint: Keep the change frontend-only and preserve router-owned access control Rejected: Add the link to AppHeader only | /home renders its own headers and never mounts AppHeader Confidence: high Scope-risk: narrow Reversibility: clean Directive: Keep the model plaza entry gated by the existing opt-in flag and require-auth setting Tested: HomeView focused Vitest, full frontend Vitest (223 files / 1554 tests), ESLint, vue-tsc, production build Not-tested: Manual browser click-through against a running backend Related: #5524 --- frontend/src/views/HomeView.vue | 28 +++++++++ .../views/__tests__/HomeView.compact.spec.ts | 62 +++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/frontend/src/views/HomeView.vue b/frontend/src/views/HomeView.vue index ddb3e87e1..bde794ba0 100644 --- a/frontend/src/views/HomeView.vue +++ b/frontend/src/views/HomeView.vue @@ -40,6 +40,15 @@ > + + + +