Skip to content

1.11.3

Choose a tag to compare

@IsabelleTan IsabelleTan released this 04 May 18:07
· 7 commits to main since this release
6d6d6e3

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 fetch API; utility CSS helpers are inlined. The production bundle is smaller as a result.
  • Added isSleepEvent helper — a small shared utility now centralises the sleep_start / sleep_end type-check that was previously duplicated across several files.
  • TypeScript cast clean-up — a handful of unsafe as casts in the frontend have been replaced with proper type narrowing.
  • Removed stale generated filesCHANGELOG.md, a temporary dependency-analysis document, and two stale README.md lines have been deleted. The .gitignore has been updated to prevent similar artefacts from being committed in future.
  • npm audit fix — locked transitive dependency versions to address low-severity audit findings.