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

[BUG]: Lack of Undo Functionality for Paste in Main Prompt Text Box #2590

Open
MrSimonC opened this issue Nov 5, 2024 · 0 comments · May be fixed by #2591
Open

[BUG]: Lack of Undo Functionality for Paste in Main Prompt Text Box #2590

MrSimonC opened this issue Nov 5, 2024 · 0 comments · May be fixed by #2591
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.

Comments

@MrSimonC
Copy link
Contributor

MrSimonC commented Nov 5, 2024

How are you running AnythingLLM?

Docker (local)

What happened?

Currently, when users enter text into the main prompt text box of Anything LLM, the undo functionality does not work after pasting text. When users press Ctrl+Z on Windows or Command+Z on Mac, the pasted text remains in the prompt box and cannot be undone. This forces users to manually delete the pasted text, which can be inconvenient and disrupts the workflow.

Environment:

  • Operating System: Windows (docker) and MacOS (desktop)
  • Application Version: v1.2.4

Possible Solution:
Investigate and implement proper handling of the undo operation for paste actions in the main prompt text box, ensuring that Ctrl+Z (Windows) and Command+Z (Mac) function as expected.

Additional Context:
This issue affects the user experience by adding unnecessary steps to correct mistakes or changes, which can hinder productivity.

Are there known steps to reproduce?

Steps to Reproduce:

  1. Open the main prompt text box in Anything LLM.
  2. Paste any text into the text box.
  3. Attempt to undo the paste action by pressing Ctrl+Z (Windows) or Command+Z (Mac).
  4. Observe that the pasted text remains and is not undone.

Expected Behavior:
Pressing Ctrl+Z (Windows) or Command+Z (Mac) should undo the paste operation and remove the pasted text from the main prompt text box.

Actual Behavior:
The pasted text stays in the prompt text box and is not undone, requiring manual deletion.

@MrSimonC MrSimonC added the possible bug Bug was reported but is not confirmed or is unable to be replicated. label Nov 5, 2024
@MrSimonC MrSimonC linked a pull request Nov 5, 2024 that will close this issue
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible bug Bug was reported but is not confirmed or is unable to be replicated.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant