marthaegrimaldi / marthaegrimaldi/zomato-clone-app-source-code
Newly Added Coupon Should Appear Immediately After Clicking "Save"
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 8
- 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**
1. Open the Enatega app.
2. Navigate to the Coupons section.
3. Add a new coupon.
4. Click the "Save" button to save the coupon.
5. 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem from the Enatega Admin Dashboard's Coupons section, then trace the save flow and the coupon-list update entry point. Confirm the current behavior after saving and identify how the list is refreshed. Done means a newly saved coupon appears immediately without a page reload or navigation away.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100