Commit Graph

18 Commits

Author SHA1 Message Date
Nate Sesti
12e933bf9d feat: next edit char-level diff (#7776)
* remove filter from next edit svg border

* reduce border radius to 2 in next edit svg

* update border

* remove strikethrough from next edit deletion ui

* remove diff background for now

* feat: word-level diff in next edit svg

* fix: don't alternate non-responses due to empty chain

* fix: log next edit completions to continue console

* fix: test and update chaining behavior to avoid repetitive requests and avoid alternating non-responses
2025-09-19 00:25:33 -07:00
Jacob Kim
6c9f66cd70 fix: unsupported themes will use dark-plus (#7187)
* feat: create a helper function to handle theme strings

* feat: add tests for kebabOfThemeStr

* fix: unsupported themes are correctly using dark-plus
2025-08-15 14:46:57 -07:00
Jacob Kim
6430a84c5c fix: next edit renders that should render decorations will render them properly (#7160)
* fix: passing next edit requests will render things

* chore: remove comment

* feat: skip whitespace only deletions

* feat: add a utility function for checking if a diff is a whitespace only deletion

* feat: add test for next edit utils

* feat: move filtering to NextEditProvider

* fix: escape newline properly

* feat: make jump decoration more visible

* feat: remove redundant escapes

* fix: undo the escapeSVG

* fix: update tests

* fix: use proper line heights

* fix: place the SVG at the end of the line

* fix: handle cases where the completion is a single line

* feat: improve next edit UI (#7167)

* fix: use proper line heights

* fix: place the SVG at the end of the line

* fix: handle cases where the completion is a single line

* fix: allocate more memory for the GUI build step

* fix: set flag as node options

* fix: jump scrolls only after accepting

* fix: update jump manager vitest
2025-08-15 15:18:17 -04:00
Jacob Kim
a6202c4b0b refactor: bundle params into an object 2025-07-11 19:59:01 -07:00
Jacob Kim
f678ee9430 fix: 🚑 shiki doesn't delete empty lines anymore 2025-07-11 19:06:50 -07:00
Jacob Kim
d004e1a8f6 feat: render new lines as highlighted in svg 2025-07-11 17:17:35 -07:00
Jacob Kim
a115ab8e40 chore: remove console logs 2025-07-11 14:25:19 -07:00
Jacob Kim
ee0a9a4320 use radius instead of 10 2025-07-04 19:48:10 -07:00
Jacob Kim
f485442d46 add bezier curves 2025-07-04 19:46:38 -07:00
Jacob Kim
c320cabc4a only round the first and last lines 2025-07-04 19:01:11 -07:00
Jacob Kim
eb374fb2f6 remove console.logs 2025-07-04 17:02:36 -07:00
Jacob Kim
9503509ac7 remove console.logs 2025-07-04 17:01:05 -07:00
Jacob Kim
48c021f51b add an overall background 2025-07-04 16:34:09 -07:00
Jacob Kim
a24947b576 align text properly 2025-07-04 15:48:33 -07:00
Jacob Kim
1dfe3144b7 add current line highlighting 2025-07-04 15:20:15 -07:00
Jacob Kim
dafcfec5de experimenting with styles 2025-07-03 17:36:38 -07:00
Jacob Kim
14dfdecf29 try to align window as much as possible 2025-07-03 17:05:34 -07:00
Jacob Kim
08a26dabb8 code cleanup 2025-06-26 16:10:08 -07:00