Skip to content

Instantly share code, notes, and snippets.

@xavi7th
Created May 18, 2026 04:17
Show Gist options
  • Select an option

  • Save xavi7th/18625f7eb7bbf1da3637e8423788c6e8 to your computer and use it in GitHub Desktop.

Select an option

Save xavi7th/18625f7eb7bbf1da3637e8423788c6e8 to your computer and use it in GitHub Desktop.
PHK Hot Deals — Application Workflows

Application Workflows

Auto-generated by workflow-mapper. Edit cautiously — re-running this skill will sync changes. Last updated: 2026-05-16


🌐 Public & Guest Journeys

1. Authentication & Onboarding

  • Register: User navigates to /login#register, fills out full name, email, password, and confirmation fields, clicks "Sign Up", receives success message and can login.
  • Login: User navigates to /login, enters email and password, clicks "Sign In", is redirected to home page with authenticated session.
  • Forgot Password: User clicks "Forgot Password?" on the login page, enters email, receives password reset instructions.

2. Product Discovery

  • Browse Products: User navigates to /store/products, views the product grid with sidebar filters by category, browses through paginated product cards.
  • Filter by Category: User selects a product type (gift-cards, games, e-sim, top-up) from the sidebar or navigation, views filtered product listings.
  • View Product Detail: User clicks a product card, navigates to /store/{productId}, views product image, selects denomination, enters quantity and email, sees calculated price with discount and commission.
  • Browse Top-Up Products: User navigates to /store/top-up, views top-up product listings and categories.

3. Cart & Checkout

  • View Cart: User navigates to /store/cart, views items added to cart, adjusts quantities, removes items, sees subtotal and discount breakdown.
  • Guest Checkout (Auth Modal): Guest user clicks "Proceed to Checkout" on cart page, sees AuthModal popup with login/register tabs, enters credentials or creates account, authenticates and proceeds to checkout flow.
  • Checkout: User clicks "Proceed to Checkout" from cart, enters purchase details, confirms payment method, completes purchase.
  • Order Success: User sees /store/successful after completing purchase, views order summary and confirmation details.

4. Public Pages

  • FAQ: User navigates to /faq, views frequently asked questions and answers.
  • Terms & Conditions: User navigates to /terms-and-conditions, views terms of service.
  • Privacy Policy: User navigates to /privacy-policy, views privacy policy.
  • Returns Policy: User navigates to /returns-policy, views returns policy.

👤 Customer Journeys

5. Shopping & Wallet

  • Purchase Product: User on product detail page selects denomination, enters quantity, optionally enters recipient email, clicks "Pay with Wallet Funds", confirms purchase, sees success page with order details.
  • View Order History: User navigates to /user/orders, views paginated list of orders with tabs (All, Processing, Finished, Expired), clicks an order to view details modal with voucher codes.
  • View Voucher Codes: User clicks "View Voucher Codes" on a processed order, views the order details page showing the purchased voucher/codes.
  • Wallet Top-up: User navigates to /user/transactions/top-up, selects payment method, enters amount, completes payment, wallet balance is credited.
  • Choose Payment Method: User navigates to /user/transactions/top-up/choose-payment-method, selects a payment provider for wallet top-up.

6. Account Management

  • View Transactions: User navigates to /user/transactions, views paginated list of all transactions including purchases and top-ups, can filter by transaction type.
  • Settings: User navigates to /user/settings, updates account preferences.
  • Referrals: User navigates to /user/referrals, views referral program details and referrals.
  • Wishlist: User navigates to /user/wishlist, views saved products for later purchase.
  • Bulk Order: User navigates to /user/bulk-order, submits a bulk order request for products.
  • Verify Account: User navigates to /user/verify-account, completes account verification steps.

🛠️ Staff & Admin Journeys (Dashboard)

7. Admin Dashboard

  • View Dashboard: Admin navigates to /admin/dashboard, views statistics cards (Total users, Sessions, Avg. Click Rate, Pageviews), sees latest orders table with user info, transaction details, and status.

8. Product Management

  • Manage Products: Admin navigates to /admin/product, views product list, can create, edit, or delete products.
  • Manage Categories: Admin navigates to /admin/categories, manages product categories.
  • Manage Brands: Admin navigates to /admin/brands, manages product brands.
  • Manage Games: Admin navigates to /admin/games, views games list, creates new games, edits existing games, archives games.
  • Manage Gift Cards: Admin navigates to /admin/gift-card, views gift card list, creates new gift cards, edits and archives existing ones.
  • Manage E-Sim: Admin navigates to /admin/e-sim, manages e-sim products, creates, edits, and archives them.
  • Manage Top-Up: Admin navigates to /admin/top-up, manages top-up products, creates, edits, and archives them.

9. Order & Transaction Management

  • View Orders: Admin navigates to /admin/orders, views paginated order list, searches orders, accesses archived orders.
  • View Order Details: Admin views detailed order information for a specific order.
  • View Payment Transactions: Admin navigates to /admin/payment-transactions, views paginated payment transaction list and individual transaction details.

10. User Management

  • Manage Users: Admin navigates to /admin/users, views and manages registered users.
  • Admin Settings: Admin navigates to /admin/settings, configures admin account settings.

11. Marketing & Promotions

  • Manage Vouchers: Admin navigates to /admin/vouchers, manages promotional vouchers.
  • Manage Sliders: Admin navigates to /admin/sliders, manages homepage carousel slides.

12. Communications

  • Manage Emails: Admin navigates to /admin/emails, manages email templates and communications.

💬 Staff Live Chat Journeys

13. Chat System

  • View Chat Inbox: Staff navigates to /chat, views real-time inbox with assigned and queued conversations, sees customer info panels and conversation history.
  • Claim Conversation: Staff clicks a queued conversation, claims it to begin responding, becomes the assigned agent.
  • Send Message: Staff sends messages in the conversation panel, message appears in real-time for the customer.
  • Transfer Conversation: Staff transfers a conversation to another staff member by selecting from the staff list.
  • Resolve Conversation: Staff marks a conversation as resolved, conversation moves to resolved state.
  • View Chat Archives: Staff navigates to /chat/archives, views resolved and archived conversations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment