oppia: [BUG]: Sorry, an unexpected error occurred. Please email admin@oppia.org to be added to the mailing list.
Describe the bug
Different email address input box behavior on the splash page with respect to another page.
URL of the page where the issue is observed.
Steps To Reproduce
- Visit the https://www.oppia.org/
- Go to the footer of the page
- In the email address input box, enter
a@b.com - Now start repetitive clicks on the subscribe button
- You see the error logs generated at the most bottom of the splash page.
- Now, repeat the same on any other page, you will be able to see the difference.
Expected Behavior
We can use the debounce service to avoid multiple calls.
Screenshots/Videos
- Splash Page
Screencast from 26-08-24 02:03:29 AM IST.webm
- Volunteer Page
Screencast from 26-08-24 02:07:12 AM IST.webm
What device are you using?
Desktop
Operating System
Linux
What browsers are you seeing the problem on?
Chrome
Browser version
No response
Additional context
No response
Tips for developers
Before addressing the bug, please identify which PR caused the issue (you can follow the steps here). If you identify the PR, comment on the issue with a link to it. If not, mention the commit hash of the oldest commit you saw the bug on (and the month and year it was made in).
Then, please leave a comment with details of the approach that you plan to take to fix the issue (see example).
Note: If this is your first Oppia issue, please make sure to follow our guidelines for choosing an issue and setting things up. You will also need to show a demo of the fix working correctly on your local machine. Thanks!
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 58 (40 by maintainers)
Commits related to this issue
- Fix #20893: Handle fast-click events for newsletter subscription (#20893) - Fix splash page ngx-toastr css import - Add boolean subscriptionProcessing to OppiaFooterComponent - Add function disableNe... — committed to tiagombrbrito/oppia-oppia by tiagombrbrito 2 years ago
- Fix fast-click events for newsletter subscription (#20893) - Fix splash page ngx-toastr css import - Add boolean subscriptionProcessing to OppiaFooterComponent - Add function disableNewsletterSubscri... — committed to tiagombrbrito/oppia-oppia by tiagombrbrito 2 years ago
- Fix #20893: Prevent fast-click events for newsletter subscription (#22664) * Fix fast-click events for newsletter subscription - Fix splash page ngx-toastr CSS import - Add boolean subscriptionProce... — committed to oppia/oppia by tiagombrbrito a year ago
- Fix #20893: Prevent fast-click events for newsletter subscription (#22664) * Fix fast-click events for newsletter subscription - Fix splash page ngx-toastr CSS import - Add boolean subscriptionProce... — committed to KartikSuryavanshi/oppia by tiagombrbrito a year ago
Hey @tiagombrbrito, Sorry running busy, will try to reply by 11th May EOD. Thanks!
@ParagGhatage It takes 2-3 refreshes after making the changes, might that help you instead if restarting the server.
Working on CSS elements of toaster, but unable to reflect code changes while dev-server is running. I have to restart the dev-server every time I change any code.
I will figure it out in a few days.
Thanks for explaining. I have tackled debounce issue and started working on Toaster alignment.
Hey @souja450 Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide an explanation of what your PR will do (with names of files you’re changing, what you plan to change in each file, etc.). If it looks good, we can assign you to this issue.
Please also follow the other instructions on that wiki page if you have not yet done so. Thanks!
@KartikSuryavanshi In your video, don’t see you testing the scenario @HardikGoyal2003 described in the original description (with many rapid clicks).
Since he reported it originally, please work together with him to ensure that you are both on the same page about the behaviour on develop. Thanks!
I want to work on this issue. please assign me this issue.
Hello @HardikGoyal2003 , I have already submitted a PR, but there was an issue due to a ‘/’ in the branch name. I am resolving this today and will submit a new PR with the updated branch name.
@nkumawat34 Per the guidance at https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue, please provide an explanation of what your PR will do (with names of files you’re changing, what you plan to change in each file, etc.). If it looks good, we can assign you to this issue.
Please also follow the other instructions on that wiki page if you have not yet done so. Thanks!