Commit Graph

25 Commits

Author SHA1 Message Date
Jacob Richman
8edec7612e Migrate tests to use avoid jsdom (#12118) 2025-10-28 17:32:15 +00:00
Jacob Richman
58cf2f076a First batch of fixing tests to use best practices. (#11964) 2025-10-25 21:41:53 +00:00
Jacob Richman
adb2dec5fb Fix regression in handling shift+tab resulting in u in the input prompt. (#11634) 2025-10-22 02:54:51 +00:00
Sandy Tao
af972ee3dc fix(cli): enable typechecking for ui/components tests (#11419)
Co-authored-by: Jacob MacDonald <jakemac@google.com>
2025-10-17 23:16:12 +00:00
Gal Zahavi
a4e3352824 refactor(ui): Optimize rendering performance (#8239) 2025-09-17 22:37:13 +00:00
Jacob Richman
53ceb78b3d feat: add cached string width function for performance optimization (#7850)
Co-authored-by: lifeloating <imshuazi@126.com>
2025-09-11 04:20:40 +00:00
David East
1c3e097bbd feat(cli): Add support for Ctrl+Backspace to delete a word backward (#7162) 2025-09-03 01:00:41 +00:00
Pascal Birchler
a97a6cc71b Explict imports & exports with type modifier (#3774) 2025-08-25 22:04:53 +00:00
Pascal Birchler
b2d47dda1f chore(test): install and configure vitest eslint plugin (#3228)
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com>
2025-08-25 14:21:47 +00:00
Jacob Richman
57f474a33d Fix/emoji support (#6187)
Co-authored-by: elasticdotventures <brianh@elastic.ventures>
2025-08-14 00:33:01 +00:00
Sijie Wang
87fb407c02 Fix line end bugs in Vim mode (#5328)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-08-11 18:58:32 +00:00
Jacob Richman
f2239b943d fix(ux) bug in replaceRange dealing with newLines that was breaking vim support (#5320) 2025-07-31 23:16:29 +00:00
Sijie Wang
8b74a8ed8b Vim mode (#3936) 2025-07-25 22:36:42 +00:00
Jacob Richman
a69d1c0225 Fix bugs breaking drag and drop of files. (#4887)
Co-authored-by: matt korwel <matt.korwel@gmail.com>
2025-07-25 20:26:13 +00:00
Daniel Sibaja
e3afdf74ff Fix #2922: Prevent @ concatenation to valid paths in shellmode. (#2932) 2025-07-05 22:20:12 +00:00
Sandy Tao
c20c467df6 Refactor text-buffer to use reducer (#2652) 2025-07-04 00:53:17 +00:00
Billy Biggs
42dfd1ee61 Handle stdin for prompts using readline for escape character parsing (#1972) 2025-06-27 17:57:32 +00:00
Jacob Richman
dd31e004a5 Fix bug where single line inserts were deleting all text after the in… (#1114) 2025-06-16 15:21:22 -07:00
Jacob Richman
10ca703cce feat: text-buffer: input sanitization and delete character handling. (#1031) 2025-06-16 06:25:11 +00:00
Jacob Richman
ebf20d4c4c Auto insert @ when dragging and dropping files. (#812) 2025-06-07 14:48:56 -07:00
Jacob Richman
84fe495485 Fix bug pasting multiline strings (#632) 2025-06-02 14:31:35 -07:00
Taylor Mullen
8a237e0af8 fix(cli): Handle VSCode Shift+Enter in text buffer
- The text buffer now correctly interprets `\\\r` (produced by Shift+Enter in the VSCode terminal) as a newline character.
- Added a corresponding test case to `text-buffer.test.ts`.

Fixes https://buganizer.corp.google.com/issues/418505364
2025-05-20 23:44:53 -07:00
Jacob Richman
e38e62fec6 Merge InputPrompt and multiline-editor and move autocomplete logic directly into InputPrompt (#453) 2025-05-20 16:50:32 -07:00
Jacob Richman
56dcfa4e3a strip escape characters when pasting. (#386) 2025-05-16 13:17:48 -07:00
Jacob Richman
e54a085df9 Support auto wrapping of in the multiline editor. (#383) 2025-05-16 11:58:37 -07:00