Bibliothèque : tags perso, actions groupées et « Annuler »

- Tags personnels libres sur chaque titre (fiche → Mon suivi), affichés discrètement
  dans la fiche, filtre par tag dans le catalogue, suggestions = tags déjà utilisés.
  Synchronisés avec la fiche (JSON), inclus dans l'export/import (et repris des tags
  de l'ancienne appli). Privés : retirés par public_item (migration) et côté client.
- Actions groupées dans le catalogue : appui long (mobile), case au survol (ordinateur)
  ou bouton « Sélectionner » ; tout sélectionner, compteur ; statut, listes (ajout /
  retrait), tag (ajout / retrait), suppression avec confirmation. Échap / retour quittent.
- Toast global accessible (role=status) avec « Annuler » (~6 s) après suppression,
  changement de statut, retrait d'une liste, actions groupées. La restauration remet la
  fiche à l'identique avec un updatedAt plus récent que la suppression : la synchro LWW
  recrée bien la fiche côté serveur.
- Store : updateMany, removeMany, restore.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVo1qxKoBQCaMd7Ue8PGbe
This commit is contained in:
Claude committed 2026-10-09 15:16:32 +00:00
1 parent c246b16e7e
commit 94c27739b2
35 files changed
+1795 -22

No files matched your search

+48
View File
@@ -897,6 +897,54 @@ const dict: Translations = {
'sync.pending_one': "{count} change waiting",
'sync.pending_other': "{count} changes waiting",
'sync.now': "Sync now",
// — Bibliothèque : tags perso, actions groupées, « Annuler » —
"tags.label": "Personal tags",
"tags.placeholder": "comfort, halloween, rewatch with Lea…",
"tags.private": "Only you can see them, never on your profile.",
"tags.filter": "Personal tags",
"select.start": "Select",
"select.exit": "Exit selection",
"select.all": "Select all",
"select.none": "Deselect all",
"select.toggle": "Select “{title}”",
"select.actions": "Selection actions",
"select.status": "Status",
"select.list": "List",
"select.tag": "Tag",
"select.noLists": "No lists yet — create one below.",
"select.inList": "Already in: {n}/{total}",
"select.addTo": "Add to “{list}”",
"select.removeFrom": "Remove from “{list}”",
"select.removeTag": "Remove a tag",
"toast.undo": "Undo",
"toast.undone": "Undone",
"toast.undoFailed": "Couldn’t undo",
"toast.deleted": "“{title}” deleted",
"toast.status": "“{title}” → {status}",
"toast.removedFromList": "“{title}” removed from “{list}”",
"select.count_zero": "No titles selected",
"select.count_one": "{count} selected",
"select.count_other": "{count} selected",
"select.statusTitle_one": "Status of {count} title",
"select.statusTitle_other": "Status of {count} titles",
"select.listTitle_one": "Lists · {count} title",
"select.listTitle_other": "Lists · {count} titles",
"select.tagTitle_one": "Tag · {count} title",
"select.tagTitle_other": "Tag · {count} titles",
"select.deleteConfirm_one": "Delete {count} title from your library?",
"select.deleteConfirm_other": "Delete {count} titles from your library?",
"toast.deletedMany_one": "{count} title deleted",
"toast.deletedMany_other": "{count} titles deleted",
"toast.statusMany_one": "{count} title → {status}",
"toast.statusMany_other": "{count} titles → {status}",
"toast.addedToList_one": "{count} title added to “{list}”",
"toast.addedToList_other": "{count} titles added to “{list}”",
"toast.removedFromListMany_one": "{count} title removed from “{list}”",
"toast.removedFromListMany_other": "{count} titles removed from “{list}”",
"toast.tagged_one": "#{tag} added to {count} title",
"toast.tagged_other": "#{tag} added to {count} titles",
"toast.untagged_one": "#{tag} removed from {count} title",
"toast.untagged_other": "#{tag} removed from {count} titles",
}
export default dict