refactor(web): replace face hover with overlay elements and migrate people store to manager

Replace listener-based mouse hit-testing with per-face overlay elements for face hover
detection, and migrate people store state to AssetViewerManager.

- Render invisible divs for each face as pointer-event hover targets
- Show white border + name tooltip on active hover
- Add face bounding box markers to photo sphere viewer (panorama support)
- Migrate boundingBoxesArray/showingHiddenPeople from people.store.ts to AssetViewerManager
- Delete people.store.ts (Faces interface moved to asset-viewer-manager)

Change-Id: Ied4c3894cc58874ed65725dcb8cc7ce86a6a6964
This commit is contained in:
midzelis
2026-03-27 22:29:44 +00:00
parent 3356e81c85
commit bb7aa27e91
8 changed files with 103 additions and 87 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
import type { Faces } from '$lib/stores/people.store';
import type { Faces } from '$lib/managers/asset-viewer-manager.svelte';
import type { Size } from '$lib/utils/container-utils';
import { getBoundingBox } from '$lib/utils/people-utils';