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
Highlight any text or code in the IDE (JetBrains or Visual Studio Code).
Start a new Navie chat.
Observe that the highlighted text or code is automatically attached as context.
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.
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:
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
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