mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-02 20:32:39 +02:00
feat: implement RightPanel component for tabbed navigation between Sources and Report; update report panel handling in dashboard chat page for improved user experience
This commit is contained in:
parent
8b468e06da
commit
414dceff2f
9 changed files with 259 additions and 87 deletions
8
surfsense_web/atoms/layout/right-panel.atom.ts
Normal file
8
surfsense_web/atoms/layout/right-panel.atom.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { atom } from "jotai";
|
||||
|
||||
export type RightPanelTab = "sources" | "report";
|
||||
|
||||
export const rightPanelTabAtom = atom<RightPanelTab>("sources");
|
||||
|
||||
/** Whether the right panel is collapsed (hidden but state preserved) */
|
||||
export const rightPanelCollapsedAtom = atom(false);
|
||||
Loading…
Add table
Add a link
Reference in a new issue