Closed pmeier closed 1 month ago
Chat bubble icon in left side bar is missing
This was broken in #312. Previously it looked like
The problem is the relative link in https://github.com/Quansight/ragna/blob/0cb205f24ca9fb322ac32a2e1aaec6b34928cd2e/ragna/deploy/_ui/css/left_sidebar/button.css#L27
Since we are currently in /css/left_sidebar, it looks for /css/left_sidebar/imgs/chat_bubble.svg and fails.
/css/left_sidebar
/css/left_sidebar/imgs/chat_bubble.svg
Open the web UI and look at the left sidebar
main after #312
main
This can be fixed by using url("../../imgs/chat_bubble.svg"), but I don't know if that is the best way to do it.
url("../../imgs/chat_bubble.svg")
Using url("../../imgs/chat_bubble.svg") is a fair way to have it working. Another solution is to have the image base64-encoded in the CSS, but we don't want that.
Bug description
Chat bubble icon in left side bar is missing
This was broken in #312. Previously it looked like
The problem is the relative link in https://github.com/Quansight/ragna/blob/0cb205f24ca9fb322ac32a2e1aaec6b34928cd2e/ragna/deploy/_ui/css/left_sidebar/button.css#L27
Since we are currently in
/css/left_sidebar
, it looks for/css/left_sidebar/imgs/chat_bubble.svg
and fails.How to reproduce the bug?
Open the web UI and look at the left sidebar
Versions and dependencies used
main
after #312Anything else?
This can be fixed by using
url("../../imgs/chat_bubble.svg")
, but I don't know if that is the best way to do it.