feat(ui): panneau repliable, carnets plus lisibles et accueil plus clair
Harmonise la liste des notes et l’éditeur (titres, dates, retour), rend la saisie rapide et les raccourcis de l’accueil utilisables sur téléphone, et conserve le panneau latéral repliable.
This commit is contained in:
@@ -38,13 +38,12 @@ export function InboxBulkBar({
|
||||
>
|
||||
{allSelected ? t('notes.deselectAll') : t('notes.selectAll')}
|
||||
</button>
|
||||
<span className="text-[12px] text-muted-foreground">
|
||||
{hasSelection && <span className="text-[12px] text-muted-foreground" aria-live="polite">
|
||||
{selectedCount === 1
|
||||
? t('notes.selectedCountOne')
|
||||
: t('notes.selectedCount', { count: selectedCount })}
|
||||
</span>
|
||||
<div className="flex items-center gap-2 ms-auto">
|
||||
{hasSelection ? (
|
||||
</span>}
|
||||
{hasSelection && <div className="flex items-center gap-2 ms-auto">
|
||||
<MoveToNotebookPicker
|
||||
notebooks={notebooks}
|
||||
currentNotebookId={null}
|
||||
@@ -62,16 +61,6 @@ export function InboxBulkBar({
|
||||
{t('notes.bulkMove')}
|
||||
</button>
|
||||
</MoveToNotebookPicker>
|
||||
) : (
|
||||
<button
|
||||
type="button"
|
||||
disabled
|
||||
className="flex items-center gap-1.5 px-3 py-1.5 rounded-full text-[12px] font-medium border border-transparent text-muted-foreground/50 cursor-not-allowed"
|
||||
>
|
||||
<FolderOpen size={14} />
|
||||
{t('notes.bulkMove')}
|
||||
</button>
|
||||
)}
|
||||
<button
|
||||
type="button"
|
||||
disabled={!hasSelection || busy}
|
||||
@@ -86,7 +75,7 @@ export function InboxBulkBar({
|
||||
<Trash2 size={14} />
|
||||
{t('notes.bulkTrash')}
|
||||
</button>
|
||||
</div>
|
||||
</div>}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user