gray-mueller / gray-mueller/restaurant-online-ordering-app-using-java

Newly Added Coupon Should Appear Immediately After Clicking "Save"

Open
#1,060 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
When a new coupon is added in the Enatega Admin Dashboard, it should be displayed in the coupon list immediately after clicking the "Save" button, without requiring a page reload.

To Reproduce

Open the Enatega app.
Navigate to the Coupons section.
Add a new coupon.
Click the "Save" button to save the coupon.
Observe the coupon list.
Expected behavior
The newly added coupon should appear in the coupon list immediately after clicking "Save" without the need to reload the page or navigate away.

Actual Result:
The newly added coupon does not appear in the coupon list until the page is manually reloaded or the user navigates away and returns.

Desktop (please complete the following information):

OS: Windows
Browser Chrome

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.