JHubi1 / ollama-app

A modern and easy-to-use client for Ollama
Apache License 2.0
440 stars 30 forks source link

bug report Code text block App UI #26

Closed Morrigan-Ship closed 2 months ago

Morrigan-Ship commented 3 months ago

when AI like Phi3 generating a code block it has cannot word wrap therefore some of code text is hidden.

JHubi1 commented 3 months ago

I will investigate the issue, but it could take a while. I'm currently not at my main coding setup. Could you provide a screenshot as an example?

Morrigan-Ship commented 3 months ago

image

JHubi1 commented 3 months ago

And you're not able to scroll, right? If so I'll look into it

Morrigan-Ship commented 3 months ago

And you're not able to scroll, right?

yes, i cannot

JHubi1 commented 2 months ago

Hi there, sorry that it took a while. I investigated and found the issue. As described in this issue, the drawer does not pass scrolls to below widgets. We'll have to wait for a fix for the problem. In the meantime, I implemented a small fix. Could you try if scrolling works in this build ollama.zip after enabling the fix in interface settings?

Morrigan-Ship commented 2 months ago

horizontal scroll still not work same problem

JHubi1 commented 2 months ago

Did you enable the fix in settings?

Morrigan-Ship commented 2 months ago

oh i enabled fixed thank you

Morrigan-Ship commented 2 months ago

but a bad UI when i try to select text from AI response it show me new pop windows that is not nice

JHubi1 commented 2 months ago

If you don't like it you can add a better solution yourself and contribute to the project

Morrigan-Ship commented 2 months ago

i have very good idea for selecting ui in chat a think like last version of Telegram Messenger in this idea you can select multi message for delete copy or select part of message and a button top of code block to copy just all codes in block not all textbot message

install telegram if you dont have it

Morrigan-Ship commented 2 months ago

when typing message: image

when sent message: image

JHubi1 commented 2 months ago

This is a new issue, feel free to open a new one if needed