Skip to content

Make draggable widgets set only one undo/redo state upon committing a value #972

@Keavon

Description

@Keavon

Draggable number input sliders, color pickers, typeable text fields, and any other widgets we may have now or in the future should be able to send two types of values to the backend. An "update" and a "commit". The former should preview the change like it does now, while the latter should set a history state. Reference the text input widgets for something conceptually related (but not fully implemented end-to-end like this issue describes) regarding an update vs. a commit of a value change. That should use the same system.

Currently we set a history point for every change which wipes out history with tons of small changes caused by single-pixel drag movements in the widgets.

Metadata

Metadata

Assignees

Labels

Good First IssueGood for newcomersPaper CutA small UX annoyance we should strive to improveWebInvolves web programming (TypeScript, Svelte, CSS)

Projects

Status

Completed This Milestone

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions