SurfSense/surfsense_web/components/layout/ui
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
..
dialogs refactor: optimize button rendering in CreateSearchSpaceDialog and enhance watched folder ID retrieval in DocumentsSidebar 2026-04-08 16:17:34 +05:30
header Merge remote-tracking branch 'upstream/dev' into feat/ui-revamp 2026-04-29 12:43:30 +05:30
icon-rail refactor: replace ContextMenu with DropdownMenu in SearchSpaceAvatar for improved mobile and desktop interactions 2026-05-21 00:19:59 +05:30
right-panel feat: improve document editor panel behavior 2026-05-20 02:02:59 +05:30
shell feat: add collapsed header content support in LayoutShell and Sidebar components 2026-05-19 20:58:19 +05:30
sidebar refactor(web): replace slideout panel window event with jotai atom (fixes #1358) 2026-05-24 16:41:47 +07:00
tabs refactor(env): consolidate BACKEND_URL imports in GoogleLoginButton and DocumentTabContent 2026-05-21 00:54:22 +05:30
index.ts Merge branch 'dev' into implement-surfsense-docs-mentions 2026-01-13 00:55:16 -08:00