mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[PR #3216] [MERGED] feat: support incremental to update textblock's delta #5624
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#5624
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/3216
Author: @qinluhe
Created: 8/16/2023
Status: ✅ Merged
Merged: 9/12/2023
Merged by: @qinluhe
Base:
main← Head:feat/support-incremental-update-text📝 Commits (10+)
7cf8508feat: support incremental to update textblock's deltad5e8f87fix: update test code4a09ff8fix: remove consolecd53f5dfix: update test894cc2afeat: integrate increamental delta in Flutter99896f8fix: delete quill editor43d0f47fix: delete quill editore61d4fffeat: add csharp in codeblock (#3371)71b8fefchore: pt-PT & pt-BR translation updated (#3353)defaf4achore: Ensure Cargo.lock Is Updated Alongside Changes to Cargo.toml (#3361)📊 Changes
81 files changed (+3342 additions, -1874 deletions)
View changed files
📝
.github/workflows/tauri_ci.yaml(+1 -0)📝
frontend/appflowy_flutter/lib/plugins/document/application/doc_bloc.dart(+19 -9)📝
frontend/appflowy_flutter/lib/plugins/document/application/doc_service.dart(+41 -4)📝
frontend/appflowy_flutter/lib/plugins/document/application/document_data_pb_extension.dart(+49 -5)📝
frontend/appflowy_flutter/lib/plugins/document/application/editor_transaction_adapter.dart(+175 -24)📝
frontend/appflowy_flutter/lib/util/json_print.dart(+6 -4)📝
frontend/appflowy_flutter/pubspec.yaml(+0 -1)📝
frontend/appflowy_flutter/test/unit_test/editor/transaction_adapter_test.dart(+33 -33)📝
frontend/appflowy_tauri/.gitignore(+3 -1)➕
frontend/appflowy_tauri/jest.config.cjs(+18 -0)📝
frontend/appflowy_tauri/package.json(+9 -2)📝
frontend/appflowy_tauri/pnpm-lock.yaml(+753 -178)📝
frontend/appflowy_tauri/src-tauri/Cargo.lock(+17 -23)📝
frontend/appflowy_tauri/src-tauri/Cargo.toml(+9 -9)📝
frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSelection/RangeKeyDown.hooks.ts(+8 -2)📝
frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSlash/BlockSlashMenu.tsx(+4 -6)📝
frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSlash/index.hooks.ts(+4 -22)📝
frontend/appflowy_tauri/src/appflowy_app/components/document/Mention/Mention.hooks.ts(+5 -33)📝
frontend/appflowy_tauri/src/appflowy_app/components/document/Mention/MentionPopover.tsx(+6 -11)📝
frontend/appflowy_tauri/src/appflowy_app/components/document/TextActionMenu/menu/FormatButton.tsx(+4 -1)...and 61 more files
📄 Description
Feature Preview
Implement incremental text editing support for Tauri and Flutter desktop applications.
This includes allowing users to make incremental changes to the text within the application.
Consolidate all operations related to deltas into the BlockDeltaOperator module.
This step involves organizing and centralizing all code related to delta operations within the BlockDeltaOperator module for better code organization and maintainability.
Enhance Tauri support for Jest unit testing and add interface tests for the BlockDeltaOperator.
This task involves improving the compatibility of Tauri with Jest for unit testing purposes. Additionally, it includes adding interface tests to ensure the proper functioning of the BlockDeltaOperator.
PR Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.