Newly Added Coupon Should Appear Immediately After Clicking "Save"

Open
#1,097 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by reproducing the issue through the Enatega Admin Dashboard's Coupons section: add a coupon, click Save, and observe the list before and after a reload. Trace the save flow and coupon-list update, then verify that a newly saved coupon appears immediately without reloading or navigating away.

Written by the indexing model from the issue text.

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

Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raymondjames090/food-ordering-system-java-eclipse

All issues in raymondjames090/food-ordering-system-java-eclipse

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.