Skip to content

[$20] [Web- Edge] Toggle button is verry slow in loading #5884

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

Closed
LieutenantRoger opened this issue Nov 28, 2021 · 27 comments
Closed

[$20] [Web- Edge] Toggle button is verry slow in loading #5884

LieutenantRoger opened this issue Nov 28, 2021 · 27 comments

Comments

@LieutenantRoger
Copy link
Collaborator

Summary :
[Web- Edge] Toggle button is verry slow in loading

Steps to reproduce:

  1. Open the https://www.topcoder.com/settings/preferences and Go to EMail
  2. Toggle multiple option quickly

Actual:
Toggle button is very slow in loading

Expected:
Toggle button should work fast in loading

Environment:
_ Device(s): Windows
_ Resolution: 1920_1080
_ Operating System: Windows 10
_ Browser(s): Chrome | Version 95.0.4638.54 (| Firefox 93.0 (64-bit)| Edge 95.0.1020.30

bandicam_2021-10-22_08-42-36-654

@LieutenantRoger LieutenantRoger added Functional P3 Normal (resolved within 7 days) Valid FE labels Nov 28, 2021
@LieutenantRoger
Copy link
Collaborator Author

  1. Should switch the button firstly, then if the api is failed, we switch it back.
  2. Should add debounce for the toggle button, in case the user switched the button quickly, our UI will still be functional.

@LieutenantRoger LieutenantRoger changed the title [Web- Edge] Toggle button is verry slow in loading [$20] [Web- Edge] Toggle button is verry slow in loading Nov 30, 2021
@LieutenantRoger
Copy link
Collaborator Author

Challenge https://www.topcoder.com/challenges/e88f1c40-33c2-4849-ac0e-cf60a0a4b9ab has been created for this ticket.

This is an automated message for lieutenantroger via Topcoder X

@praveeno
Copy link

@bug-bash-helper assign

@bug-bash-hunt-helper
Copy link

@praveeno ✅ you are now assigned to this issue and have 12 hours to complete it.

As soon as you are done, please, make a comment like below, including the link to the pull request:

@bug-bash-helper <link to PR> is ready for review

@LieutenantRoger
Copy link
Collaborator Author

Challenge https://www.topcoder.com/challenges/e88f1c40-33c2-4849-ac0e-cf60a0a4b9ab has been assigned to praveeno.pro.

This is an automated message for lieutenantroger via Topcoder X

@LieutenantRoger
Copy link
Collaborator Author

Hi, @praveeno please update your progress, or please unassign so that other members have the opportunity to resolve this issue.

@LieutenantRoger
Copy link
Collaborator Author

Since @praveeno is not quite, responsive. I'm opening this ticket for other members to pick up.

@LieutenantRoger
Copy link
Collaborator Author

Challenge https://www.topcoder.com/challenges/e88f1c40-33c2-4849-ac0e-cf60a0a4b9ab praveeno.pro has been unassigned.

This is an automated message for lieutenantroger via Topcoder X

@fikzzzy
Copy link
Contributor

fikzzzy commented Dec 3, 2021

@bug-bash-helper assign

@bug-bash-hunt-helper
Copy link

@fikzzzy 🛑 you have some issues assigned which are not completed yet, see #5864.

As per our Bug Bash rules you may work only at one issue at a time.
Please, complete other issues first or unassign yourself before picking up a new issue.

@fikzzzy
Copy link
Contributor

fikzzzy commented Dec 3, 2021

Hi @LieutenantRoger why I cannot assign to this one?

@fikzzzy
Copy link
Contributor

fikzzzy commented Dec 3, 2021

@bug-bash-helper assign

@bug-bash-hunt-helper
Copy link

@fikzzzy 🛑 you have some issues assigned which are not completed yet, see #5864.

As per our Bug Bash rules you may work only at one issue at a time.
Please, complete other issues first or unassign yourself before picking up a new issue.

@Gauravseta
Copy link
Collaborator

@bug-bash-helper assign

@LieutenantRoger
Copy link
Collaborator Author

Challenge https://www.topcoder.com/challenges/e88f1c40-33c2-4849-ac0e-cf60a0a4b9ab gauravseta has been unassigned.

This is an automated message for lieutenantroger via Topcoder X

@LieutenantRoger
Copy link
Collaborator Author

Challenge https://www.topcoder.com/challenges/e88f1c40-33c2-4849-ac0e-cf60a0a4b9ab has been assigned to LieutenantRoger.

This is an automated message for lieutenantroger via Topcoder X

@codejamtc
Copy link
Collaborator

codejamtc commented Dec 5, 2021

@LieutenantRoger I can see the toggle switches are reflecting quickly.

But when we turn ON/OFF few buttons simultanoiusly and waited for the toast message Success! Your email preferences were updated to appear and then switching to a different screen and comes again to the E-Mail Preferences will display different settings

bandicam.2021-12-05.07-31-13-146.mp4

@LieutenantRoger
Copy link
Collaborator Author

LieutenantRoger commented Dec 5, 2021

Ok, updated, now it only accept the very last switch if user switch multiple options in 1 sec.

E.g. if you switched 1, 2, 3 buttons in 1 second, we only accept the switch of the button 3, switch button 1,2 will not be responded

@codejamtc
Copy link
Collaborator

codejamtc commented Dec 5, 2021

@LieutenantRoger Please check the delay is accepted; then we are ok https://community-app.topcoder-dev.com/settings/preferences

bandicam.2021-12-05.09-25-16-121.mp4

https://test-community-app.topcoder-dev.com/settings/preferences

bandicam.2021-12-05.09-29-26-176.mp4

@LieutenantRoger
Copy link
Collaborator Author

Thanks for the recording. Yes, it's expected for now.

@coderhacker
Copy link

This is passed on stage

5884-staging-Pass.mp4

@coderhacker
Copy link

This is passed on to production

5884.mp4

@LieutenantRoger
Copy link
Collaborator Author

Payment task has been updated: https://www.topcoder.com/challenges/e88f1c40-33c2-4849-ac0e-cf60a0a4b9ab
Payments Complete
Winner: LieutenantRoger
Challenge e88f1c40-33c2-4849-ac0e-cf60a0a4b9ab has been paid and closed.

This is an automated message for lieutenantroger via Topcoder X

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants