Commit Graph

22 Commits

Author SHA1 Message Date
Jesse_Chen bf6989eccf refactor(chat): extract profile onboarding and rectification surface hooks
Close the home-page split by moving account/onboarding and rectification glue out of page.tsx without relocating React state, keeping the route static and hook order intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 05:56:58 +08:00
Jesse_Chen 551d6317ae refactor(chat): extract consultation and session hooks after contract repairs
Independent Staging Quality Gate / validate (push) Has been cancelled
Independent Staging Quality Gate / publish (push) Has been cancelled
Keep archive as a PATCH of archived_at rather than DELETE, pass entry_mode through onboarding, and let popstate to the default chat reuse selectSession. Then move send/stop/recovery and session management out of page.tsx so the home surface stays within the batch-two line budget.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-02 04:34:14 +08:00
Jesse_Chen 54269fcfcc refactor(chat): extract home helpers, chart library, and starter surfaces
Independent Staging Quality Gate / validate (push) Has been cancelled
Independent Staging Quality Gate / publish (push) Has been cancelled
page.tsx still owns the chat main chain, but the first product surfaces now
live in their own modules so later splits can land without editing the 4k-line
Home. Source-lock tests follow the moved tokens; the orphan user-data contract
is aligned and added to the quick gate.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 22:58:02 +08:00
Jesse_Chen ce6a8a7e72 fix(chat): make cloud the only truth for charts, synastry, and pin/archive
Independent Staging Quality Gate / validate (push) Has been cancelled
Independent Staging Quality Gate / publish (push) Has been cancelled
Local fallbacks were creating fake saves and resurrecting deleted rows.
Pin and archive now live on chat_sessions so they follow the account.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 21:38:21 +08:00
Jesse_Chen d5453681ad fix(frontend): streamline birth time onboarding 2026-07-22 02:35:31 +08:00
732642856 3d4fc40dae fix: recover interrupted chat and candidate birth time adoption 2026-07-21 16:56:19 +08:00
732642856 d757602e7c fix: reject array profile payloads 2026-07-20 18:27:29 +08:00
732642856 4441d0f089 fix: report missing chart profile deletes 2026-07-20 17:58:46 +08:00
732642856 b3bca954da fix: insert other chart profiles directly (#15) 2026-07-20 17:45:31 +08:00
Jesse_Chen 597b3ab50f Merge local main changes into origin/main 2026-07-19 15:43:25 +08:00
Jesse_Chen 293f6216e3 fix: repair profile data migrations 2026-07-19 14:46:57 +08:00
732642856 ab04cd70c5 chore: add manual supabase profile migration workflow 2026-07-19 10:01:34 +08:00
732642856 efaa8fa9b6 Persist synastry report history in Supabase 2026-07-17 19:29:35 +08:00
732642856 aeb6852aa7 Persist local synastry report history 2026-07-17 18:42:39 +08:00
732642856 4fc98f4e92 Show synastry evidence report card 2026-07-17 18:07:11 +08:00
732642856 618a01f65e Add relationship summary to synastry evidence 2026-07-17 17:53:49 +08:00
732642856 f7674cca66 Add D9 and Moon evidence to synastry API 2026-07-17 17:39:55 +08:00
732642856 a6aa84e905 Compute synastry from chart library profiles 2026-07-17 17:27:11 +08:00
732642856 05e747f84e Draft synastry questions from chart library 2026-07-17 17:16:18 +08:00
732642856 b8e6ee9112 Sync chart library profiles to Supabase 2026-07-17 16:42:36 +08:00
Jesse_Chen 2f5d673a32 feat: add safe consultation cancellation 2026-07-17 11:56:29 +08:00
Jesse_Chen 4aa0105fa4 feat: add Railway-ready Jyotish chat product 2026-07-15 22:23:17 +08:00