hngprojects / hng_boilerplate_nextjs

https://deployment.nextjs.boilerplate.hng.tech
206 stars 265 forks source link

Feat: Implement the "Save Changes" Button on the Edit Product Details Page #1524

Closed Emmadegreat closed 2 months ago

Emmadegreat commented 2 months ago

Description

Github Issie: https://github.com/hngprojects/hng_boilerplate_nextjs/issues/1404

Closes #issue_number_here

Changes proposed

To implement a "Save Changes" button that successfully saves all modifications made on the product details page.

What were you told to do?

To implement a "Save Changes" button. A success message is displayed upon successful save.

mplement the "Save Changes" Button on the Edit Product Details Page

What did you do?

I implemented the save changes button, tht allows users to save the changes made on the product detail edit page. Upon clicking and successful saving of the changes, an alert messages is displayed to user to confirm the changes has been saved.

Check List (Check all the applicable boxes)

🚨Please review the contribution guideline for this repository.

Screenshots/Videos

WhatsApp Image 2024-08-24 at 13 05 31_e7412d92 WhatsApp Image 2024-08-24 at 13 05 31_e7412d92

github-actions[bot] commented 2 months ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 14.55% 785 / 5393
🔵 Statements 14.24% 787 / 5525
🔵 Functions 14% 215 / 1535
🔵 Branches 9.86% 230 / 2331
File CoverageNo changed files found.
Generated in workflow #478