bettersight-statement-extra.../frontend
JasonFraser c18492bee4 Layout mapper L.8: superuser review screen (completes the L.1-L.8 plan)
New AdminLayoutReviewView.vue (/admin/layouts), rendered by App.vue
outside the normal authStore-gated shell entirely - a PocketBase
superuser is never a `users` record. Its own inline login against
pbAdmin's `_superusers` collection; lists every private mapping across
every owner (a superuser session bypasses collection rules); each row
expands into a read-only SourceDocumentPanel inspection (reusing L.7's
labeled-strip pattern) plus an Approve action that promotes straight to
shared, independent of the two-user confirmation hook.

adminLayoutsService.js gains getSourceDocument()/sourceFileUrl(), both
routed through pbAdmin since the mapping's sourceDocument belongs to its
owner, not the superuser.

Verified end to end against the real running stack (15 assertions via
the actual service files, not reimplementations): a fresh app user's
private mapping is visible to and approvable by the real superuser, its
source file round-trips byte-for-byte, and a completely independent
third-party user immediately resolves the now-shared mapping via
findByFingerprintHash. npm run build passes; app container rebuilt.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-15 05:30:14 -04:00
..
.vscode Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
public Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
src Layout mapper L.8: superuser review screen (completes the L.1-L.8 plan) 2026-10-15 05:30:14 -04:00
.gitignore Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
README.md Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
index.html Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
package-lock.json Replace the native PDF iframe with a pdf.js viewer for row highlighting 2026-10-13 11:26:48 -04:00
package.json Replace the native PDF iframe with a pdf.js viewer for row highlighting 2026-10-13 11:26:48 -04:00
vite.config.js Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00

README.md

Vue 3 + Vite

This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.