feat(core): persist right-sidebar open state and resize width (#10120)

This commit is contained in:
CatsJuice
2025-02-13 05:25:09 +00:00
parent 9321ce94a7
commit 85addad18f
5 changed files with 58 additions and 13 deletions

View File

@@ -4,7 +4,6 @@ import { atom } from 'jotai';
* @deprecated use `useSignOut` hook instated
*/
export const openQuotaModalAtom = atom(false);
export const rightSidebarWidthAtom = atom(320);
export type AllPageFilterOption = 'docs' | 'collections' | 'tags';
export const allPageFilterSelectAtom = atom<AllPageFilterOption>('docs');