Fermain / -mollify

9 stars 9 forks source link

Molly chat improvements #167

Closed MegumiKim closed 9 months ago

MegumiKim commented 10 months ago

Molly frontend tasks I am working on can be divided to several stages. I would like to request reviews at each sub tasks I am working on.

First commits encompass the following changes:

One question: Now that query can be submitted on press Enter key, can I remove submit button in order to secure more space for textarea and avoid confusion?

StianSto commented 10 months ago

great work as always :) tested it on my phone, and while molly wasnt visible at first (fixable by adjusting height on the wrapper) i was able to write and send a query, and got a response. im also not able to send an empty query.

requests:

MegumiKim commented 10 months ago

@StianSto Thanks Stian for testing. As requested, uncommented +server.ts file.

MegumiKim commented 10 months ago
MegumiKim commented 9 months ago

Please note the following changes:

Anclagen commented 9 months ago

There are some issues when it comes to resizing the box.

On Firefox Molly is expanding with the text. molly-firefox

On chrome its fine till you resize it. molly-chrrome

Fermain commented 9 months ago

We should bind escape to closing Molly. when fully expanded, it sits behind the header meaning you can't close it.

Would be useful to have a small explainer like:

Enter to send. Shift + Enter for new line.

MegumiKim commented 9 months ago

@Anclagen Thanks for spotting. There was a bug in the last commit. Should be ok now...

MegumiKim commented 9 months ago

In addition to custom resize, I added fixed resize button with placeholder icon. Please test if it works ok/good size.

MegumiKim commented 9 months ago

@StianSto @pretzL @Fermain All the requested changes are now made. Hope you could approve :-)