SurfSense/surfsense_web/components/layout
suryo12 ddae506631 refactor(web): replace slideout panel window event with jotai atom (fixes #1358)
Replace the `SLIDEOUT_PANEL_OPENED_EVENT` window event with a
`slideoutOpenedTickAtom` jotai atom. The dispatcher in
`SidebarSlideOutPanel` now bumps the tick via `useSetAtom`, and the
listener in `Thread` reads it via `useAtomValue` and reacts on change
behind a ref guard that skips the initial render — preserving the
one-shot-per-open semantics of the previous event.

This removes the implicit cross-module string contract, makes the
signal traceable through React DevTools / jotai inspector, and lets
TypeScript catch typos that the string-based event API silently
swallowed.
2026-05-24 16:41:47 +07:00
..
hooks chore: ran linting 2026-05-19 21:02:07 +05:30
providers feat: add TeamPage component and remove TeamDialog for improved team management interface 2026-05-19 11:40:06 +05:30
types refactor: update LayoutDataProvider and NavSection components to use DocumentsProcessingStatus for improved document processing status handling 2026-03-08 21:16:52 +05:30
ui refactor(web): replace slideout panel window event with jotai atom (fixes #1358) 2026-05-24 16:41:47 +07:00
index.ts Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00