mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-28 18:36:23 +02:00
feat: improve Obsidian connector visibility and desktop sync flow
This commit is contained in:
parent
e1e4bb4706
commit
204dac2c3a
4 changed files with 45 additions and 7 deletions
12
surfsense_web/atoms/folder-sync/folder-sync.atoms.ts
Normal file
12
surfsense_web/atoms/folder-sync/folder-sync.atoms.ts
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import { atom } from "jotai";
|
||||
|
||||
export interface SelectedFolder {
|
||||
path: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
// Atom to control the folder watch dialog open state
|
||||
export const folderWatchDialogOpenAtom = atom(false);
|
||||
|
||||
// Atom to store initial folder selection for the dialog
|
||||
export const folderWatchInitialFolderAtom = atom<SelectedFolder | null>(null);
|
||||
Loading…
Add table
Add a link
Reference in a new issue