Skip to content

Add back button to product detail page in soda shop#82

Merged
benjuntilla merged 2 commits intomainfrom
copilot/add-back-button-product-page
Feb 11, 2026
Merged

Add back button to product detail page in soda shop#82
benjuntilla merged 2 commits intomainfrom
copilot/add-back-button-product-page

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 11, 2026

Product detail page (/shop/product/:id) had no way to navigate back to the shop listing other than the navbar.

  • Added ← Back to Shop link above the product grid using Link to /shop with ArrowLeft icon
  • Uses existing lucide-react and react-router-dom imports already in the project

screenshot


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

Co-authored-by: benjuntilla <46634820+benjuntilla@users.noreply.github.com>
Copilot AI changed the title [WIP] Add back button to product page in soda shop Add back button to product detail page in soda shop Feb 11, 2026
Copilot AI requested a review from benjuntilla February 11, 2026 18:46
@benjuntilla benjuntilla marked this pull request as ready for review February 11, 2026 20:46
@benjuntilla benjuntilla requested a review from a team as a code owner February 11, 2026 20:46
Copilot AI review requested due to automatic review settings February 11, 2026 20:46
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an in-page navigation affordance on the SoDA shop product detail route (/shop/product/:id) so users can return to the product listing without relying on the navbar.

Changes:

  • Add a “Back to Shop” link above the product details grid.
  • Include Link from react-router-dom and ArrowLeft from lucide-react to support the new UI element.

@benjuntilla benjuntilla enabled auto-merge (squash) February 11, 2026 22:28
@benjuntilla benjuntilla merged commit 51311ba into main Feb 11, 2026
11 checks passed
@benjuntilla benjuntilla deleted the copilot/add-back-button-product-page branch February 11, 2026 22:31
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.

4 participants