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]>
This commit is contained in:
38 files changed
+2069
No files matched your search
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"name": "timelog",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build": "bun run scripts/build.ts",
|
||||
"dev:api": "DEV_AUTH=1 PUBLIC_ORIGIN=http://localhost:3000 DB_PATH=./dev.sqlite bun --watch src/api/server.ts",
|
||||
"dev:web": "WEB_PORT=3000 API_ORIGIN=http://localhost:3001 bun --watch src/web-server.ts",
|
||||
"start:api": "bun src/api/server.ts",
|
||||
"start:web": "bun src/web-server.ts",
|
||||
"test": "bun test",
|
||||
"typecheck": "bunx tsc --noEmit",
|
||||
"vapid": "bun run scripts/vapid.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"web-push": "^3.6.7"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bun": "^1.3.0",
|
||||
"@types/web-push": "^3.6.4",
|
||||
"typescript": "^5.9.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user