asepharyana
0cb0b82fb1
feat(messages): stream history one-message-per-WS-frame instead of 50-row batch
- backend: add streamMany generator (paginated, yields one record at a time)
+ messagesService.streamMessages + WS 'stream_messages' handler emitting
'message_snapshot' per message, 'message_snapshot_end' with nextCursor
- frontend: useMessagesStream hook accumulates snapshots into SWR list,
SSR getMessages seeds first paint, WsHook gains sendText
- add stream-many.test.ts locking the one-at-a-time + cursor contract
2026-08-18 10:21:08 +07:00
..
2026-08-18 10:21:08 +07:00
2026-08-01 09:19:39 +07:00
2026-08-03 06:24:19 +07:00
2026-08-01 09:19:39 +07:00
2026-08-15 20:03:55 +07:00
2026-08-07 10:44:03 +07:00
2026-08-07 14:53:37 +07:00
2026-08-18 10:21:08 +07:00
2026-08-14 10:49:44 +07:00
2026-08-07 10:44:03 +07:00
2026-08-07 10:44:03 +07:00
2026-08-14 11:43:07 +07:00