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

Inability to Deselect Attached Context from Navie Prompt #766

Open
Daniel-Warner-X opened this issue Aug 8, 2024 · 0 comments
Open

Inability to Deselect Attached Context from Navie Prompt #766

Daniel-Warner-X opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Daniel-Warner-X
Copy link
Contributor

Description

When starting a new Navie chat in the IDE (JetBrains or Visual Studio Code), any highlighted text or code is automatically attached as context to the prompt. While this feature is generally useful, it becomes cumbersome when the attachment happens by accident or when switching contexts. Currently, the only way to remove the attached context is to close the chat, find the selected text or file, deselect it, and start a new chat, which disrupts the workflow.

Expected Behavior

Users should be able to easily detach the attached context without needing to close the chat and manually deselect the text in the IDE. Specifically:

  • A mini card appears above the chat input when a file is attached.
  • This mini card should have an 'X' icon to allow users to quickly remove the attached context.
  • Alternatively, the mini card could support a right-click context menu with the option to remove the attached context.

Actual Behavior

Users must close the chat, locate the selected text or file in the IDE, deselect it, and then start a new chat to remove the attached context. This process is cumbersome and time-consuming, particularly when the context is accidentally attached or when switching contexts (e.g., copying an error message from another platform to Navie chat).

Steps to Reproduce

  1. Highlight any text or code in the IDE (JetBrains or Visual Studio Code).
  2. Start a new Navie chat.
  3. Observe that the highlighted text or code is automatically attached as context.
  4. Attempt to deselect the attached context without closing the chat.

Impact

The inability to easily deselect attached context disrupts the workflow and adds unnecessary steps, especially in scenarios where a user is switching contexts or working with clipboard content from another platform.

Plugin Versions

JetBrains: .72.0
Visual Studio Code: 0.125

Additional Information

In this video around the :45 mark you can see that I come in with an error from Waltz copied to my clipboard. I have one of the setup commands selected from doit.sh which inadvertently gets pulled in as context.

https://www.loom.com/share/076a32dce3db4710a3f554ba7c8b6011

@Daniel-Warner-X Daniel-Warner-X added the bug Something isn't working label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant