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} wijziging in wachtrij",
'sync.pending_other': "{count} wijzigingen in wachtrij",
'sync.now': "Nu synchroniseren",
// — Bibliothèque : tags perso, actions groupées, « Annuler » —
"tags.label": "Eigen tags",
"tags.placeholder": "comfort, halloween, opnieuw kijken met Lea…",
"tags.private": "Alleen voor jou zichtbaar, nooit op je profiel.",
"tags.filter": "Eigen tags",
"select.start": "Selecteren",
"select.exit": "Selectie sluiten",
"select.all": "Alles selecteren",
"select.none": "Alles deselecteren",
"select.toggle": "‘{title}’ selecteren",
"select.actions": "Acties voor de selectie",
"select.status": "Status",
"select.list": "Lijst",
"select.tag": "Tag",
"select.noLists": "Nog geen lijsten — maak er hieronder een.",
"select.inList": "Er al in: {n}/{total}",
"select.addTo": "Toevoegen aan ‘{list}’",
"select.removeFrom": "Verwijderen uit ‘{list}’",
"select.removeTag": "Tag verwijderen",
"toast.undo": "Ongedaan maken",
"toast.undone": "Ongedaan gemaakt",
"toast.undoFailed": "Ongedaan maken mislukt",
"toast.deleted": "‘{title}’ verwijderd",
"toast.status": "‘{title}’ → {status}",
"toast.removedFromList": "‘{title}’ verwijderd uit ‘{list}’",
"select.count_zero": "Geen titels geselecteerd",
"select.count_one": "{count} geselecteerd",
"select.count_other": "{count} geselecteerd",
"select.statusTitle_one": "Status van {count} titel",
"select.statusTitle_other": "Status van {count} titels",
"select.listTitle_one": "Lijsten · {count} titel",
"select.listTitle_other": "Lijsten · {count} titels",
"select.tagTitle_one": "Tag · {count} titel",
"select.tagTitle_other": "Tag · {count} titels",
"select.deleteConfirm_one": "{count} titel uit je bibliotheek verwijderen?",
"select.deleteConfirm_other": "{count} titels uit je bibliotheek verwijderen?",
"toast.deletedMany_one": "{count} titel verwijderd",
"toast.deletedMany_other": "{count} titels verwijderd",
"toast.statusMany_one": "{count} titel → {status}",
"toast.statusMany_other": "{count} titels → {status}",
"toast.addedToList_one": "{count} titel toegevoegd aan ‘{list}’",
"toast.addedToList_other": "{count} titels toegevoegd aan ‘{list}’",
"toast.removedFromListMany_one": "{count} titel verwijderd uit ‘{list}’",
"toast.removedFromListMany_other": "{count} titels verwijderd uit ‘{list}’",
"toast.tagged_one": "#{tag} toegevoegd aan {count} titel",
"toast.tagged_other": "#{tag} toegevoegd aan {count} titels",
"toast.untagged_one": "#{tag} verwijderd van {count} titel",
"toast.untagged_other": "#{tag} verwijderd van {count} titels",
}
export default dict