Rework of chat app #77
Closed
calderonsamuel
started this conversation in
Show and tell
Replies: 3 comments
-
This is fantastic! I would very much welcome a PR. Great work!!! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Amazing! yes please submit a PR would love this! |
Beta Was this translation helpful? Give feedback.
0 replies
-
I will close this discussion because the main changes were implemented. The features for the "not so near future" will be listed in the issues of this repo. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
For the past few days I have been working on trying to make the chat app look more like an actual chat window. You can try it with:
Feel free to test it an let me know if it breaks. Also, I haven't done a PR yet because no one really asked for this.
Here I'll explain incrementally the new features and the reworks.
New look of the message history
Each individual message is now rounded and has an icon indicating whether it comes from the user or from the assistant. Each role has a different horizontal aligment and a slightly different background color.
Simplified user inputs
The prompt and buttons have been simplified to give the chat more room to expand.
Now the app has a settings button where the user can still choose its skill level and prefered style.
Welcome message with instructions
When the app starts (or history is cleared) the assistant greets the user with a random welcome message and instructions on how to use the app.
The chat can be adjusted vertically, horizontally and is scrollable
Limited to 800px width. The prompt input is always fixed to the bottom of the app.
Video.sin.titulo.mp4
The chat inherits the current rstudio theme
This makes it look more integrated with the IDE. I believe this gives the feel of what an extension does in VScode.
Video.sin.titulo.2.mp4
Notes
Although the main focus of the rework focused on the chat app, some changes in internals were needed. I also had to structure the app in modules to better isolate all internal logic and functions.
I have documented almost every new function and module that I have added and made sure that the changes pass all the previous tests and the ones that I added.
Pending features
In my fork issues panel https://github.com/calderonsamuel/gptstudio/issues you can see the next features I would like to include (also bugs). In the near future, I'll be working on adding:
In the not so near future, I would love to have in the app:
Please try it and let me know what you think!
Beta Was this translation helpful? Give feedback.
All reactions