From ef89d27496c8e7562d1a4d687f70b39f4354e910 Mon Sep 17 00:00:00 2001 From: Thomas Laure Date: Sat, 14 Mar 2026 19:26:57 +0100 Subject: [PATCH 1/2] feat(frontend): rename Dashboard to Feed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename the main page from Dashboard to Feed across the codebase: - Rename pages/Dashboard.tsx to pages/Feed.tsx - Update i18n keys: nav.dashboard → nav.feed, dashboard.* → feed.* - Update translations: "Dashboard"/"Tableau de bord" → "Feed" Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/App.tsx | 4 ++-- frontend/src/components/Layout/Sidebar.tsx | 2 +- frontend/src/i18n/locales/en.json | 6 +++--- frontend/src/i18n/locales/fr.json | 6 +++--- frontend/src/pages/{Dashboard.tsx => Feed.tsx} | 16 ++++++++-------- 5 files changed, 17 insertions(+), 17 deletions(-) rename frontend/src/pages/{Dashboard.tsx => Feed.tsx} (94%) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 788fe03..d6553fb 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -1,7 +1,7 @@ import { Routes, Route } from 'react-router-dom'; import AppLayout from './components/Layout/AppLayout'; import ProtectedRoute from './components/Auth/ProtectedRoute'; -import Dashboard from './pages/Dashboard'; +import Feed from './pages/Feed'; import CategoryPage from './pages/CategoryPage'; import BookmarksPage from './pages/BookmarksPage'; import ArticlePage from './pages/ArticlePage'; @@ -20,7 +20,7 @@ function App() { } /> }> }> - } /> + } /> } /> } /> } /> diff --git a/frontend/src/components/Layout/Sidebar.tsx b/frontend/src/components/Layout/Sidebar.tsx index 28651ab..87fbdf8 100644 --- a/frontend/src/components/Layout/Sidebar.tsx +++ b/frontend/src/components/Layout/Sidebar.tsx @@ -72,7 +72,7 @@ export default function Sidebar({ }; const navItems = [ - { label: t('nav.dashboard'), icon: , path: '/' }, + { label: t('nav.feed'), icon: , path: '/' }, { label: t('nav.feeds'), icon: , path: '/feeds' }, { label: t('nav.bookmarks'), icon: , path: '/bookmarks' }, ]; diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index 9d5c3d5..7da8856 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -10,7 +10,7 @@ "never": "Never" }, "nav": { - "dashboard": "Dashboard", + "feed": "Feed", "feeds": "Feeds", "bookmarks": "Bookmarks", "categories": "Categories", @@ -48,8 +48,8 @@ "resendButton": "Resend verification email", "backToSignIn": "Back to sign in" }, - "dashboard": { - "title": "Dashboard", + "feed": { + "title": "Feed", "unread": "{{count}} unread", "addCategory": "Category", "addFeed": "Add Feed", diff --git a/frontend/src/i18n/locales/fr.json b/frontend/src/i18n/locales/fr.json index f8bb6e7..8475b76 100644 --- a/frontend/src/i18n/locales/fr.json +++ b/frontend/src/i18n/locales/fr.json @@ -10,7 +10,7 @@ "never": "Jamais" }, "nav": { - "dashboard": "Tableau de bord", + "feed": "Feed", "feeds": "Flux", "bookmarks": "Favoris", "categories": "Catégories", @@ -48,8 +48,8 @@ "resendButton": "Renvoyer l'e-mail de vérification", "backToSignIn": "Retour à la connexion" }, - "dashboard": { - "title": "Tableau de bord", + "feed": { + "title": "Feed", "unread": "{{count}} non lu", "addCategory": "Catégorie", "addFeed": "Ajouter un flux", diff --git a/frontend/src/pages/Dashboard.tsx b/frontend/src/pages/Feed.tsx similarity index 94% rename from frontend/src/pages/Dashboard.tsx rename to frontend/src/pages/Feed.tsx index af02cec..983b6ec 100644 --- a/frontend/src/pages/Dashboard.tsx +++ b/frontend/src/pages/Feed.tsx @@ -17,7 +17,7 @@ import { useFeeds, useAddFeed } from '../hooks/useFeeds'; import { useBookmarks, useCreateBookmark, useDeleteBookmark } from '../hooks/useBookmarks'; import type { CreateCategoryInput, AddFeedInput } from '../types'; -export default function Dashboard() { +export default function Feed() { const { t } = useTranslation(); const [addFeedOpen, setAddFeedOpen] = useState(false); const [addCategoryOpen, setAddCategoryOpen] = useState(false); @@ -89,11 +89,11 @@ export default function Dashboard() { > - {t('dashboard.title')} + {t('feed.title')} 0 ? 'primary' : 'default'} variant={unreadOnly ? 'filled' : 'outlined'} @@ -108,7 +108,7 @@ export default function Dashboard() { startIcon={} onClick={() => setAddCategoryOpen(true)} > - {t('dashboard.addCategory')} + {t('feed.addCategory')} @@ -124,17 +124,17 @@ export default function Dashboard() { {categories.length === 0 && feeds.length === 0 ? ( - {t('dashboard.welcome')} + {t('feed.welcome')} - {t('dashboard.welcomeMessage')} + {t('feed.welcomeMessage')} ) : ( From c4128b4b2a83137ddf1f726f629839479cbc1c95 Mon Sep 17 00:00:00 2001 From: Thomas Laure Date: Sat, 14 Mar 2026 19:32:10 +0100 Subject: [PATCH 2/2] feat(frontend): rename page from Feed to Inbox Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/i18n/locales/en.json | 4 ++-- frontend/src/i18n/locales/fr.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index 7da8856..baf4921 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -10,7 +10,7 @@ "never": "Never" }, "nav": { - "feed": "Feed", + "feed": "Inbox", "feeds": "Feeds", "bookmarks": "Bookmarks", "categories": "Categories", @@ -49,7 +49,7 @@ "backToSignIn": "Back to sign in" }, "feed": { - "title": "Feed", + "title": "Inbox", "unread": "{{count}} unread", "addCategory": "Category", "addFeed": "Add Feed", diff --git a/frontend/src/i18n/locales/fr.json b/frontend/src/i18n/locales/fr.json index 8475b76..89b5d46 100644 --- a/frontend/src/i18n/locales/fr.json +++ b/frontend/src/i18n/locales/fr.json @@ -10,7 +10,7 @@ "never": "Jamais" }, "nav": { - "feed": "Feed", + "feed": "Inbox", "feeds": "Flux", "bookmarks": "Favoris", "categories": "Catégories", @@ -49,7 +49,7 @@ "backToSignIn": "Retour à la connexion" }, "feed": { - "title": "Feed", + "title": "Inbox", "unread": "{{count}} non lu", "addCategory": "Catégorie", "addFeed": "Ajouter un flux",