Unify time tracking on server-backed entries with updateRunning.

Consolidates dashboard and invoice timers onto shared time-entry APIs so clock-in state, invoice linking, and clock-out flow stay consistent across surfaces.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-17 22:36:39 -04:00
co-authored by Cursor
parent 81a0ce33a4
commit 5c28b33e9f
15 changed files with 730 additions and 373 deletions
-5
View File
@@ -490,7 +490,6 @@ function CardSkeleton() {
}
import { DashboardPageHeader } from "~/components/layout/page-header";
import { ActiveTimerWidget } from "~/app/dashboard/_components/active-timer-widget";
// ... imports
@@ -511,10 +510,6 @@ export default async function DashboardPage() {
description="Here's what's happening with your business today"
/>
<HydrateClient>
<ActiveTimerWidget />
</HydrateClient>
<HydrateClient>
<Suspense fallback={<StatsSkeleton />}>
<DashboardStats stats={stats} />