fix(ui): sélection groupée dans la boîte de réception
All checks were successful
CI / Lint, Unit Tests & Build (push) Successful in 7m17s
CI / Deploy production (on server) (push) Successful in 24s

Permet de cocher plusieurs notes, les déplacer vers un carnet ou les envoyer à la corbeille, et rend la carte mentale plus lisible.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Antigravity
2026-09-01 19:40:10 +00:00
parent 4fc5e3ce04
commit a7b16870a4
15 changed files with 509 additions and 37 deletions

View File

@@ -17,6 +17,7 @@ type MoveToNotebookPickerProps = {
children: React.ReactElement
align?: 'start' | 'end'
preferDropUp?: boolean
showGeneralNotes?: boolean
}
export function MoveToNotebookPicker({
@@ -26,6 +27,7 @@ export function MoveToNotebookPicker({
children,
align = 'end',
preferDropUp = false,
showGeneralNotes = true,
}: MoveToNotebookPickerProps) {
const { t } = useLanguage()
const [open, setOpen] = useState(false)
@@ -91,7 +93,7 @@ export function MoveToNotebookPicker({
selectedId={currentNotebookId}
onSelect={(id) => handleSelect(id)}
onClose={close}
showGeneralNotes
showGeneralNotes={showGeneralNotes}
generalNotesLabel={t('notebookSuggestion.generalNotes') || 'Notes générales'}
onSelectGeneralNotes={() => handleSelect(null)}
searchPlaceholder={t('notebookSuggestion.filterNotebooks') || 'Filtrer les carnets…'}