Commit Graph

19 Commits

Author SHA1 Message Date
Codex 74b7eae18b feat(payment): add chat support discounts and gratitude
Docker Image / Build and Push Docker Image (push) Successful in 2m14s
(cherry picked from commit ef9b79bc83)
2026-07-28 17:54:36 +08:00
Codex 8c0d1ad3ce feat(chat): render role-bound payment guidance
Docker Image / Build and Push Docker Image (push) Successful in 5m2s
2026-07-27 18:21:13 +08:00
Codex e813333607 fix(e2e): stabilize authenticated unlock flows 2026-07-22 16:53:09 +08:00
admin 1e13f94b5d fix(chat): stabilize message identities 2026-07-20 18:30:21 +08:00
admin b6fdc912ae feat(chat): sync multi-role backend APIs 2026-07-20 11:29:54 +08:00
admin 7bd5defa5e refactor(characters): drive shared UI from active character 2026-07-20 10:31:27 +08:00
admin 8bb1e21886 fix(chat): isolate pending flows and cancel stale requests 2026-07-20 10:31:27 +08:00
admin eac3d8f0a7 refactor(data): merge DTO models into schemas 2026-07-17 12:47:18 +08:00
admin 2796010971 feat(characters): support character-scoped conversations 2026-07-17 11:42:31 +08:00
admin acabf165cd refactor(chat): consolidate unlock state 2026-07-16 19:49:08 +08:00
admin cf239a51de fix(chat): keep sent messages in view 2026-07-15 19:14:36 +08:00
admin c37a2f9040 feat(chat): implement pull-to-refresh functionality and pagination for chat history 2026-07-15 18:19:35 +08:00
admin 05ca15be48 perf(client): defer chat persistence dependencies 2026-07-15 17:58:06 +08:00
admin 684ae4bf5d fix(chat): suppress paywall for missing unlock 2026-07-15 14:44:12 +08:00
admin ed3e800245 refactor(chat): reorganize helper functions and update imports 2026-07-15 10:59:23 +08:00
admin 2b90f90ab0 refactor(chat): move actors into machine directory 2026-07-15 10:36:22 +08:00
admin 84e677f687 refactor(chat): split machine by business flow 2026-07-14 19:04:32 +08:00
admin 2bc2e1b691 refactor: migrate img tags to next/image and fix hook usage 2026-06-10 19:16:41 +08:00
admin 47591be41c refactor(auth): unify Facebook and Google login into AuthPlatform class
Replace the separate FacebookLogin and GoogleLogin classes with a single
AuthPlatform class that takes a provider name ("facebook" | "google") as a
constructor argument. This consolidates duplicate OAuth sign-in logic behind
one entry point while preserving the existing NextAuth flow.

- Add new src/lib/auth/auth_platform.ts exporting AuthPlatform and
  AuthProvider type
- Update auth-facebook-panel.tsx and splash-button.tsx to use the new API
- Rename initialContext → initialState in the auth machine for consistency
- Update inline docs and comments to reference AuthPlatform

No behavioral change for end users; both providers still route through
NextAuth's signIn() with the same callbacks and cookies.
2026-06-10 18:58:15 +08:00