From 5f149c8e64f478f02c5128fe3b4c27cdec1fe3d6 Mon Sep 17 00:00:00 2001 From: R0m1k3 Date: Thu, 12 Feb 2026 12:52:42 +0100 Subject: [PATCH] feat(ui): compact dashboard widget and improve focus exit button --- web/src/pages/DashboardPage.tsx | 24 ++++++++++++------------ web/src/pages/FocusPage.tsx | 13 +++++++++---- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/web/src/pages/DashboardPage.tsx b/web/src/pages/DashboardPage.tsx index 9695979..126597f 100644 --- a/web/src/pages/DashboardPage.tsx +++ b/web/src/pages/DashboardPage.tsx @@ -241,34 +241,34 @@ export function DashboardPage({ selectedFeedId, onEnterFocus }: DashboardPagePro - {/* Focus Mode CTA Widget */} + {/* Focus Mode CTA Widget - Compact Version */} {!selectedFeedId && articles && articles.length > 0 && ( -
+
{/* decorative circles */} -
-
+
+
-
-
- +
+
+ Nouveauté
-

+

Votre session de lecture

-

- {articles.filter(a => !a.is_read).length} articles non lus vous attendent. Passez en mode Focus pour une lecture fluide et sans distraction. +

+ {articles.filter(a => !a.is_read).length} articles non lus. Passez en mode Focus.

diff --git a/web/src/pages/FocusPage.tsx b/web/src/pages/FocusPage.tsx index 0762beb..d257177 100644 --- a/web/src/pages/FocusPage.tsx +++ b/web/src/pages/FocusPage.tsx @@ -76,12 +76,17 @@ export function FocusPage({ onExit }: FocusPageProps) {