feat: notifications inbox page

The bell only ever showed the last 30; add a full paginated /notifications
page, per-notification mark-read, and a shared notificationHref helper so
the bell and the page route identically instead of duplicating the logic.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Arnaud
2026-07-10 07:57:17 +02:00
parent 45b886e398
commit 913410dbf3
9 changed files with 265 additions and 12 deletions
+6
View File
@@ -24,6 +24,12 @@
"title": "Notifications",
"empty": "No notifications yet.",
"markAllRead": "Mark all as read",
"viewAll": "View all",
"loading": "Loading…",
"loadMore": "Load more",
"loadFailed": "Failed to load notifications. Check your connection and try again.",
"retry": "Retry",
"unread": "Unread",
"follow": "{name} followed you",
"comment": "{name} commented on your recipe",
"reply": "{name} replied to your comment",
+6
View File
@@ -24,6 +24,12 @@
"title": "Notifications",
"empty": "Aucune notification pour l'instant.",
"markAllRead": "Tout marquer comme lu",
"viewAll": "Tout voir",
"loading": "Chargement…",
"loadMore": "Charger plus",
"loadFailed": "Échec du chargement des notifications. Vérifiez votre connexion et réessayez.",
"retry": "Réessayer",
"unread": "Non lu",
"follow": "{name} vous suit désormais",
"comment": "{name} a commenté votre recette",
"reply": "{name} a répondu à votre commentaire",