Open FNSYacoub opened 1 year ago
@QasimWani Looks like the bug is still present. Latest leethub code over the last 6 days is not being added to my git repo
hmm so leetcode update only seems to reflect on my new leetcode account. Talked to few folks and it seems like the UI update hasn't reflected across al leetcode users. Let's discuss this further in our discord (see #general channel)
Is the code updated or not for the new UI ?? @B-soto
no code has been pushed to LeetHub. leetcode UI hasn't been changed on my account for some reason. I don't think leetcode UI is universally applied?
I think the bug is still there for the new UI
I still have no code updating. old account(pre Oct 1st) , deleted and reinstalled repo
use the older leetcode UI. Click on your profile and click "revert to old version"
I won't have time maintaining the repo on a daily basis. But happy to look into PR's for this issue.
now using older version 👍
use the older leetcode UI. Click on your profile and click "revert to old version"
I won't have time maintaining the repo on a daily basis. But happy to look into PR's for this issue.
Thanks this worked.
Don't wanna sound pushy, but can you please figure out how to solve this issue, as a temporary fix reverting to older version is fine, but I really love the leetcode new UI and I really really love this extension. So please help here!!
Hey Everyone, I inspected the LeetCode success page on the new UI. In the source code for this repo we have this:
const successTag = document.getElementsByClassName('success__3Ai7');
The new UI doesn't have this success class name but I found that the tag leading-6
seems to be unique and associated with Acceptance. i don't have time to code it but maybe someone can use this and test it out with the new UI? @QasimWani
Hi @QasimWani @andreidimaano, I have tried a possible solution of yours to change the tag, but it didn't work out because leetcode has updated my tag in New UI. This need to review the whole file of the leetcode.js. Let me know if anyone will do it; I love to help with that.
ps: working fine with Old UI
Happy to help debug and investigate a fix here if I get the new UI, but for now, it looks like I'm still on the old UI.
For context, can someone with the new UI post a screenshot?
@aguynamedloren
Hey @QasimWani , can you please let us know by when we can expect the fix for the new UI? I surely do not want to let go of this awesome feature off my list. I'm holding on to the old UI just because Leethub not supporting it. Lots of <3 and support.
Thanks.
Hello, I'm trying to fix the extension for the new LeetCode UI, all will be done but I didn't think of any way to get the problem description, because the element always destroys when I switch to the submissions tab. Does anyone have an idea? thanks.
Hi, I think the issue is still there with the new UI. Any update on the fix? Also, how can I help?
no code has been pushed to LeetHub. leetcode UI hasn't been changed on my account for some reason. I don't think leetcode UI is universally applied?
I am still facing same issue because of the new UI
Still facing the same issue waiting for an update
I resolved it. Just change back to the Old UI in Leetcode, using the drop-down menu option, that comes after clicking your profile icon
Note: There are 2 sections where you can switch to the old UI. The submission screen and the coding area. Make sure both are back to OLD UI
That's just a patch for now, what if Leetcode removes the old version? need a better solution for this
I first time using this LEETHUB and for seeing the functionality i submitted extra submissions but none of them added in the leethub id or github. What is wrong with it?
@QasimWani shifted to older version of UI. Although , not impressed with new version of leetcode but we should be able to find the solution for newer version as well. Leethub extension should also work in newer UI too.
I first time using this LEETHUB and for seeing the functionality i submitted extra submissions but none of them added in the leethub id or github. What is wrong with it?
Try shifting to older version of leetcode
Is this issue still open?, cause i think i can take this one
yes its very much an open issue and would need help figuring this out :D
On Sat, Dec 24, 2022 at 10:20 AM varun @.***> wrote:
Is this issue still open?, cause i think i can take this one
— Reply to this email directly, view it on GitHub https://github.com/QasimWani/LeetHub/issues/366#issuecomment-1364477923, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKN2GQRXP3PWXC7HWBTKXVTWO2P4JANCNFSM6AAAAAAQ4XLC2Y . You are receiving this because you were mentioned.Message ID: @.***>
yes its very much an open issue and would need help figuring this out :D … On Sat, Dec 24, 2022 at 10:20 AM varun @.> wrote: Is this issue still open?, cause i think i can take this one — Reply to this email directly, view it on GitHub <#366 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKN2GQRXP3PWXC7HWBTKXVTWO2P4JANCNFSM6AAAAAAQ4XLC2Y . You are receiving this because you were mentioned.Message ID: @.>
Ok I'll be submitting a PR by tomorrow, I think the basic functionality works, but there are few things I want to ask, to understand the code-base a bit better.
Hi @QasimWani, I've just submitted a PR to the dev
branch that should fix the issue of code not being submitted to GitHub from LC. #464 (comment)
There's still some more work to be done though, hence it being on the dev
branch. Give it a test on your local machine and let me know if there are any issues
New leethub is still not pushing the answer to the github. please fix this. Using older UI leetcode right now.
I have submitted a PR regarding this issue, Will get to it, when someone reviews it
Yes same issue, lets wait!
Yes same issue, lets wait!
You can change leetcode UI till the issue get fixed.
I think still the problem persists! Anyone got any updates regarding new UI ??
I think still the problem persists! Anyone got any updates regarding new UI ??
Yes I am facing this problem as well. There only seems to be one solution, i.e., to revert back to old version
Also experiencing this issue. Any updates on a fix coming for this?(Besides reverting to old UI)
Also experiencing this issue. Any updates on a fix coming for this?(Besides reverting to old UI)
I've made a pull request that should fix the issue. It should be in prod soon. Whilst you are waiting for the update, you can fork my repo and use it locally on your machine:
git checkout patch_1
in your command lineAlso experiencing this issue. Any updates on a fix coming for this?(Besides reverting to old UI)
I've made a pull request that should fix the issue. It should be in prod soon. Whilst you are waiting for the update, you can fork my repo and use it locally on your machine:
- Fork this repo and clone to your local machine
- Change to the patch_1 branch by typing
git checkout patch_1
in your command line- Go to chrome://extensions
- Enable Developer mode by toggling the switch on top right corner
- Click 'Load unpacked'
- Select the entire LeetHub folder
- Run "npm run setup" to install the developer dependencies
Hi Ahmed,
Great work! I forked your repo but I'm getting the 422 issue when submitting. Is this a known bug?
Also experiencing this issue. Any updates on a fix coming for this?(Besides reverting to old UI)
I've made a pull request that should fix the issue. It should be in prod soon. Whilst you are waiting for the update, you can fork my repo and use it locally on your machine:
- Fork this repo and clone to your local machine
- Change to the patch_1 branch by typing
git checkout patch_1
in your command line- Go to chrome://extensions
- Enable Developer mode by toggling the switch on top right corner
- Click 'Load unpacked'
- Select the entire LeetHub folder
- Run "npm run setup" to install the developer dependencies
This still does not work. Have tried it in the new UI but the codes aren't getting pushed
Also experiencing this issue. Any updates on a fix coming for this?(Besides reverting to old UI)
I've made a pull request that should fix the issue. It should be in prod soon. Whilst you are waiting for the update, you can fork my repo and use it locally on your machine:
- Fork this repo and clone to your local machine
- Change to the patch_1 branch by typing
git checkout patch_1
in your command line- Go to chrome://extensions
- Enable Developer mode by toggling the switch on top right corner
- Click 'Load unpacked'
- Select the entire LeetHub folder
- Run "npm run setup" to install the developer dependencies
Hi Ahmed,
Great work! I forked your repo but I'm getting the 422 issue when submitting. Is this a known bug?
I had the same problem when I was using an existing repo. It worked when I created a new one from leethub screen. Hope this helps you.
Also experiencing this issue. Any updates on a fix coming for this?(Besides reverting to old UI)
I've made a pull request that should fix the issue. It should be in prod soon. Whilst you are waiting for the update, you can fork my repo and use it locally on your machine:
- Fork this repo and clone to your local machine
- Change to the patch_1 branch by typing
git checkout patch_1
in your command line- Go to chrome://extensions
- Enable Developer mode by toggling the switch on top right corner
- Click 'Load unpacked'
- Select the entire LeetHub folder
- Run "npm run setup" to install the developer dependencies
Hi Ahmed,
Great work! I forked your repo but I'm getting the 422 issue when submitting. Is this a known bug?
I had the same problem when I was using an existing repo. It worked when I created a new one from leethub screen. Hope this helps you.
Yea. That's what I did as well, made a new repo then switched to the old one.
Also experiencing this issue. Any updates on a fix coming for this?(Besides reverting to old UI)
I've made a pull request that should fix the issue. It should be in prod soon. Whilst you are waiting for the update, you can fork my repo and use it locally on your machine:
- Fork this repo and clone to your local machine
- Change to the patch_1 branch by typing
git checkout patch_1
in your command line- Go to chrome://extensions
- Enable Developer mode by toggling the switch on top right corner
- Click 'Load unpacked'
- Select the entire LeetHub folder
- Run "npm run setup" to install the developer dependencies
Hi Ahmed, Great work! I forked your repo but I'm getting the 422 issue when submitting. Is this a known bug?
I had the same problem when I was using an existing repo. It worked when I created a new one from LeetHub screen. Hope this helps you.
Yea. That's what I did as well, made a new repo then switched to the old one.
Here's what I did: 1) Had an old repo that was linked to the original LeetHub extension. 2) I installed this new LeetHub-Test extension built by @Ahmed-Shukri02 3) I linked my previously exisiting repo to this extension 4) Tried submitting a code, but it was not pushed to GitHub (with the new LeetCode UI) 5) Created and linked a new repo with this extension 6) Tried submitting again, code still did not get pushed to the new repo 7) Linked my older repo again, but the code still was not pushed
I don't understand what is wrong here. Please check this out. (btw kudos to @Ahmed-Shukri02 for coming up with the fix)
Hi Ahmed,
Great work! I forked your repo but I'm getting the 422 issue when submitting. Is this a known bug?
Hi @plgrazon, sorry for the late reply but yes this is a known issue that is found even on the old version of leethub for old leetcode UI #486. I don't really understand it and I might be wrong but I think it has something to do with trying to update a solution already in your repository from a device that isn't storing the commit's SHA in your chrome storage (for example if you completed Two Sum on one device and tried to commit it again to the same repo on another device or re-initializing leethub on the same device). It's quite annoying but a good quick fix suggested by @nabilnaja is to just make a new repo
This still does not work. Have tried it in the new UI but the codes aren't getting pushed
@mayankjain25 Right now you may be on the main
branch which is quite outdated. Sorry for the confusion, I haven't made that super clear and I might merge the working version onto main
to make it less confusing.
My current working version is on the patch_1
branch. For now you can access it by running git checkout patch_1
on the bash terminal you cloned the repo on.
Can we get an update regarding the fix of this issue ?
It doesn't push the solution anymore. it's since May 17.
@Ahmed-Shukri02 Do you have any idea why please?
Thank you.
Turns out Leetcode got updated once again, and this time it resembles the previous original result page. I think now this can be integrated with the new UI :) Will work soon, if @Ahmed-Shukri02 or someone reviews on it
its not pushing the code to github please fix the issue
waiting for any update ...
uhmm ok i'll have a look at this once again.. and if @QasimWani or someone could review it, then that would be nice else you can use my public fork for the same I'll take a look in a week or so ;)
yes its not pushing the code from leetcode to github .
Since the 1st of October 2022, LeetCode has a new UI and submission process which is not compatible with how the plugin works, thus it stopped working. I think the plugin needs an urgent update to work with the new UI.