BrianJr03 / Issa-Chat-App

A simple way to chat with ChatGPT on Android
GNU General Public License v3.0
52 stars 2 forks source link

Copy text does not work in markdown mode #30

Open carnager opened 1 year ago

carnager commented 1 year ago

Markdown mode is a really welcome addition.

It seems though, that one can't copy the markdown version to clipboard, since long pressing does not do anything

BrianJr03 commented 1 year ago

Thanks for creating an issue for this. Unfortunately, the composable that I'm using to display markdown does not have a way to listen for long presses. It comes from an external library and I'm not sure why the authors only allow for single tap events. I'll keep this open and will continue looking for fixes / workarounds. You can copy the Chat's text in Default mode.

carnager commented 1 year ago

One possible workaround (which at the same time would make the app look more in line with material design guidelines): add a toolbar for toggles and a 3-dot-menu for chat related actions.

BrianJr03 commented 1 year ago

Will def look into that, thanks. I did not expect this project to get this far at all so in the beginning I was just whipping up any design so I could focus on the chat-gpt integration part. I'll read up on material guidelines and continuously update the UI