piyushgarg-dev / leetcode-whisper-chrome-extension

136 stars 167 forks source link

Not able to change programming language once extension is loaded #99

Open vineethreddy899 opened 1 week ago

vineethreddy899 commented 1 week ago

Not able to change programming language once extension is loaded. The dropdown to select programming language is not working.

sanvi1803 commented 1 week ago

Not able to change programming language once extension is loaded. The dropdown to select programming language is not working.

Hey any idea how to get API Key since for me it says The model gpt-4o does not exist or you do not have access to it.

Owaiseimdad commented 1 week ago

Not able to change programming language once extension is loaded. The dropdown to select programming language is not working.

@vineethreddy899 can add a video if possible. This should not be the case as I have seen the code of the content.tsx and there is nothing we are doing to language button.

piyushgarg-dev commented 1 week ago

Yes, This issue is coming that language dropdown is not working.

Owaiseimdad commented 1 week ago

/assign to me @piyushgarg-dev

piyushgarg-dev commented 1 week ago

@Owaiseimdad Done

Owaiseimdad commented 1 week ago

@vineethreddy899 and @piyushgarg-dev let me know what am I doing wrong. Because I cannot reproduce the issue.

https://github.com/user-attachments/assets/e77f6fd5-04c2-4483-ac68-2390820fc88b

ruru-m07 commented 1 week ago

@Owaiseimdad are u running build output or are you in dev mode?

also resolve the configuration issue that occurs after the CSS for the next pages loads.

and this issue only happens in the dev environment, not in the prod build.

Owaiseimdad commented 1 week ago

got it @ruru-m07 will do that. It was actually prod mode.

Owaiseimdad commented 1 week ago

okay got the issue, due to tailwind css loaded in index.css. specific "@tailwind utilities;" is causing the problem. It is inferring with the application tailwind.

Working in the resolution.

cc: @piyushgarg-dev @ruru-m07

Owaiseimdad commented 6 days ago

@ruru-m07 need your help here, stuck with problem for a while now.

the style injected into the head is causing the problem. not just the drop but so many selector.

@piyushgarg-dev the problem is not just with one drop down but the entire applications css. you can refer to the video

Owaiseimdad commented 6 days ago

https://github.com/user-attachments/assets/1d1a2d08-b5d6-4af1-a9a9-fbddd8b0e7ef

ruru-m07 commented 4 days ago

I did extensive debugging and found a single property causing this issue.

I spent a lot of time and effort debugging this issue; I hope this is helpful to all.

my report

if u r super lazy TL;DR

so what I do?

image

image

image

image

image

image

Here is a video proof. ( working selector )

https://github.com/user-attachments/assets/142840d4-9756-4c43-8218-9439740ade8b

here is some codebase walkthrough

https://github.com/user-attachments/assets/824bc92a-2d9f-4da6-b99b-9b135fc173ca

mentions: @Owaiseimdad @piyushgarg-dev @vineethreddy899