appflowy-editor/test
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
..
core feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
customer feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
editor fix: long press auto-scroll speed on mobile (#1191) 2026-03-24 16:01:47 +08:00
extensions feat: support customizing link button (#1048) 2025-03-03 16:53:25 +08:00
infra feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
l10n feat: add image block 2023-05-03 14:50:41 +08:00
legacy fix: support multi-step redo by refactoring undo/redo recording (#1192) 2026-03-25 15:25:00 +08:00
mobile feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
new fix: support multi-step redo by refactoring undo/redo recording (#1192) 2026-03-25 15:25:00 +08:00
performance test: add performance tests (#1166) 2025-12-08 15:33:25 +08:00
plugins fix: prevent documentToMarkdown from mutating source document (#1184) 2026-02-23 16:01:58 +08:00
render fix: support custom non-standard urls (#1042) 2025-02-27 14:21:00 +08:00
service feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
editor_state_test.dart feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
test_helper.dart test: improve test coverage (#23) 2023-03-24 20:59:03 +08:00