Trim comments to the non-obvious why
Test and deploy / test (push) Successful in 28s
Test and deploy / deploy (push) Successful in 31s

Drop narration, history and restated-code comments across the repo,
keep short ones for security boundaries, upstream quirks and ordering
constraints, and record the convention in CLAUDE.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-11-24 20:49:03 +00:00
co-authored by Claude Opus 5.5
parent effddd2794
commit 4530cb8dc4
222 changed files with 1173 additions and 5423 deletions
+2 -11
View File
@@ -1,16 +1,7 @@
<script setup>
/**
* Routes `/account` and `/no-access` (both `meta.requiresSignIn`): the landing
* page for a signed-in account that is not an admin, listing the gated
* services it has been granted (backend/services/permissions.go) as links.
*
* `/no-access` is where Caddy's permission gate sends a signed-in visitor who
* lacks the permission (`@auth_forbidden`, with the refused address in
* `?path=`). It is this same page with a notice on top, since "what can I
* open instead" is the useful answer to "you can't open that".
*
* The links are plain <a href>, not RouterLinks: every service lives in
* another container behind Caddy, so it needs a real page load.
* `/account` and `/no-access` (Caddy's permission gate refusal): the services
* this account may open. Plain <a href>, since they live behind Caddy.
*/
import { ref, computed, onMounted } from "vue";
import { useRoute, useRouter } from "vue-router";