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

[Shameless show-off] Polyglot - Userscript for CodeWars #1758

Closed
hobovsky opened this issue Mar 11, 2019 · 9 comments
Closed

[Shameless show-off] Polyglot - Userscript for CodeWars #1758

hobovsky opened this issue Mar 11, 2019 · 9 comments
Labels

Comments

@hobovsky
Copy link

hobovsky commented Mar 11, 2019

Hello all,

Recently I've created a Tampermonkey Userscript which would help me with some issues which were particularly annoying for me, especially addressing issues #790, #1162, #1272, #1641 and indirectly #727, #752. It seems to work for me and does not blow up for the other user (thanks for testing, B4B!), so maybe someone else would also find it useful. Feel free to use it, or to completely ignore it ;)

You can find the script in this repo.

Small summary of features:

  1. Solved languages are marked:
    image

  2. Filtering by "Solved/not solved in [language]":
    image

  3. [Removed]

  4. [Removed]

  5. Copy code to clipboard
    image

  6. Solutions are tabbed by language
    image

  7. Spoiler flags are always displayed, so it's more difficult to accidentally flag/unflag a comment.

[Added:]
8. Solved langiages are dimmed also in language dropdowns, so you do not select the same language twice!
image

Hopefully, some/all of the features will be one day incorporated into CodeWars website itself. If anyone of you finds the script useful, then great. If not, well, you probably are not annoyed by these issues, so that's also great!

Have fun, and keep on CodeWarrioring!

@kazk kazk added the invalid label Mar 11, 2019
@kazk
Copy link
Member

kazk commented Mar 11, 2019

Closing because this is not an issue.

Also, can you not provide easy access to site events? It's not made to be accessed by average user or opened frequently and it's a performance hog according to Jake.

@kazk kazk closed this as completed Mar 11, 2019
@hobovsky
Copy link
Author

Closing because this is not an issue.

Well, I hoped you would at least mark the thread as feature suggestion(s) ;)

Also, can you not provide easy access to site events? It's not made to be accessed by average user or opened frequently and it's a performance hog according to Jake.

Sure thing, I did not realize that in full extent because, quite frankly, site events page was the thing I've learned on my very first day when joined CW and I thought it's some of a really common CW knowledge. Would not it be better just to remove it completely, then?
Would you want me to remove the feature no. 4 too (resolution of site event IDs into links), or can it stay for people who already know? Please mind that resolved links are persisted by the script so it would not grind through DB too much, but you're the boss, so I remove it if you request so!

Cheers!

@kazk
Copy link
Member

kazk commented Mar 12, 2019

Well, I hoped you would at least mark the thread as feature suggestion(s) ;)

If you want to request features not already done, then please fill out the issue template provided for each so it can be tracked independently. I don't think 3 and 4 will happen though.

Sure thing, I did not realize that in full extent because, quite frankly, site events page was the thing I've learned on my very first day when joined CW and I thought it's some of a really common CW knowledge.

I'm sure there's users who doesn't know about it, installs your script because they want filtering by language, then finds "Site events" link. I don't have the time to review the script and I have no idea how popular this script is or will be.
Just opening /site-events does many database queries because it's not optimized. I can remove it or optimize it, but it's extra work with low priority.

Would you want me to remove the feature no. 4 too (resolution of site event IDs into links), or can it stay for people who already know? Please mind that resolved links are persisted by the script so it would not grind through DB too much, but you're the boss, so I remove it if you request so!

I don't really care at this point. I'll do something if it's clearly affecting performance.

@hobovsky
Copy link
Author

Okay, so I removed all functionalities related to site events. We can live without it, I think.

Regards!

@HanaBenami
Copy link

Hi, Should it works?
Looks like it has no effect ....

@hobovsky
Copy link
Author

hobovsky commented Jul 11, 2020

It works for me, but I might miss something... Catch me on Codewars Discord, and we will try to see what's your problem.

@kazk
Copy link
Member

kazk commented May 1, 2021

@hobovsky Do you want to post a current version on https://github.com/codewars/codewars.com/discussions/categories/show-and-tell?

@hobovsky
Copy link
Author

hobovsky commented May 2, 2021

Well, I hoped to gradually remove features from the script as they get added to Codewars itself :) but sure, I will put something there.

@hobovsky
Copy link
Author

Posted here: #2377

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

No branches or pull requests

3 participants