bettersight-statement-extra.../frontend
JasonFraser 9c2dbdf591 Add per-project document hierarchy to the sidebar; fix dropdown hover gap
ProjectSidebar: each project now expands (chevron toggle) into its own
lazy-loaded document list - click a document to open it in the main
view, or delete it via the same two-step ConfirmModal pattern already
used elsewhere (Move to project, DocumentNavBar's own delete). Deleting
from here keeps both the sidebar's cached list and the main workspace
(extractionStore) in sync.

Also fixes a real reported bug: the Results dropdown closed when the
mouse moved slowly from the toggle down to the checks list, but stayed
open on a fast drag. Root cause: the panel's 8px gap was a `top`
positioning offset, which doesn't extend its relatively-positioned
parent's own hoverable box - that gap sat outside the hover zone
entirely, so crossing it slowly let a genuine mouseleave fire first.
Fixed by moving the gap into padding on an invisible wrapper instead of
a positioning offset, so the whole hover path - button, gap, and panel
- is one continuous box with no dead zone.

Verified: npm run build passes; the served bundle contains the new
class names. The two new Vue reactivity patterns (a reactive Set via
ref(new Set()), and dynamic keys on a reactive({}) object) were each
executed directly against real Vue reactivity, not assumed - both
correct. measure.py unaffected. Not machine-verified: the actual
interactive behavior - Claude-in-Chrome did not connect this session.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-13 09:46:20 -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 Add per-project document hierarchy to the sidebar; fix dropdown hover gap 2026-10-13 09:46:20 -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 Rebuild the app shell as an enterprise header/sidebar/footer layout 2026-10-13 08:05:55 -04:00
package.json Rebuild the app shell as an enterprise header/sidebar/footer layout 2026-10-13 08:05:55 -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.