Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Get previously sent Messages in Chat Input, Terminal style #589

Open
1 task done
JohnPeng47 opened this issue Jul 5, 2023 · 2 comments
Open
1 task done
Labels
enhancement New feature or request

Comments

@JohnPeng47
Copy link

Contact Details

johnpeng47@gmail.com

What features would you like to see added?

Keep a conversation buffer of user sent messages and pressing up cycles through them ie. terminal style

More details

o___O

Which components are impacted by your request?

General, UI

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@JohnPeng47 JohnPeng47 added the enhancement New feature or request label Jul 5, 2023
@danny-avila danny-avila changed the title Enhancement: Jul 5, 2023
@danny-avila
Copy link
Owner

I had to use GPT to understand your suggestion more, but I agree it's a good one. Here is what GPT generated if it's accurate:

The user is suggesting a feature that is common in command-line interfaces (like a terminal or shell). In these interfaces, you can press the up arrow key to cycle through the previous commands you've entered. This can be very useful if you're entering similar commands repeatedly, or if you made a mistake in a long command and want to correct it without typing the whole thing again.

In the context of a chat application, this feature could allow users to quickly re-send previous messages or modify and re-send them. For example, if a user asked a question and didn't get the answer they wanted, they could press the up arrow key to bring up their previous question, modify it, and send it again.

The "conversation buffer" the user mentions would be the part of the system that stores the previous messages. When the user presses the up arrow key, the system would look in this buffer to find the previous messages.

The components that would be impacted by this request would be the user interface (since you'd need to add the ability for users to navigate through previous messages) and possibly the backend (to store and retrieve the previous messages).

@JohnPeng47
Copy link
Author

Yes exactly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
2 participants