arch-atlas

Seller Detail Screen

screens/seller_detail_screen.dart

presentation

Overview

Full seller profile: avatar, métiers, follower count, products grid, prestations, reviews. Custom slide-from-right page transition reinforces the 'deeper into the catalog' navigation.

User Flow

  1. Reads handle from the GoRouter path param.
  2. ref.watches sellerDetailProvider(handle) — renders SellerDetailShimmer while loading.
  3. Follow / unfollow CTA dispatches into the follow_service (not in this feature) and invalidates the detail provider.
  4. Tapping a product/prestation pushes the appropriate detail route.

Cases & Edge Cases

  • Deep-link from a notification or shared URL works because the screen reads pathParameters['handle'] and refetches on cold start.
  • 404 errors render an empty state with a 'Back to search' CTA.

Code References

  • lib/src/features/shared/search/screens/seller_detail_screen.dart
  • lib/src/features/shared/search/widgets/seller_detail_shimmer.dart

API Calls

Empty — fill this in later. Open the manifest and add content here.

Notes

Avatar tap doesn't open a full-screen photo viewer today — design decision, not bug.