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

Duplicate Challenge in "In-Progress Challenges" Section #256

Open
sahilatahar opened this issue Oct 3, 2023 · 2 comments
Open

Duplicate Challenge in "In-Progress Challenges" Section #256

sahilatahar opened this issue Oct 3, 2023 · 2 comments

Comments

@sahilatahar
Copy link

Describe the bug
When I takes a challenge on the Frontend Challenges and then clicks on "Take Challenge" button again, it gets added twice in the "In-Progress Challenges" section. This behavior can be confusing for users and may lead to inaccurate tracking of their progress.

To Reproduce
Steps to reproduce the behavior:

  1. Go to any challenge
  2. Click on "Start Challenge"
  3. Go to my Solutions and see in-progress-challenges section. You can find that challenge
  4. Go to same challenge page again and click on "Start Challenge" then go to my Solutions and see in-progress-challenges section. You will find same challenge added twice.

Expected behavior

  • The challenge should not be added again to the "In-Progress Challenges" section.
  • Users should receive a message or indication that they have already started this challenge.

Screenshots
image
In this image as you can see there are two "Toast Notification Component".

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version: latest

Additional Information:

  • This issue affects user experience and data accuracy.
  • It could potentially lead to confusion and frustration for users.
  • Ideally, a user should not be able to start the same challenge twice, and a warning message should be displayed if they attempt to do so.
  • The issue might be related to how challenges are tracked and added to the "In-Progress Challenges" section in the frontend code.
@rishipurwar1
Copy link
Owner

Hello @sahilatahar Thanks for reporting this issue.

We've already handled this edge case but don't know why it's happening for you. Is it happening for all the challenges or only for this challenge?

@sahilatahar
Copy link
Author

sahilatahar commented Oct 8, 2023

Hello @rishipurwar1, I have checked and Its happening for other challenges also.

image

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

No branches or pull requests

2 participants