Menu

#6 fix(ui): restore page.tsx after bad merge, remove stale field refs, add UI build to CI

closed
nobody
released (243)
2026-06-01
2026-05-12
Anonymous
No

Originally created by: Akarsh-Hegde
Originally owned by: Akarsh-Hegde

Summary

  • Broken app/page.tsx — a bad merge left the file with two export default function DashboardPage() declarations: the old server-rendered dashboard was concatenated after the new client-side navigation shell, causing a Turbopack parse error ('export' cannot be used outside of module code). Restored the correct navigation shell version.
  • Stale ocr_samples / elements_samples refs — these fields were removed from SessionRow and ActiveSessionRow types in a prior cleanup commit, but four files still referenced them causing TypeScript type errors: api/active/route.ts, api/sessions/route.ts, api/sessions/[id]/route.ts, and app/sessions/[id]/page.tsx.
  • UI build in CI — added npm ci + npm run build steps to .github/workflows/ci.yml so build failures are caught before merge.
  • Credential in plistMERIDIAN_OO_AUTH was hardcoded in com.meridiona.tagger-daemon.plist (a tracked file). Replaced with a {{MERIDIAN_OO_AUTH}} placeholder following the existing {{HOME}}/{{REPO_ROOT}} pattern; install-tagger-daemon.sh now reads the value from services/.env at install time and fails loudly if missing. Documented in services/.env.example.

Test plan

  • [x] npm run build in ui/ passes with no type errors
  • [x] Dashboard loads and view switching (Today / Tasks / Queue / Sessions / Week) works
  • [x] ./services/scripts/install-tagger-daemon.sh installs the daemon correctly with MERIDIAN_OO_AUTH injected from .env
  • [ ] CI workflow runs npm run build on push/PR to main

🤖 Generated with Claude Code

Related

Tickets: #198
Tickets: #345
Tickets: #346
Tickets: #498
Tickets: #9

Discussion

  • Anonymous

    Anonymous - 2026-05-12
     
  • Anonymous

    Anonymous - 2026-05-12

    Ticket changed by: adityaharishch

    • status: open --> closed
     
  • Anonymous

    Anonymous - 2026-06-01

    Originally posted by: adityaharishch

    🎉 This PR is included in version 1.0.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

     

Log in to post a comment.