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

Not Pushing Codes Over GitHub #76

Closed wittedtech closed 4 months ago

wittedtech commented 4 months ago

Please review previous closed issues before filling out a new one! Duplicate issues will be closed without comment.

Describe the bug Extension is working fine. Did al the steps to set it up But the codes i do over on leetcode diesn't gets pushed in the github repository.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Leetcode.com'
  2. Solve any Problem
  3. Click on Submit
  4. After Submission the process gets recorded but the code doesn't gets pushed on GitHub

Expected behavior Should have pushed the code in the github.com inside a linked repository.

Screenshots

Screenshot 2024-05-23 at 9 17 42 PM

Screenshot 2024-05-23 at 9 17 25 PM

AYSTRONGIRP commented 4 months ago

i am also facing the same bug .

arunbhardwaj commented 4 months ago

Can you confirm that you are using LeetHub v2? The UI depicted in the second photo seems to be a different extension.

AYSTRONGIRP commented 4 months ago

image Yeah sure .

arunbhardwaj commented 4 months ago

I've reproduced the issue. It occurs in two scenarios: you are using the Toolbar Layout for Submit button, or you submitted a successful submission after an incorrect one. I should have a fix soon.

For now, you can successfully push your submissions if you use the other Submit button layout by going to the gear icon > Dynamic Layout > Show Run / Submit / Debug buttons in > Code Editor.

arunbhardwaj commented 4 months ago

Deployed in v2.0.2. Please update your extension if it's not done automatically!

dsankov commented 4 months ago

I've just upgraded to v2.0.3 but the problem is still there. There is everything OK while using "old version". But when switched to "new version", submitting the code doesn't push it to github. Regardless of submit button layout

arunbhardwaj commented 4 months ago

@dsankov can you share steps to reproduce along with some screenshots of what you're seeing on LeetCode and within your developer console?

dsankov commented 4 months ago

I can't reproduce it now Now it's OK! Thanx a lot!

arunbhardwaj commented 4 months ago

@dsankov I'm very glad the extension is working for you now! @AYSTRONGIRP @wittedtech I'll be closing this ticket for now, but please let me know if the problem persists for you still and I'll come back to take a look.