andrewnguonly / Lumos

A RAG LLM co-pilot for browsing the web, powered by local LLMs
MIT License
1.34k stars 95 forks source link

Window resolution abnormal #159

Closed syslot closed 3 months ago

syslot commented 4 months ago

When I update the new version 1.0.13, the extension's window resuolution is abnormal.

Screenshot 2024-04-09 at 11 36 20
andrewnguonly commented 4 months ago

@syslot, thanks for reporting the issue! What browser and browser version are you using?

syslot commented 4 months ago

I tested this with two browser:

  1. Chrome with Version 122.0.6261.129 (Official Build) (x86_64)
  2. Arc Version 1.37.0 (48361) Chromium Engine Version 123.0.6312.106
andrewnguonly commented 4 months ago

I'm testing with Chrome version 123.0.6312.107 and I can't reproduce the issue. I'll test with Arc next. The screenshot looks like it's from Arc.

syslot commented 4 months ago

this pic is captured in chrome

andrewnguonly commented 4 months ago

Can you inspect popup window and check the width of the popup class? What does it show?

I can reproduce the issue if I remove the width attribute of the popup class.

.popup {
  /* width: 550px; */
  padding: 10px;
}
syslot commented 4 months ago

It doesn't match the situation you described. For the reason that I can't find the popup segment in style. Is it unexpected width of the container?

andrewnguonly commented 4 months ago

The expected width of the popup is 550px, as specified in Popup.css. If you don't see the popup class, then something is very wrong 😅

Can you try deleting the dist folder/files and rebuilding the entire app (i.e. npm run build)?

syslot commented 4 months ago

The expected width of the popup is 550px, as specified in Popup.css. If you don't see the popup class, then something is very wrong 😅

Can you try deleting the dist folder/files and rebuilding the entire app (i.e. npm run build)?

Thanks for your reply. I've fellowed your advice , remove all project source code and re-clone it. After execute cmd : npm run build and load the dist fold, I found two errors in my extension page; here are :

image image

Is this the problem?

andrewnguonly commented 4 months ago

It's possible that there's a CSS class name collision with another extension. I'm going to update the class names to see if that helps.

andrewnguonly commented 4 months ago

@syslot, can you try version 1.0.14?

andrewnguonly commented 4 months ago

Hey @syslot, just checking in. Does version 1.0.14 resolve your issue?

andrewnguonly commented 3 months ago

Closing this issue for now. @syslot, if the issue is still present in the latest release, please re-open this issue. Thanks!