triplex icon indicating copy to clipboard operation
triplex copied to clipboard

Edits that are the same are skipped on the backend but applied in the VS Code undo stack

Open itsdouges opened this issue 11 months ago • 0 comments

...resulting in undos that do nothing. Harmless but annoying UX. We should test in the Triplex Document module and if the update is skipped, also skip it in VS Code.

To replicate:

  • open transforms.tsx
  • click the "Test Translate" button twice
  • undo twice
  • notice the first undo goes back to the original state instead of the duplicate state
    • expected: 1,1 -> 0,0
    • actual: 1,1 -> 0,0 -> (noop)

itsdouges avatar Jan 23 '25 05:01 itsdouges