Skip to content

Production-grade rebuild: architecture, auth, reminders, resilience#3

Open
TargiX wants to merge 3 commits into
mainfrom
feat/production-rebuild
Open

Production-grade rebuild: architecture, auth, reminders, resilience#3
TargiX wants to merge 3 commits into
mainfrom
feat/production-rebuild

Conversation

@TargiX
Copy link
Copy Markdown
Owner

@TargiX TargiX commented May 25, 2026

Turns the prototype into a real, layered app. Built and verified in-browser; gate is green (typecheck/lint/test/build), 39 unit tests.

Highlights

  • Architecture: layered lib/time (local day keys, no UTC bug), domain (zod schemas as source of truth + selectors + validation), store (versioned migrate, StoragePort seam for Capacitor, mutation only via actions).
  • Computed streak (was hardcoded 4).
  • Radix data-attr fix across slider/tabs/separator/dialog/sheet (data-[orientation]/data-[state] — the legacy forms silently did nothing).
  • Landing at /, clickable dashboard, branded error/404/global-error.
  • Validation with inline errors (limits, habit dedupe/cap, real word count).
  • Reminders: NotificationPort + scheduler + settings UI (honest web caveat, native seam).
  • Supabase auth (email/password), (protected) route-group gate, /login, sign-out; graceful local-only mode without env.

Follow-ups (see ROADMAP.md)

  • Supabase cloud sync (needs project keys)
  • Sentry, PWA, Recharts timeline, a11y pass, native build + showcase assets

🤖 Generated with Claude Code

TargiX and others added 3 commits May 25, 2026 12:09
- vitest + zod; test/test:watch scripts
- Capacitor config + Electron desktop scaffold (@capacitor-community/electron)
- BUILD_TARGET=native static export in next.config
- eslint/tsconfig ignore native output; gitignore native + local settings

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…, reminders, auth

- Layered lib/: time (local day keys), domain (zod schemas + selectors +
  validation), store (versioned migrate, StoragePort seam, actions-only mutation)
- Rewire components/hooks to the new layers; computed streak (was hardcoded)
- Fix systemic Radix data-attr bug: data-[orientation]/data-[state] in
  slider, tabs, separator, dialog, sheet
- Landing at /, clickable dashboard cards, branded error/404/global-error
- Input validation (limits, habit dedupe/cap, real word count) with inline errors
- Honest reminders: NotificationPort + scheduler + settings UI
- Supabase email/password auth, (protected) route-group gate, /login, sign-out;
  graceful local-only mode when unconfigured

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
- ROADMAP.md: state, architecture conventions, parallelizable workstreams, sync SQL
- CLAUDE.md: per-session conventions + the quality gate
- docs/showcase.md: LinkedIn post draft + asset checklist
- README rewrite (web/mobile/desktop run steps)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
next-js-tether Ready Ready Preview, Comment, Open in v0 May 25, 2026 6:50am
next-js-tether-targix Ready Ready Preview, Comment May 25, 2026 6:50am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant