hobovsky / polyglot

TamperMonkey user script which improves user experience with CodeWars (or at least tries to).
18 stars 5 forks source link

Solved katas show in results when "Show katas I haven't solved" is selected #15

Closed Len512 closed 2 years ago

Len512 commented 3 years ago

I used this script today after some time:

Screen Shot 2020-12-01 at 13 41 57

The results contain also kata which I have completed in Kotlin and sometimes even fails to "fade out" the language logo. For example, the Bouncing Balls kata in the screenshot, I have completed this in 4 languages.

Is there a step I'm missing? I must admit I haven't used this in some time now.

The script is updated to the latest version

hobovsky commented 3 years ago

I just checked and I admit I am somewhat confused. I was pretty sure there's some issue with the script caused by recent updates to Codewars, but it turns out it works well for me. I would appreciate if you could provide some additional info:

Thanks.

Styling of the filter dropdown is terrible though, I will try to do something with this.

Len512 commented 3 years ago

Hi, and thanks for your efforts :) This is a really cool feature which I find very useful when I learn a new language (or want to refresh one). To answer your questions:

Screen Shot 2020-12-07 at 10 52 16

This does not happen on this kata only, it doesn't seem to make a difference which kata it is, which language, filters etc...

Here is another example when I check for Swift:

Screen Shot 2020-12-07 at 10 54 29

The "Valid braces" kata is marked correctly, but the next three are not. Each of "Reversed sequence", "Make a spiral" and "Last Digit.." are solved in JS, Python and Swift, but none is marked as such.

When I open the "View Solutions" page for "Make a spiral" though, the languages are correctly marked / faded on the "Choose a language" dropdown menu, as seen below:

Screen Shot 2020-12-07 at 11 07 00

hobovsky commented 3 years ago

When you open the Tampermonkey addin settings and view details of my script, you can find the "Storage" tab there:

image

Could you please provide the contents of your "Storage" text box, please? I expect it to be quite big in your case, so if it does not fit here in a post, just put it in some pastebin or upload somewhere.

You can also try to clear it (you need to set it to an empty JSON object: { }) and refetch the data by visiting "Solutions" tab, eventually checking the browser console for errors (I do not remember how detailed logging is there though). Format of the data changed slightly over time, but I think it should be backwards compatible. Could be wrong though.

As for a browser, I usually use Opera on a daily basis, but I will try with FF and Chrome.

I am sorry for all the inconvenience.

Len512 commented 3 years ago

The "Storage" tab you mention is not available to me (or I can't find it??!)

Screen Shot 2020-12-07 at 11 57 40

No worries about any inconvenience, it's a very nice tool and it's nice to help.

Len512 commented 3 years ago

Just tried out with Opera, same thing happens.

hobovsky commented 3 years ago

Is "Storage" tab available for you in Opera? If so, can you share it?

I will take a closer look at this when I'm back home.

Len512 commented 3 years ago

No I have the exact same options as in Firefox. No rush, thanks for your efforts :)

hobovsky commented 2 years ago

This issue will most probably will become obsolete after #28 is realized.

hobovsky commented 2 years ago

The filters got removed from Polyglot (see #28), and this issue became obsolete.