~bigbes/lethe

ref: cfa98be8d2b52ff51bad2be4209a149c69f4ef07 lethe/web/src/features/projects/ProjectsTable.tsx -rw-r--r-- 3.1 KiB
3fbbfc89 — Eugene Blikh a month ago
web: review fixes for projects/stats SPA routes

- ProjectsTable: drop the inner navigate call from handleOpen;
  the parent route already navigates via the onOpen callback,
  so the second push was creating a duplicate history entry
  on every row click. Matches the SessionsTable pattern.

- HorizontalBars: replace href:string with onActivate(row)
  callback. The earlier shape passed a pre-encoded path
  string straight into TanStack <Link to={...}>; routing the
  navigation through the typed (to, params) form via the
  caller avoids any double-encoding ambiguity around splat
  params and decouples the primitive from a specific route.

- stats.css: drop duplicated .card / .card-head / .card-body
  blocks. The same rules already live in shell.css (loaded
  globally), so any future divergence between the two copies
  would silently desync.
346e6a81 — Eugene Blikh a month ago
web: project detail route scoped via ?cwd= sessions filter
e075b986 — Eugene Blikh a month ago
web: projects index route with real /projects data