loveshdongre / leetcode-enhancer

A cross-browser extension to improve productivity on Leetcode
https://chrome.google.com/webstore/detail/leetcode-enhancer/gcmncppaaebldbkgkcbojghpmpjkdlmp
45 stars 5 forks source link

UI bug: "Locked Problems" checkbox when checked hides few unlocked problems along with all the locked problems #13

Open muhesh-kumar opened 2 years ago

muhesh-kumar commented 2 years ago

Steps causing the bug:

  1. Go to any tag's page: leetcode.com/tag/tree (For example)
  2. Sort the problems by difficulty in increasing order(and note down the total number of locked and unlocked problems with "Easy" difficulty)
  3. On the chrome extension, uncheck the "Locked Problems" checkbox (it has to be checked before in order for us to observe this behavior)
  4. Refresh the page
  5. Repeat step 2.
  6. Now, you can see that the numbers don't add up on the above step as a few of the unlocked problems have been hidden along with all the locked problems (for a certain difficulty: "Easy")

P.S: I observed this behavior with only those problems with "Easy" difficulty and I'm not sure if this is the case for problems with other difficulties("Medium" and "Hard").

loveshdongre commented 2 years ago

After 49280fdddd51aea3be0d686bf321887358e9fcef update still need to check if this bug exists or not