docs: sync from backend 14d164c / frontend 6adb2e0 — Mini App account, support chat, shop fix (v2.8.56)
This commit is contained in:
@@ -615,4 +615,27 @@ dashboard, Mini App live chat, Telegram bot messages on new offers, chat edit/de
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### 2026-06-03 — backend@14d164c, frontend@6adb2e0 — Mini App account tab, pinned support chat, shop fix (v2.8.56)
|
||||||
|
|
||||||
|
**Commits:** `14d164c` (backend), `6adb2e0` (frontend)
|
||||||
|
**Why:**
|
||||||
|
1. **Mini App account tab:** «بهزودی» rows are now functional — notifications (new in-shell list
|
||||||
|
view + hook, socket-live, mark-all-read), support (creates/opens support chat via new
|
||||||
|
`createSupportChat` action → POST /chat/support), wallet (shows linked address), guard role label.
|
||||||
|
2. **Mini App chat tab:** pinned «پشتیبانی AMN» row always at top (per user request); support-type
|
||||||
|
conversations filtered from the regular list.
|
||||||
|
3. **Shop bug «خطا در بارگذاری اطلاعات فروشنده»:** PG sellers list returns uuid ids but
|
||||||
|
seller-shop-view only accepted legacy 24-hex ids → uuid sellers always errored. Both formats
|
||||||
|
accepted now (frontend validation + backend lookup comparison).
|
||||||
|
**Touched (backend):** `DrizzleMarketplaceRepo.findSellerWithActiveRequestTemplates`
|
||||||
|
**Touched (frontend):** telegram account/chat/notifications views + hooks, locales (fa/en/types),
|
||||||
|
`src/actions/chat.ts` (createSupportChat), `src/lib/axios.ts`, `seller-shop-view.tsx`
|
||||||
|
**Verification:** tsc clean both repos, 16 backend tests green, eslint clean (pre-existing
|
||||||
|
no-img-element config errors aside). Admin verifies after deploy: account tab rows, pinned support
|
||||||
|
chat, opening a seller shop from فروشگاه.
|
||||||
|
**Known remaining:** in-shell seller shop detail inside the Mini App (currently opens the web view —
|
||||||
|
now working after the id fix); Mini App notifications row could get an unread badge.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
<!-- 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