a1ec25a441d7f1f01be048df53a82d9192680054
The file viewer fetched /files/:id/tags eagerly alongside the file on open, even though the Tags section sits below a full-viewport preview and is usually never seen — needless DB load per file open. Defer the tags fetch until the Tags section scrolls into view via an IntersectionObserver (200px rootMargin pre-load). Re-fetches when paging to another file while the section stays on-screen; shows a "Loading tags…" placeholder until loaded. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Description
🎋Tanabata — web file manager with tags!
5.6 MiB
Languages
Go
50%
Svelte
38.6%
TypeScript
8.8%
PLpgSQL
1.4%
Dockerfile
0.5%
Other
0.7%