docs: sync from frontend 7b949bf — Mini App live socket updates (v2.8.53)
This commit is contained in:
@@ -552,4 +552,18 @@ needed later).
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### 2026-06-03 — frontend@7b949bf — Mini App live socket updates (v2.8.53)
|
||||||
|
|
||||||
|
**Commits:** `7b949bf` (frontend only; backend stays at 2.8.52)
|
||||||
|
**Touched:** `src/sections/telegram/hooks/use-telegram-realtime.ts` (new),
|
||||||
|
`telegram-request-detail-view.tsx`, `telegram-requests-view.tsx`, `telegram-mini-app-view.tsx`
|
||||||
|
**Why:** Mini App request views were SWR-only — status changes required a manual reload.
|
||||||
|
New `useTelegramRealtime` hook bridges marketplace socket events to SWR refresh (plus a 30s
|
||||||
|
periodic fallback for WebView throttling). Detail view joins the request room; list view joins
|
||||||
|
the buyer/seller room.
|
||||||
|
**Verification:** tsc + eslint clean. Admin verifies live stepper advance in Telegram after deploy.
|
||||||
|
**Linked docs updated:** none.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
<!-- Add new entries above this line. Newest at top. -->
|
<!-- Add new entries above this line. Newest at top. -->
|
||||||
|
|||||||
Reference in New Issue
Block a user