LeetSync / LeetSync

LeetSync is a Chrome extension that enables you to sync your LeetCode problem submissions with a selected GitHub repository. With this extension, you can easily track your coding progress and share your solutions with others on GitHub.
https://chromewebstore.google.com/detail/leetsync-leetcode-to-gith/ppkbejeolfcbaomanmbpjdbkfcjfhjnd?hl=en&authuser=0
150 stars 22 forks source link

Not working after one commit #186

Open schoto opened 2 weeks ago

schoto commented 2 weeks ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Leetcode'
  2. Click on 'Submit'
  3. Don't see it on github

Expected behavior It shouldn't crash after one try

Desktop (please complete the following information):

disturbedlord commented 2 weeks ago

The extension does not increase the count after solving around 70+ questions.

Reason for this Bug is that the data for this extension is stored in Chrome.Storage.Sync which has a limitation of 8KB per key Source.

On solving around 70 questions the data in the key overflows which causes the extension to stop counting Streak. Since pushing to github is a separate process so that flow works as is.

Since this repo has been inactive for a long time with no fix, I have remodified the logic to overcome this bug and fixed it in my build.

You can use my version of this extension https://github.com/disturbedlord/LeetSync2/releases/tag/v1.0.2