gadget/gadget-code/src/services
Rob Colbert 896aff1b02 Fix User Settings persona display issue
- Switch frontend sign-in to /api/v1/auth/sign-in endpoint (includes persona)
- Add updateUser() to App context for proper state management
- Fix Settings.tsx save flow to use updateUser() instead of broken localStorage merge
- Remove unused web AuthController (gadget-code/src/controllers/auth.ts)
- Fix UserApiControllerV1 to return flat user object instead of double-wrapped
- Remove SessionType enum and references (dead code)
- Add proper server sign-out call before clearing local state

Resolves issue where User Settings view didn't display persona text even though it existed in the database.
2026-05-12 01:15:00 -04:00
..
api-client.ts a lot of review and by-hand cleanup (wip) 2026-05-05 05:28:09 -04:00
chat-session.ts feat: add numPredict, numCtx, maxCompletionTokens to model config pipeline 2026-05-11 13:50:19 -04:00
contact.ts more pouplate fixes 2026-05-01 17:43:56 -04:00
crypto.ts created by merging gadget-code and gadget-drone 2026-04-28 09:20:37 -04:00
drone.ts move from Types.ObjectId to GadgetId (a string) 2026-05-01 14:31:00 -04:00
index.ts refactor session startup, shutdown, and import 2026-05-01 15:37:35 -04:00
notification.ts created by merging gadget-code and gadget-drone 2026-04-28 09:20:37 -04:00
project.ts move from Types.ObjectId to GadgetId (a string) 2026-05-01 14:31:00 -04:00
session.ts Fix User Settings persona display issue 2026-05-12 01:15:00 -04:00
socket.ts ChatSession reconnect logic 2026-05-11 20:27:24 -04:00
storage.ts created by merging gadget-code and gadget-drone 2026-04-28 09:20:37 -04:00
user.ts user settings 2026-05-08 14:08:49 -04:00