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} Änderung ausstehend",
'sync.pending_other': "{count} Änderungen ausstehend",
'sync.now': "Jetzt synchronisieren",
// — Bibliothèque : tags perso, actions groupées, « Annuler » —
"tags.label": "Eigene Tags",
"tags.placeholder": "comfort, halloween, mit Lea nochmal schauen…",
"tags.private": "Nur für dich sichtbar, nie auf deinem Profil.",
"tags.filter": "Eigene Tags",
"select.start": "Auswählen",
"select.exit": "Auswahl beenden",
"select.all": "Alle auswählen",
"select.none": "Auswahl aufheben",
"select.toggle": "„{title}“ auswählen",
"select.actions": "Aktionen für die Auswahl",
"select.status": "Status",
"select.list": "Liste",
"select.tag": "Tag",
"select.noLists": "Noch keine Listen – erstelle unten eine.",
"select.inList": "Schon drin: {n}/{total}",
"select.addTo": "Zu „{list}“ hinzufügen",
"select.removeFrom": "Aus „{list}“ entfernen",
"select.removeTag": "Tag entfernen",
"toast.undo": "Rückgängig",
"toast.undone": "Rückgängig gemacht",
"toast.undoFailed": "Rückgängig machen fehlgeschlagen",
"toast.deleted": "„{title}“ gelöscht",
"toast.status": "„{title}“ → {status}",
"toast.removedFromList": "„{title}“ aus „{list}“ entfernt",
"select.count_zero": "Kein Titel ausgewählt",
"select.count_one": "{count} ausgewählt",
"select.count_other": "{count} ausgewählt",
"select.statusTitle_one": "Status von {count} Titel",
"select.statusTitle_other": "Status von {count} Titeln",
"select.listTitle_one": "Listen · {count} Titel",
"select.listTitle_other": "Listen · {count} Titel",
"select.tagTitle_one": "Tag · {count} Titel",
"select.tagTitle_other": "Tag · {count} Titel",
"select.deleteConfirm_one": "{count} Titel aus deiner Bibliothek löschen?",
"select.deleteConfirm_other": "{count} Titel aus deiner Bibliothek löschen?",
"toast.deletedMany_one": "{count} Titel gelöscht",
"toast.deletedMany_other": "{count} Titel gelöscht",
"toast.statusMany_one": "{count} Titel → {status}",
"toast.statusMany_other": "{count} Titel → {status}",
"toast.addedToList_one": "{count} Titel zu „{list}“ hinzugefügt",
"toast.addedToList_other": "{count} Titel zu „{list}“ hinzugefügt",
"toast.removedFromListMany_one": "{count} Titel aus „{list}“ entfernt",
"toast.removedFromListMany_other": "{count} Titel aus „{list}“ entfernt",
"toast.tagged_one": "#{tag} zu {count} Titel hinzugefügt",
"toast.tagged_other": "#{tag} zu {count} Titeln hinzugefügt",
"toast.untagged_one": "#{tag} von {count} Titel entfernt",
"toast.untagged_other": "#{tag} von {count} Titeln entfernt",
}
export default dict