diff --git a/frontend/src/components/Dashboard/ContributionHeatmap.jsx b/frontend/src/components/Dashboard/ContributionHeatmap.jsx index d6f23ffb..f46bd094 100644 --- a/frontend/src/components/Dashboard/ContributionHeatmap.jsx +++ b/frontend/src/components/Dashboard/ContributionHeatmap.jsx @@ -135,24 +135,24 @@ export default function ContributionHeatmap({ tasks = [], routineTasks = [] }) {
+
Tracking real routines & task completions from your live daily workflow.
Keep the fire burning!
+Keep the fire burning!
Your peak productivity
+Your peak productivity
@@ -245,7 +245,7 @@ export default function ContributionHeatmap({ tasks = [], routineTasks = [] }) {Days with active completions
+Days with active completions
@@ -259,7 +259,7 @@ export default function ContributionHeatmap({ tasks = [], routineTasks = [] }) {Average daily task completion rate
+Average daily task completion rate
diff --git a/frontend/src/components/Dashboard/DashboardTasks.jsx b/frontend/src/components/Dashboard/DashboardTasks.jsx index 358cb994..480498f1 100644 --- a/frontend/src/components/Dashboard/DashboardTasks.jsx +++ b/frontend/src/components/Dashboard/DashboardTasks.jsx @@ -171,7 +171,7 @@ export default function DashboardTasks({ tasks, updateTask }) { min="1" value={actualDuration} onChange={(e) => setActualDuration(e.target.value)} - className="w-full p-2 border border-soft rounded-lg text-black" + className="w-full p-2 border border-soft rounded-lg text-black dark:placeholder-slate-500" placeholder="Actual duration in minutes" />Daily Completion
+Daily Completion
{completedToday} / {totalToday}
-Tasks done today{totalToday > 0 ? ` โ ${completionRate}%` : ""}
+Tasks done today{totalToday > 0 ? ` โ ${completionRate}%` : ""}
Weekly Momentum
+Weekly Momentum
{weeklyCompletionPercent}%
-{weeklyText}
+{weeklyText}
Productivity Insight
+Productivity Insight
{insightText}
-+
{upcomingCount > 0 ? `Next: ${upcomingCount} upcoming task${upcomingCount > 1 ? "s" : ""}` : "No upcoming tasks"} {" ยท "} {tasks?.length ? `${tasks.length} total` : "0 total"} diff --git a/frontend/src/components/Dashboard/StatCard.jsx b/frontend/src/components/Dashboard/StatCard.jsx index fa8a6982..74458a82 100644 --- a/frontend/src/components/Dashboard/StatCard.jsx +++ b/frontend/src/components/Dashboard/StatCard.jsx @@ -4,9 +4,9 @@ export default function StatCard({ label, value, subtitle, icon }) {
{label}
+{label}
{value}
- {subtitle &&{subtitle}
} + {subtitle &&{subtitle}
}+
We're sorry, but an unexpected error occurred. The application has recovered from a crash, but you might need to refresh or return to the dashboard.
{this.state.error && ( diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx index f9b10ecd..6f36daef 100644 --- a/frontend/src/components/Navbar.jsx +++ b/frontend/src/components/Navbar.jsx @@ -62,7 +62,7 @@ const LogoutModal = ({ isOpen, onConfirm, onCancel }) => (+
You'll need to log back in to access your dashboard, tasks, and routines.
diff --git a/frontend/src/components/Routine/TaskLibrary.jsx b/frontend/src/components/Routine/TaskLibrary.jsx index 2fd0a669..3705b666 100644 --- a/frontend/src/components/Routine/TaskLibrary.jsx +++ b/frontend/src/components/Routine/TaskLibrary.jsx @@ -113,7 +113,7 @@ export default function TaskLibrary({ tasks, onAddTask }) { placeholder="Search tasks..." value={query} onChange={(e) => setQuery(e.target.value)} - className="mb-4 rounded-xl border border-soft/80 px-3 py-2 text-sm bg-transparent text-main placeholder:text-muted dark:bg-slate-800 dark:text-white dark:border-gray-700 dark:placeholder:text-gray-400 focus:outline-none focus:ring-2 focus:ring-[#4eb7b3]" + className="mb-4 rounded-xl border border-soft/80 px-3 py-2 text-sm bg-transparent text-main placeholder:text-muted dark:bg-slate-800 dark:text-white dark:border-gray-700 dark:placeholder-slate-500 focus:outline-none focus:ring-2 focus:ring-[#4eb7b3]" /> {/* Task List */} @@ -132,7 +132,7 @@ export default function TaskLibrary({ tasks, onAddTask }) { ) : (No tasks found
-We couldn't find anything matching "{query}"
+We couldn't find anything matching "{query}"