Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: FullStack-Flow/shop-stack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: admin-api
Choose a base ref
...
head repository: FullStack-Flow/shop-stack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 18 commits
  • 52 files changed
  • 1 contributor

Commits on Feb 15, 2026

  1. Configuration menu
    Copy the full SHA
    72e2216 View commit details
    Browse the repository at this point in the history
  2. feat(vendor): add notification system with real-time updates

    - Create notification types, validators, and database helper functions
    - Implement React Query hooks for fetching and mutating notifications
    - Add server functions for CRUD operations with shop access control
    - Integrate notification dropdown into vendor header with unread badges
    - Create dedicated notifications page with filtering and bulk actions
    - Set up automatic order notification backfilling for existing orders
    shakibdshy committed Feb 15, 2026
    Configuration menu
    Copy the full SHA
    d8b683e View commit details
    Browse the repository at this point in the history
  3. feat(admin): implement real data fetching for tenant management

    - Replace mock tenants with server-side data fetching using React Query
    - Add admin shop API functions with proper validation and error handling
    - Integrate server-side pagination, sorting, and filtering in tenant table
    - Add tenant detail page with real data from API
    - Extend shop types and validators for admin functionality
    - Add monthlyRevenue field to normalized shop interface
    shakibdshy committed Feb 15, 2026
    Configuration menu
    Copy the full SHA
    ac8252c View commit details
    Browse the repository at this point in the history
  4. feat(admin-tenant): add status update actions to tenant table

    Add dropdown menu with "Approve" and "Reject" actions to update tenant status directly from the table. Replace simple "View Details" button with a more comprehensive action menu that shows loading states during updates.
    
    - Use DropdownMenu component to organize tenant actions
    - Add status update functionality with visual feedback (spinner during updates)
    - Conditionally show Approve/Reject options based on current tenant status
    - Maintain existing "View Details" link within dropdown
    - Utilize useAdminShops hook for status update operations
    shakibdshy committed Feb 15, 2026
    Configuration menu
    Copy the full SHA
    8d17992 View commit details
    Browse the repository at this point in the history
  5. chore(db): replace simple seed script with universal seeding system

    - Add universal seed script that seeds all major entities (vendors, shops, products, etc.)
    - Add seed data generator script that creates comprehensive JSON data
    - Update package.json script to use new universal seeding system
    - New system supports 10 shops, 50 products with related entities and relationships
    shakibdshy committed Feb 15, 2026
    Configuration menu
    Copy the full SHA
    dd8cac7 View commit details
    Browse the repository at this point in the history
  6. perf(queries): parallelize product count queries for categories, attr…

    …ibutes, brands, and shops
    
    Implement parallel database queries using Promise.all to fetch product counts alongside existing relation data, eliminating sequential round trips. This improves performance for batch operations in category, attribute, brand, and shop queries.
    
    - Add product count queries to batchFetchCategoryRelations, batchFetchAttributeRelations, and batchFetchBrandRelations
    - Implement getProductCountsForShops helper and integrate into shop state fetching
    - Update attribute deletion to fetch actual product count in parallel with attribute lookup
    - Remove placeholder TODO comments and enable previously commented-out product count logic
    shakibdshy committed Feb 15, 2026
    Configuration menu
    Copy the full SHA
    f29bdbe View commit details
    Browse the repository at this point in the history
  7. feat(products): add rating filter and sort by rating functionality

    - Add minRating filter to product query options and validation
    - Implement rating filter in product query helper
    - Update sort mapping to support sorting by averageRating
    - Include rating filter in product filters hook
    - Refactor getStoreProducts to use destructured data object
    shakibdshy committed Feb 15, 2026
    Configuration menu
    Copy the full SHA
    00f2088 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2026

  1. feat(admin): add commission management and Stripe Connect integration

    - Extend tenant and shop types with commission and Stripe fields
    - Add commission tab to tenant admin with rate editing capability
    - Enhance shop data fetching with real order statistics and customer counts
    - Improve Stripe webhook to handle payment intent success and account updates
    - Add Stripe Connect status display to admin tenant interface
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    e0157f9 View commit details
    Browse the repository at this point in the history
  2. feat(products): add store link to product card

    Add a link to the store page from the product card to improve navigation and product context. The link uses the store's slug and name, and includes a store icon for visual clarity.
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    ef87fa5 View commit details
    Browse the repository at this point in the history
  3. refactor: consolidate review types and fix optional chaining

    Move StoreReviewResponse type import to centralized review types file
    Add optional chaining to customer properties in order table to prevent errors
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    d80facc View commit details
    Browse the repository at this point in the history
  4. Merge pull request #15 from FullStack-Flow/dev

    Implemented API from Storefront, Vendor and Admin with Analytics report
    shakibdshy authored Feb 16, 2026
    Configuration menu
    Copy the full SHA
    8a49093 View commit details
    Browse the repository at this point in the history
  5. build: add TanStack Nitro V2 Vite plugin for enhanced server capabili…

    …ties
    
    Add the nitroV2Plugin to the Vite configuration to enable TanStack Nitro V2's advanced server-side features, such as improved API routes and server functions.
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    9925b6a View commit details
    Browse the repository at this point in the history
  6. chore: update dependencies and configuration

    - Remove nitroV2Plugin as it's no longer needed
    - Update biome.json to ignore generated route tree file
    - Add routeTree.gen.ts to .gitignore
    - Remove unused getSession import from auth client
    - Fix trailing commas in server.ts for consistency
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    eb62465 View commit details
    Browse the repository at this point in the history
  7. build: update start script and add nitro plugin for production

    The start script now uses the built output from the production build process instead of running the development server file directly. Added the TanStack Nitro V2 Vite plugin to enable server-side rendering and production builds, and configured SSR to externalize the 'better-auth' package.
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    fa1ad48 View commit details
    Browse the repository at this point in the history
  8. chore: add vercel preset and ignore vercel directory

    - Add Vercel preset to Nitro plugin configuration for deployment compatibility
    - Include .vercel directory in gitignore to exclude deployment artifacts
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    ea4c6b2 View commit details
    Browse the repository at this point in the history
  9. chore: rename server.ts to bun-server.ts and update vite config

    This commit renames the existing server.ts file to bun-server.ts to better reflect its Bun-specific implementation. Additionally, the Vite configuration is updated to replace the deprecated nitroV2Plugin with the newer nitro plugin from the nitro package, removing the need for explicit SSR external dependencies.
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    5233517 View commit details
    Browse the repository at this point in the history
  10. feat: migrate from nitro to custom Bun server for production

    - Replace nitro() with custom nitroV2PluginWithAbsoluteRequest() in vite config
    - Add new server.ts file with production server implementation
    - Remove deprecated bun-server.ts file
    - Update auth and admin middleware to handle absolute URLs in request objects
    - Add getSession export to auth client for session management
    - Update package.json scripts and dependencies for new server setup
    - Remove defaultPreloadStaleTime from router configuration
    shakibdshy committed Feb 16, 2026
    Configuration menu
    Copy the full SHA
    85dd9a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. Configuration menu
    Copy the full SHA
    fa558f7 View commit details
    Browse the repository at this point in the history
Loading