docs: sync — Mini App in-shell cart, buyer-parity phase 1 (v2.8.59)
This commit is contained in:
@@ -664,4 +664,19 @@ hand-off design needed since the crypto wallet stack lives in web).
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
### 2026-06-03 — frontend@HEAD — Mini App in-shell shopping cart (v2.8.59) — buyer-parity phase 1
|
||||||
|
|
||||||
|
**Why:** Goal: full buyer-role parity in the Mini App (then other roles). Phase 1 = cart.
|
||||||
|
New `useTelegramCart` hook shares the web checkout's localStorage key
|
||||||
|
(`app-request-template-checkout`) so the Mini App cart IS the web cart; new `TelegramCartView`
|
||||||
|
(qty stepper, remove, total, checkout → web); add/remove-to-cart buttons in the in-shell seller
|
||||||
|
shop; cart badge + overlay in the shell.
|
||||||
|
**Buyer-parity roadmap (remaining):** offers view/accept on requests → delivery confirmation →
|
||||||
|
payments list → points/referral → addresses CRUD → TON Connect payments (Telegram Wallet is
|
||||||
|
TON-only, no EVM; backend already has tonProofService).
|
||||||
|
**Verification:** tsc + eslint clean. Admin verifies: فروشگاه → افزودن به سبد → سبد → ادامه و
|
||||||
|
پرداخت → web checkout shows the same items.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
<!-- 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