Commit Graph
3 Commits
Author SHA1 Message Date
minhtrannhatandClaude Opus 5.5 c90c0ddf9d Add the Nord theme and make it the default
The theme picker shows NORD, MOCHA and LATTE. Nord is the base theme
in the CSS, the browser bar color and the PWA manifest. The startup
script applies the theme before the first paint.

A device that saved Mocha changes to Nord one time. After that, a user
can select Mocha again and the app keeps it.

The Nord red #bf616a has only 3.05:1 contrast on the background, so the
danger color is the lighter #dc8890 (4.74:1).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 15:10:12 -05:00
minhtrannhatandClaude Opus 5.5 9fba5de6d7 Update the app while a timer runs
When a new service worker takes control, the app shows an UPDATE
button. If the page is hidden, the app reloads into the new version.
It does not reload while the entry editor is open or while a save or
import runs. A running timer continues after the reload, because it is
stored with its start time in IndexedDB.

The app asks for a new version when it becomes visible and one time
each hour, because an installed PWA can stay open for days.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-08 14:49:29 -05:00
minhtrannhatandClaude Opus 5.5 a6ca255835 Add Timelog: show the timer in the tab title and simplify the code
This is the first commit of the project, at the state that runs on
timelog.minhtrannhat.com.

Changes in this state:
- Remove redundant UI text from the sidebar, timer and insights pages.
- Show the remaining time and tag in the browser tab title while a
  session runs.
- Put the shared record type and the due and end helpers in
  src/shared/record.ts.
- Remove the startup tag migration and the one-time Forest import
  script. The live data does not need them.
- Remove unused CSS, Playwright ignore rules and duplicate helpers.
- Do not track Forest CSV exports, because they contain private data.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-05 00:42:58 -05:00