Files
MODSetter-SurfSense/surfsense_web
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
..
2026-03-27 03:17:05 -07:00
2026-05-21 21:01:10 -07:00
2026-05-12 04:00:04 +05:30
2026-04-27 14:04:50 -07:00
2025-04-07 23:47:06 -07:00
2026-05-21 21:01:10 -07:00
2026-02-17 12:47:39 +05:30
2025-10-15 14:38:26 -07:00
2025-04-07 23:47:06 -07:00
2026-05-21 14:44:33 -07:00
2026-05-12 04:00:04 +05:30
2026-05-15 11:55:30 -07:00
2026-05-15 11:55:30 -07:00
2026-02-10 19:06:21 +05:30