codewars / codewars.com

Issue tracker for Codewars
https://www.codewars.com
BSD 2-Clause "Simplified" License
2.1k stars 220 forks source link

Suggested Challenge Fetches New Kata On Language Change #3289

Open angelplusultra opened 4 weeks ago

angelplusultra commented 4 weeks ago

Describe the bug I have no idea if this is intended behavior or not, but on the dashboard of Codewars: https://www.codewars.com/dashboard

Under the "Suggested Challenge" or "Personal Trainer" section, when I change the language of the suggested Kata, it fetches an entirely new Kata.

Why I believe this isn't great UX When the Suggest Challenge section recommends a Kata I'd like to do, but in a different language, I just want to change the language and hit 'Train.' However, every time I change the language, it fetches a new Kata, forcing me to search for the original one again.

To Reproduce Change the language of the suggested kata and it will fetch a new kata

Video Reproduction

https://github.com/user-attachments/assets/c0da3013-f7c9-4028-bccb-52b2735d2871

Expected behavior

When I change the language of the Kata it shouldn't fetch an entirely new Kata, if I don't like the suggested challenge, a new one should be restricted to the "Skip" button.

alimovabdulla commented 1 week ago

Steps to Reproduce Go to the Codewars dashboard. In the "Suggested Challenge" or "Personal Trainer" section, take note of the suggested Kata. Change the language of the suggested Kata. Observe that a new Kata is fetched instead of updating the current one with the selected language.