1.11.3
1.11.3
Performance
Timeline renders fewer unnecessary updates
The event timeline now avoids re-rendering rows that have not changed. Scrolling through a long day of events is noticeably smoother on low-end devices.
Event sheet opens faster
Internal timer logic in the event logging sheet has been extracted into a dedicated useTimer hook and now runs more efficiently, reducing jank when the sheet first appears.
Infrastructure
- Dropped five frontend dependencies — axios, clsx, tailwind-merge, CVA, and tw-animate-css have been removed. Network calls now use the native
fetchAPI; utility CSS helpers are inlined. The production bundle is smaller as a result. - Added
isSleepEventhelper — a small shared utility now centralises thesleep_start/sleep_endtype-check that was previously duplicated across several files. - TypeScript cast clean-up — a handful of unsafe
ascasts in the frontend have been replaced with proper type narrowing. - Removed stale generated files —
CHANGELOG.md, a temporary dependency-analysis document, and two staleREADME.mdlines have been deleted. The.gitignorehas been updated to prevent similar artefacts from being committed in future. npm audit fix— locked transitive dependency versions to address low-severity audit findings.