MaanasSehgal / Codeforces-Lite

Codeforces Lite is a Chrome extension that enhances Codeforces. It features a built-in code editor with code-saving, language switching, and a timer. The extension also offers an optimized dark theme, custom templates for faster coding, and UI improvements for better navigation.
https://chromewebstore.google.com/detail/codeforces-lite/hgcgfmgjkfjmhoebifgmbfipinkkjgco
MIT License
29 stars 5 forks source link

Getting the submission results on the extension itself #1

Open MaanasSehgal opened 3 weeks ago

MaanasSehgal commented 3 weeks ago

We have tried our best but need some help with implementing this functionality.

So this will go like when you submit, the redirect from codeforces stops and the submission result will show live on the extension itself, just like it does in leetcode.

If someone is interested in taking this part, do let me know before hand right here.

Dev-Code24 commented 3 weeks ago

The only thing that is problematic here is the redirection from codeforces, rest can be done easily according to me.

MaanasSehgal commented 3 weeks ago

Hey, we can handle that actually, if you think u can get this done, please let me know, we will handle the stopping of redirection part

Dev-Code24 commented 3 weeks ago

From the submission result? you mean the AC, WRONG_ANSWER, TLE, Compile Error right? Well you know you can use, the following API end point, and set from=1&count=1 to get the recent submission https://codeforces.com/api/user.status?handle=iamrlm&from=1&count=10

I have implemented a similar logic https://github.com/Dev-Code24/My-Codeforces-Journal-Development/blob/6d12996644f6390d9034077824bcb4da2a6d05a4/src/services/add-problem.ts#L79

MaanasSehgal commented 3 weeks ago

Omg dude that's amazing, I was searching for this for so long. Wanna collaborate here with us to make this happen? We also are working on another feature for running and checking pretests so yeah we can definitely get this done

Dev-Code24 commented 3 weeks ago

ok, we should collaborate : )

MaanasSehgal commented 3 weeks ago

ok, we should collaborate : )

Hey, we have started working upon the code running part and can pick the submit after that's done, do u want to pick the other 2 issues?

Dev-Code24 commented 3 days ago

Hey, we have started working upon the code running part and can pick the submit after that's done, do u want to pick the other 2 issues?

have you completed the issue ? I just did not see the notification of your comment

MaanasSehgal commented 2 days ago

Hey, we have started working upon the code running part and can pick the submit after that's done, do u want to pick the other 2 issues?

have you completed the issue ? I just did not see the notification of your comment

Hey, the version 1.1.2 will be out soon having the code running feature implemented, although it's there on the GitHub as of now in the main branch. If you want to get the feature done, please start with and and let me know when it's done.

If it integrates well, we can get it merged here