feat(shop): product dialog popup instead of page navigation#170
Closed
aris-cub wants to merge 2 commits into
Closed
feat(shop): product dialog popup instead of page navigation#170aris-cub wants to merge 2 commits into
aris-cub wants to merge 2 commits into
Conversation
Product clicks on home page and products listing now open a modal dialog instead of navigating to /products/[id]. The dialog includes image gallery with front/back toggle, product details, and add-to-cart. https://claude.ai/code/session_011WZQ1sZJvJXDWhiyKmZmzq
Contributor
mirrord Preview Environment - Metal MartPreview environments are running for this PR.
To send traffic to this preview:
Preview is stopped when the PR is merged or closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ProductDialogcomponent — modal overlay with image gallery (front/back thumbnails), product name, price, description, stock count, and "Add to cart" button. Closes on backdrop click, Escape key, or Close button. Prevents body scroll while open./) —ProductTilecomponents now use<button>instead of<Link>, opening the dialog on click. All three tile variants (featured, standard, wide) updated./products) — product cards converted from<Link>to<button>with dialog popup. Same rich product view without leaving the page.globals.css— smooth fade-in backdrop and scale-up entrance for the dialog panel.Test plan
/products→ dialog opens with correct product details/productshttps://claude.ai/code/session_011WZQ1sZJvJXDWhiyKmZmzq