getappmap / appmap-js

Client libraries for AppMap
48 stars 17 forks source link

fix: Drop token interpolation #1805

Closed dustinbyrne closed 4 months ago

dustinbyrne commented 4 months ago

It presents a few issues that would need time to solve:

  1. There is evidence that tokens can emit at about 1 token/s. I'm not certain on how reproduce this at the moment.
  2. The speed of token emission makes some existing issues more visible such as: a.) A single new line may not be enough buffer to catch the auto-scroll behavior. In other words, users sometimes need to scroll manually during completion. b.) The cursor jumps in between the boundary of span and text nodes, particularly in code blocks. When a new line is written in a text node, the new line's width will stretch to include the previous line, causing the cursor to drop to its own new line.
appland-release commented 4 months ago

:tada: This PR is included in version @appland/components-v4.24.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: