Go to file
Rokojori 4a72363aaf session 2026-07-18: Electron local dev fixes, nav z-index, board/outline/history update
Electron fixes:
- extractToken (auth-connector): Bearer header checked before cookie — prevents stale
  Electron session cookie from winning over injected token
- JWT_CLOCK_TOLERANCE env var: passed to jwt.verify as clockTolerance; set to 7200
  in .env to absorb ~65 min clock skew between Windows dev machine and prod auth server
- Startup token refresh: main.ts calls POST /api/auth/refresh before opening main window;
  shows login on failure instead of opening with expired tokens
- Quit-on-login fix: createMainWindow() is async; login-success now awaits it before
  closing the login window (zero windows → app.quit() race was killing the process)
- Credential persistence: email + password stored in userData; remember-me checkbox
  controls save behaviour; clear button removes saved files; fields pre-fill on load
- Electron session cookies cleared in createMainWindow() to avoid stale token reuse

CSS: z-index: 10 on .pld-nav (project-list-default) — fixed mobile nav buried under rows

Boards: cleared Done lane, added Electron fixes and nav z-index entries; backlog MVP
entry for local testing solution; bugs.html: 401-handling bug moved to Done.
Outline: auth card updated with extractToken order note and JWT_CLOCK_TOLERANCE docs.
History: Friday 18 July entry expanded with session 2 cards.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-18 08:37:47 +02:00
electron session 2026-07-18: Electron local dev fixes, nav z-index, board/outline/history update 2026-07-18 08:37:47 +02:00
scripts electron: desktop app shell — login, JWT auth, header injection, token persistence 2026-07-14 13:31:11 +02:00
source session 2026-07-18: Electron local dev fixes, nav z-index, board/outline/history update 2026-07-18 08:37:47 +02:00
workspace session 2026-07-18: Electron local dev fixes, nav z-index, board/outline/history update 2026-07-18 08:37:47 +02:00
.gitignore Updated Git Ignore 2026-07-13 20:12:33 +02:00
.gitmodules Connector Rewrite 2026-07-17 13:37:48 +02:00
CLAUDE.md initial commit: source, workspace docs, locale system, gitignore 2026-07-06 19:28:59 +02:00
package-lock.json electron: desktop app shell — login, JWT auth, header injection, token persistence 2026-07-14 13:31:11 +02:00
package.json electron: desktop app shell — login, JWT auth, header injection, token persistence 2026-07-14 13:31:11 +02:00
tsconfig.client.json Fixed Build Errors 2026-07-17 13:47:43 +02:00
tsconfig.electron-server.json electron: desktop app shell — login, JWT auth, header injection, token persistence 2026-07-14 13:31:11 +02:00
tsconfig.electron.json electron: desktop app shell — login, JWT auth, header injection, token persistence 2026-07-14 13:31:11 +02:00
tsconfig.json Changed Alias Paths 2026-07-17 14:00:16 +02:00
tsconfig.ts-node.json Fixed Build Errors 2026-07-17 13:47:43 +02:00