feat: improve Obsidian connector visibility and desktop sync flow

This commit is contained in:
Oscar Zhou 2026-04-14 19:07:14 +09:30
parent e1e4bb4706
commit 204dac2c3a
4 changed files with 45 additions and 7 deletions

View 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);