Vitron-Front/app/requestHandler
Arda Samadi a642fc0fae feat(seller-team): multi-user dashboard — store switcher, role gating, team UI
- useMyStores + team hooks (invite by phone / list / remove) in use-seller-hooks.
- useStoreOwnership rewritten to allow staff (not just the owner) via my-stores;
  exposes `role` so callers can gate owner-only UI, and no longer redirects
  members away from a store they help manage.
- Store settings: owner-only items (financial, shipping, edit store, instagram
  sync, team) hidden from staff; new "مدیریت اعضای تیم" entry (owner-only).
- New /store/:storeId/team page: invite by phone + members list with pending/
  active status + remove (owner-only, redirects staff). MyLayout keeps store mode
  on the team route.
- StoreForm edit is owner-only (redirects staff). Profile "enter my store" now
  routes owners to their store and staff to the store they manage.
- Chat already split earlier: seller inbox vs personal buyer inbox.

Depends on the seller-team backend; ships on this branch, not main.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 16:43:53 +03:30
..
use-address-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-auth-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-bookmark-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-cart-hooks.ts first 2026-04-29 01:44:16 +03:30
use-chat-hooks.tsx feat(seller-team): split buyer inbox vs store inbox in chat UI 2026-07-01 16:00:23 +03:30
use-collection-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-comments-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-courier-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-discount-hooks.ts first 2026-04-29 01:44:16 +03:30
use-explore-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-following-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-home-hooks.ts fix(product): detail page price now matches list tiles + fresher feeds 2026-06-22 19:55:11 +00:00
use-instagram-hooks.ts first 2026-04-29 01:44:16 +03:30
use-media-hooks.ts first 2026-04-29 01:44:16 +03:30
use-order-hooks.ts first 2026-04-29 01:44:16 +03:30
use-product-hooks.ts first 2026-04-29 01:44:16 +03:30
use-profile-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-search-hooks.ts first 2026-04-29 01:44:16 +03:30
use-seller-hooks.ts feat(seller-team): multi-user dashboard — store switcher, role gating, team UI 2026-07-01 16:43:53 +03:30
use-shipping-hooks.ts first 2026-04-29 01:44:16 +03:30
use-user-collection-hooks.tsx first 2026-04-29 01:44:16 +03:30
use-view-hooks.ts feat(product): record product views for recommendations 2026-06-29 13:57:04 +03:30
use-wallet-hooks.tsx first 2026-04-29 01:44:16 +03:30