perf(overview): faster KPI load #13

Merged
mrouissi merged 2 commits from perf/overview-load into main 2026-07-06 20:10:17 +02:00
Owner

Speeds up the Übersicht load: (1) working_time query now selects only the columns actually used - drops the unused project/activity/subproject embeds; (2) caches the working_time result per user+range so switching Übersicht<->Stundenzettel doesn't refetch; (3) shows the KPI card skeleton instantly instead of a single 'wird geladen' line.

Speeds up the Übersicht load: (1) working_time query now selects only the columns actually used - drops the unused project/activity/subproject embeds; (2) caches the working_time result per user+range so switching Übersicht<->Stundenzettel doesn't refetch; (3) shows the KPI card skeleton instantly instead of a single 'wird geladen' line.
perf(overview): slim working_time query, cache it, skeleton KPI cards
All checks were successful
CI / lint (pull_request) Successful in 2s
CI / lint (push) Successful in 1s
a7a4448676
perf(overview): server-side aggregation for KPIs (tiny payload for long ranges)
All checks were successful
CI / lint (push) Successful in 2s
CI / lint (pull_request) Successful in 1s
f9723862a1
mrouissi deleted branch perf/overview-load 2026-07-06 20:10:17 +02:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Apps/timedb-php!13
No description provided.