Commit Graph

38 Commits

Author SHA1 Message Date
Jacob Richman 7708368a64 refactor: improve large text paste placeholder (#17269)
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
2026-01-22 15:05:38 +00:00
Jack Wotherspoon 1f8b26efc6 feat: replace large text pastes with [Pasted Text: X lines] placeholder (#16422) 2026-01-22 02:09:24 +00:00
Tommaso Sciortino 8d5c8a6fad Support command/ctrl/alt backspace correctly (#17175) 2026-01-21 18:13:26 +00:00
Tommaso Sciortino 2287aaefd8 fix(cli): fix newline support broken in previous PR (#17159) 2026-01-21 00:20:51 +00:00
N. Taylor Mullen 1b2af728e0 perf(ui): optimize text buffer and highlighting for large inputs (#16782)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2026-01-16 17:33:13 +00:00
Tommaso Sciortino 1fdd49344b Simplify paste handling (#16654) 2026-01-14 21:27:36 +00:00
Pyush Sinha 866216d2da feat: terse transformations of image paths in text buffer (#4924)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
Co-authored-by: owenofbrien <86964623+owenofbrien@users.noreply.github.com>
2025-12-23 20:46:09 +00:00
Jack Wotherspoon 1a1d40bb94 feat: support multi-file drag and drop of images (#14832) 2025-12-12 17:14:35 +00:00
Sandy Tao f5517b6f08 fix(cli): Fix word navigation for CJK characters (#14475) 2025-12-04 00:16:11 +00:00
Sandy Tao e82796d491 fix(ui): Correct mouse click cursor positioning for wide characters (#13537) 2025-11-20 23:56:31 +00:00
Tommaso Sciortino 727ec8f255 Stop printing garbage characters for F1,F2.. keys (#12835) 2025-11-10 18:56:05 +00:00
Riddhi Dutta 6234884dc9 Refactoring packages/cli/src/ui tests (#12482)
Co-authored-by: riddhi <duttariddhi@google.com>
2025-11-03 18:10:57 +00:00
Gal Zahavi b16abaec1b feat(auth): improve API key authentication flow (#11760)
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-10-30 01:58:08 +00:00
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