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

🚀 Feature: Edit Previous Request and Resend in DocsGPT #1260

Open
1 task done
Mefisto04 opened this issue Oct 7, 2024 · 10 comments
Open
1 task done

🚀 Feature: Edit Previous Request and Resend in DocsGPT #1260

Mefisto04 opened this issue Oct 7, 2024 · 10 comments
Assignees
Labels
backend frontend hacktoberfest help wanted Extra attention is needed javascript Pull requests that update Javascript code python Pull requests that update Python code

Comments

@Mefisto04
Copy link

🔖 Feature description

I propose adding a functionality in DocsGPT where users can edit their previously sent requests and resend them to the AI to receive a new response. This feature will enhance the user experience by allowing them to refine their queries and get better, more targeted answers without having to start from scratch.

You should add an "Edit Request" button next to each previous request, allowing users to modify the text and resubmit the query to DocsGPT.

🎤 Why is this feature needed ?

In many cases, users may not get the exact response they are looking for on the first attempt. Rather than retyping or copying the whole request and submitting it again, allowing users to edit their last submission would save time and effort, improving both efficiency and interaction.

In my use case, this feature would allow me to correct mistakes, refine queries, or simply modify a question to get a more precise answer without retyping everything.

✌️ How do you aim to achieve this?

I want this feature to be implemented by adding an "Edit" option near the previous request in the chat interface. When clicked, it should populate the input field with the previous query, allowing users to modify it and resubmit. Upon sending, the updated query would replace the original request and trigger a new response from the AI based on the new input.

🔄️ Additional Information

A clear solution that I considered is adding an "Edit" button alongside the "Resend" option that allows users to directly modify their previous query. The alternative is to copy and paste manually, but that adds friction to the user flow and isn't as intuitive.

I tried manually copying and resubmitting, but it is tedious and error-prone, especially when the original request is lengthy.

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

Yes I am willing to submit a PR!

@tenokami
Copy link
Collaborator

tenokami commented Oct 7, 2024

@tenokami
Copy link
Collaborator

tenokami commented Oct 7, 2024

image

@Mefisto04

@tenokami
Copy link
Collaborator

tenokami commented Oct 7, 2024

image

@Mefisto04

@tenokami tenokami added help wanted Extra attention is needed javascript Pull requests that update Javascript code hacktoberfest frontend labels Oct 7, 2024
@Niharika0104
Copy link
Contributor

Can you assign this issue to me?

@AkashJana18
Copy link
Contributor

@Niharika0104 @Mefisto04 are you guys working it ?
May I assist .. I would love to work on this issue

@Niharika0104
Copy link
Contributor

@AkashJana18 you can do the backend part of this and I will do the frontend part of this.
What say ?

@AkashJana18
Copy link
Contributor

@Niharika0104 it is supposed to be a frontend issue as doesn't has any backend tag

@Niharika0104
Copy link
Contributor

@AkashJana18 I think we need to have one backend method which will update that particular query
We need to check if we have any such endpoint

@dartpain dartpain added backend python Pull requests that update Python code labels Oct 31, 2024
@dartpain
Copy link
Contributor

Yep, it will need some backend changes too.

@RohittCodes
Copy link
Contributor

@ManishMadan2882 can u assign this to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend frontend hacktoberfest help wanted Extra attention is needed javascript Pull requests that update Javascript code python Pull requests that update Python code
Projects
None yet
Development

No branches or pull requests

6 participants