Skip to content

docs: undo/redo coverage and affordance research (#2214) - #2221

Merged
zackees merged 1 commit into
masterfrom
docs/undo-redo-research
Oct 24, 2026
Merged

zackees merged 1 commit into
masterfrom
docs/undo-redo-research

Conversation

@zackees

@zackees zackees commented Oct 24, 2026

Copy link
Copy Markdown
Member

Fixes #2214. A docs-only change: docs/undo-redo-research-2214.md.

  • Coverage: a table of what can be undone today and what can't, with path:line evidence. No undo scope is written down anywhere.
  • Architecture: keep the C++ stack for now. Plugins already have obs_frontend_add_undo_redo_action. The boundary should stay at the frontend, so obs-websocket changes are not undoable. A core command layer would need an RFC.
  • Semantics:
    • The stack's coalescing timer is 3000 ms. A coalesced merge does not clear redo.
    • A scene-collection switch clears the stack.
    • The worst-case memory at 5000 entries is estimated in the doc.
  • Upstream bugs, judged from code only (no repro run):
  • Prerequisite bug: enable_internal() enables Undo on an empty stack, so a visible button would do nothing.
  • Verdict: the button is a day of work; the coverage is a project. The proposed first PR and the follow-up issues are listed at the end of the doc.

@zackees
zackees enabled auto-merge October 24, 2026 20:58
@zackees
zackees added this pull request to the merge queue Oct 24, 2026
Merged via the queue into master with commit 027b71a Oct 24, 2026
30 checks passed
@zackees
zackees deleted the docs/undo-redo-research branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

design: research undo/redo coverage and a visible Undo affordance (HN feedback: "lack of an undo button")

1 participant