mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 12:56:59 +00:00
[PR #7217] [MERGED] fix: improve the document diff function to prevent partial ordering issues #7794
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#7794
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7217
Author: @LucasXu0
Created: 1/15/2025
Status: ✅ Merged
Merged: 1/16/2025
Merged by: @LucasXu0
Base:
main← Head:sync_order📝 Commits (10+)
e4bdea3fix: improve the document diff function to prevent partial ordering issues1c25a92fix: improve the document diff function to prevent partial ordering issues1faadd5fix: nested block padding issues56555d5fix: improve the document diff function to prevent partial ordering issues201d94cchore: update editor version70b9d79test: add no diff test and update text diff test163f0a1test: delete and insert text diff with different id26dbf7ftest: insert single text / delete single text testsfb7928ftest: multiple delete and update diffb383989test: multiple insert and update diff📊 Changes
12 files changed (+800 additions, -198 deletions)
View changed files
📝
frontend/.vscode/launch.json(+123 -123)📝
frontend/appflowy_flutter/ios/Podfile.lock(+22 -22)📝
frontend/appflowy_flutter/lib/plugins/document/application/document_bloc.dart(+20 -7)📝
frontend/appflowy_flutter/lib/plugins/document/application/document_collab_adapter.dart(+19 -14)➕
frontend/appflowy_flutter/lib/plugins/document/application/document_diff.dart(+172 -0)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_configuration.dart(+10 -3)📝
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/toggle/toggle_block_component.dart(+3 -1)📝
frontend/appflowy_flutter/macos/Podfile.lock(+21 -21)📝
frontend/appflowy_flutter/pubspec.lock(+2 -2)📝
frontend/appflowy_flutter/pubspec.yaml(+1 -1)➕
frontend/appflowy_flutter/test/unit_test/document/document_diff/document_diff_test.dart(+403 -0)📝
frontend/rust-lib/Cargo.lock(+4 -4)📄 Description
Feature Preview
PR Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.