arunbhardwaj / LeetHub-2.0

Automatically sync your leetcode solutions to your github account - with some updates to keep it working
https://chrome.google.com/webstore/detail/leethub-v2/mhanfgfagplhgemhjfeolkkdidbakocm
MIT License
273 stars 35 forks source link

Bug/leetcode 76 not pushing #78

Closed arunbhardwaj closed 4 months ago

arunbhardwaj commented 4 months ago

Fixes bug #76 by changing the method of retrieving the user's submission ID. Instead of polling the document url after an arbitrary time and hoping the URL is updated correctly, we now send a message to the service worker/chrome API to listen on URL changes. Consequently, uploads are now much faster without the arbitrary delay.

Also updates error messaging to be more descriptive.