fix(keep-notes): sidebar chevron, labels sync, batch org errors, perf guards
- Notebooks: chevron visible when expanded (remove overflow clip), functional expand state - Labels: sync/cleanup by notebookId, reconcile after note move - Settings: refresh notebooks after cleanup; label dialog routing - ConnectionsBadge lazy-load; reminder check persistence; i18n keys Made-with: Cursor
This commit is contained in:
@@ -54,6 +54,9 @@ export interface NotebooksContextValue {
|
||||
// Actions: Notes
|
||||
moveNoteToNotebookOptimistic: (noteId: string, notebookId: string | null) => Promise<void>
|
||||
|
||||
/** Recharger la liste des carnets (ex. après maintenance étiquettes) */
|
||||
refreshNotebooks: () => Promise<void>
|
||||
|
||||
// Actions: AI (stubs pour l'instant)
|
||||
suggestNotebookForNote: (noteContent: string) => Promise<Notebook | null>
|
||||
suggestLabelsForNote: (noteContent: string, notebookId: string) => Promise<string[]>
|
||||
@@ -262,6 +265,7 @@ export function NotebooksProvider({ children, initialNotebooks = [] }: Notebooks
|
||||
updateLabel,
|
||||
deleteLabel,
|
||||
moveNoteToNotebookOptimistic,
|
||||
refreshNotebooks: loadNotebooks,
|
||||
suggestNotebookForNote,
|
||||
suggestLabelsForNote,
|
||||
}), [
|
||||
@@ -279,6 +283,7 @@ export function NotebooksProvider({ children, initialNotebooks = [] }: Notebooks
|
||||
updateLabel,
|
||||
deleteLabel,
|
||||
moveNoteToNotebookOptimistic,
|
||||
loadNotebooks,
|
||||
suggestNotebookForNote,
|
||||
suggestLabelsForNote,
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user