Skip to content

feat(shop): product popup dialog instead of page navigation#160

Closed
aris-cub wants to merge 1 commit into
mainfrom
product-popup-dialog
Closed

feat(shop): product popup dialog instead of page navigation#160
aris-cub wants to merge 1 commit into
mainfrom
product-popup-dialog

Conversation

@aris-cub

@aris-cub aris-cub commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replaced product page navigation with a popup/modal dialog when clicking any product
  • The modal shows the product image (with gallery), name, price, description, stock level, and Add to cart button
  • Applied to both the home page and the /products listing page
  • The product detail page (/products/[id]) is preserved but no longer linked from the main UI

Test plan

  • Click any product on the home page — modal should open with product details
  • Click any product on /products — modal should open
  • Press Escape or click outside the modal to close it
  • Verify "Add to cart" button works from the modal
  • Test on mobile viewport sizes

🤖 Generated with Claude Code

Product clicks now open a modal preview instead of navigating to a
separate product detail page. The modal shows the product image,
price, description, stock, and an Add to cart button. Applied to
both the home page and the products listing page.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

mirrord Preview Environment - Metal Mart

Preview environments are running for this PR.

Service Target
(no previews succeeded)
Preview URL https://playground.metalbear.dev/shop
Header baggage: mirrord=product-popup-dialog

To send traffic to this preview:

  • Use the mirrord Browser Extension and set the header for this URL, or
  • curl -H "baggage: mirrord=product-popup-dialog" https://playground.metalbear.dev/shop

Preview is stopped when the PR is merged or closed.

@aris-cub aris-cub closed this Apr 9, 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.

1 participant