bettersight-statement-extra.../frontend/src
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
..
assets Add per-project document hierarchy to the sidebar; fix dropdown hover gap 2026-10-13 09:46:20 -04:00
components Add per-project document hierarchy to the sidebar; fix dropdown hover gap 2026-10-13 09:46:20 -04:00
composables Add document delete/rename, merge Result into the transactions top bar 2026-10-13 09:13:17 -04:00
repositories Move document persistence from localStorage to PocketBase (Stage B.2) 2026-10-13 06:41:51 -04:00
router Restructure frontend to Vue 3 + Vite (Stage 2 of 2) 2026-10-12 06:32:49 -04:00
services Add document delete/rename, merge Result into the transactions top bar 2026-10-13 09:13:17 -04:00
stores Add document delete/rename, merge Result into the transactions top bar 2026-10-13 09:13:17 -04:00
views Add document delete/rename, merge Result into the transactions top bar 2026-10-13 09:13:17 -04:00
App.vue Rebuild the app shell as an enterprise header/sidebar/footer layout 2026-10-13 08:05:55 -04:00
main.js Rebuild the app shell as an enterprise header/sidebar/footer layout 2026-10-13 08:05:55 -04:00