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

Fix 'Reminder Created' duplicate message, restrict duplicate toast messages #4126

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

sandeepsajan0
Copy link
Member

@sandeepsajan0 sandeepsajan0 commented Sep 5, 2024

Fixes #4082

Test Steps

  • Create a reminder and check there should be one Reminder Created toast with info icon only.

@theskumar
Copy link
Member

Should the duplicate message dispatch be removed, instead of handling it after it's sent.

The duplicate seems to be because the django messages framework also creates a entry, and it's that's is happening only one should send the message, either the view function or django messages framework.

@frjo frjo added Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter labels Sep 9, 2024
@frjo frjo added Status: Needs testing Tickets that need testing/qa Status: Needs dev testing 🧑‍💻 Tasks that should be tested by the dev team labels Sep 13, 2024
@theskumar
Copy link
Member

@frjo I think this one is good merge now?

@frjo frjo added Status: Tested - approved for live ✅ and removed Status: Needs testing Tickets that need testing/qa Status: Needs dev testing 🧑‍💻 Tasks that should be tested by the dev team labels Oct 1, 2024
@frjo frjo merged commit 01d5257 into main Oct 1, 2024
10 checks passed
theskumar added a commit that referenced this pull request Oct 10, 2024
…pdate-test-packages

* origin/main:
  Fix js error when no proposal field on determination form. (#4147)
  Fix 'Reminder Created' duplicate message, restrict duplicate toast messages (#4126)
  Rename past submission to other submissions (#4143)
  Add content from Hypha site to docs front page. (#4139)
  Lock griffe version, breaking change in v1.x. (#4138)
  Update micromatch. (#4137)
  Added command to delete drafts that haven't been modified in specified days (#4133)
  Updated the sandbox db. (#4135)
  Updated the sandbox db. (#4132)
  Update PAF to Project Form in user facing strings (#4104)
  Add invoice date and paid date to invoice and invoices lists and tables (#4019)
  Added links & icons to wagtail form view `Used By` columns (#4106)
  New submission table view (#4080)
  Update makefile, auto-help and better serve (#4109)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Tested - approved for live ✅ Type: Bug Bugs! Things that are broken :-/ Type: Patch Mini change, used in release drafter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reminder alert showed twice
3 participants