Skip to content

Add e-shop route with product catalog and cart functionality#8

Draft
Copilot wants to merge 4 commits intocopilot/fix-deployment-issuefrom
copilot/fix-image-loading-issue
Draft

Add e-shop route with product catalog and cart functionality#8
Copilot wants to merge 4 commits intocopilot/fix-deployment-issuefrom
copilot/fix-image-loading-issue

Conversation

Copy link

Copilot AI commented Feb 12, 2026

Implements /eshop route in the Next.js dashboard per PR #7 requirements. Full-featured e-commerce interface for privacy/security products.

Implementation

  • Route: /dashboard/src/app/eshop/page.tsx using Next.js 15 App Router with 'use client' directive
  • Product Catalog: 12 privacy-themed products with stock management, pricing in SOL, category classification
  • Cart System: State-driven shopping cart with quantity controls, stock validation, slide-out panel UI
  • Search & Filters: Real-time search, category pills, dual-slider price range with min/max validation, multi-sort options (featured/name/price)
  • UI/UX: Tactical glass aesthetic matching existing SolVoid design, Framer Motion animations, responsive grid (1-4 columns)

Key Technical Details

// Price range validation ensures min ≤ max
onChange={(e) => {
  const newMin = parseFloat(e.target.value);
  setPriceRange([newMin, Math.max(newMin, priceRange[1])]);
}}
  • TypeScript with proper interfaces for Product and CartItem
  • State management via React hooks (useState, useMemo for filtered/sorted products)
  • Accessibility: aria-labels on range inputs and select controls
  • Zero security issues (CodeQL verified)

Product Data Structure

Products include category classification (Privacy Tools, Hardware, Software, Services, Credits, Education), stock levels, featured flag, and emoji-based placeholders for product images.

Original prompt

Pull request: https://github.com/paseka10jaroslav-coder/SolVoid/pull/7/files


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits February 12, 2026 22:33
Co-authored-by: paseka10jaroslav-coder <252813980+paseka10jaroslav-coder@users.noreply.github.com>
Co-authored-by: paseka10jaroslav-coder <252813980+paseka10jaroslav-coder@users.noreply.github.com>
Co-authored-by: paseka10jaroslav-coder <252813980+paseka10jaroslav-coder@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix image loading issue in SolVoid Add e-shop route with product catalog and cart functionality Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments