Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: Implement the "Delete" Button on Product Card being displayed on the Grid page of Product Listing #1545

Merged
merged 20 commits into from
Aug 25, 2024

Conversation

Emmadegreat
Copy link
Contributor

Description

Implement the "Delete" Button on Product Card being displayed on the Grid page of Product Listing #1409

Closes #issue_number_here

Changes proposed

To implement a "Delete" button on each product card in the grid view that allows users to delete the product.

What were you told to do?

What did you do?

The "Delete" button is visible on each of the product card used in the product view.
Clicking the button triggers a confirmation prompt for delete
Upon confirmation, the product is soft deleted and removed from the grid.
Proper error handling is implemented if the deletion fails.

Check List (Check all the applicable boxes)

🚨Please review the contribution guideline for this repository.

Screenshots/Videos

WhatsApp Image 2024-08-24 at 20 06 47_d006daca

Copy link
Contributor

github-actions bot commented Aug 24, 2024

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 14.5% 778 / 5365
🔵 Statements 14.17% 780 / 5501
🔵 Functions 14.02% 213 / 1519
🔵 Branches 9.84% 229 / 2325
File CoverageNo changed files found.
Generated in workflow #522

@incredible-phoenix246 incredible-phoenix246 merged commit e114e25 into dev Aug 25, 2024
3 checks passed
@incredible-phoenix246 incredible-phoenix246 deleted the delete-button branch August 25, 2024 01:14
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.

3 participants