Skip to content

fix(ai): don't overwrite a selection made while an append request runs - #1018

Merged
LeanBitLab merged 1 commit into
mainfrom
fix/custom-ai-append-selection
Nov 30, 2026
Merged

LeanBitLab merged 1 commit into
mainfrom
fix/custom-ai-append-selection

Conversation

@LeanBitLab

Copy link
Copy Markdown
Owner

Follow-up to #889. In append mode with nothing selected at the start, text selected up to the end of the field while the request ran was replaced by the result. The selection is now collapsed to the end of the text before appending.

Checked: the new test failed before the fix; InputLogicTest passes (184 tests, 1 skipped); offline flavor compiles.

With nothing selected at the start, text selected up to the end of the field during the request was replaced by the appended result. The selection is now collapsed to the end of the text before appending.
@LeanBitLab
LeanBitLab merged commit dec0628 into main Nov 30, 2026
1 check passed
@LeanBitLab
LeanBitLab deleted the fix/custom-ai-append-selection branch November 30, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant