appflowy-editor/test/new
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lucas 37521c205f
fix: support multi-step redo by refactoring undo/redo recording (#1192)
Multi-step redo was broken because `getUndoHistoryItem()` cleared the
redo stack whenever the last undo item was sealed — even during redo
operations. After the first redo, the 50ms debounce timer would seal
the item, causing the next redo to wipe the remaining redo history.

Refactored the undo/redo system with:
- `TransactionSource` enum (userEdit, undo, redo, none) replacing
  boolean flag combinations in ApplyOptions
- `UndoManager.record()` with symmetric paths for each source:
  - userEdit: groups into unsealed items, clears redo on branch
  - undo: pushes directly to redo stack
  - redo: pushes directly to undo stack (sealed), no redo clear
- Deprecated `getUndoHistoryItem()` and legacy boolean flags
2026-03-25 15:25:00 +08:00
..
block_component feat: add command shortcut keys to convert text to title (#921) 2024-12-11 17:07:18 +08:00
command feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
editor_component/service/shortcuts fix: detect phone number when pasting text (#970) 2024-11-27 13:56:01 +08:00
extensions feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
find_replace_menu feat: add regex and case sensitive to FindReplaceMenu (#480) 2023-10-10 15:53:38 +08:00
infra feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
service fix: support multi-step redo by refactoring undo/redo recording (#1192) 2026-03-25 15:25:00 +08:00
toolbar/desktop chore: enable pass custom color from outside (#1066) 2025-03-17 11:17:04 +08:00
util feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00