Skip to content

v1.1.0

Choose a tag to compare

@barisx barisx released this 19 Sep 11:39
· 3 commits to main since this release
eb8c05c

Select2Prompt Chrome Extension - Version 1.1.0

Release Notes

In this update, we are introducing an enhanced user experience that brings a seamless and visually intuitive way to transfer your selected text to the prompt-textarea. Building upon the foundation laid in the initial release, version 1.1.0 comes with the following improvements:

Features

  • Text Replacement with Visual Feedback: In the previous version, selecting text would append it to the existing content in the prompt-textarea. Now, the selected text will replace the existing content, providing a fresh space for each new selection. To complement this, we have introduced a visual feedback mechanism where the background of the prompt-textarea momentarily transitions from yellow to transparent, signaling the successful transfer of the selected text.

  • Enhanced Prompt Detection: By adding two newline characters ('\n\n') after the selected text, we facilitate better prompt detection by ChatGPT, enhancing the clarity and structure of the conversation.

How It Works

  1. Text Selection and Transfer: Highlight the text you wish to transfer. The extension recognizes the selection event and initiates the transfer, replacing the existing content in the prompt-textarea with the selected text, followed by two newline characters to aid in better prompt detection by ChatGPT.

  2. Visual Feedback: Post the text transfer, the prompt-textarea undergoes a smooth background color transition from yellow to transparent, providing a visual cue of the successful text transfer.

  3. Focus and Scroll: Following the transfer, the cursor automatically positions itself at the end of the transferred text, ready for your next input, ensuring a smooth and uninterrupted workflow.

Bug Fixes and Improvements

  • Focus on the Last Line: The extension smartly focuses on the last line of the textarea, setting the stage for your next input and maintaining a smooth workflow.

  • Error Handling: In the absence of the prompt-textarea, a console log has been added to aid in debugging and ensure the extension functions correctly in the designated environment.

We hope this update enhances your user experience, making text transfer intuitive and visually guided. We appreciate your support and welcome feedback for continual improvements.