[PR #2583] [MERGED] document migration from 0.1.x to 0.2.0 #5315

Closed
opened 2026-03-23 22:18:12 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2583
Author: @LucasXu0
Created: 5/22/2023
Status: Merged
Merged: 5/23/2023
Merged by: @LucasXu0

Base: developHead: fix_new_editor_bugs


📝 Commits (10+)

  • 5c4e827 chore: migrate the rewrite feature
  • 272666a chore: rename flowy-document
  • 0113027 feat: add initial_data interface
  • f72b66d chore: rename the document event
  • 39c0905 fix: font name error
  • 7e6d832 fix: export page UI issues
  • 39b0f5e feat: implement editor migration 0.1.x -> 0.2.0
  • 4d1d490 feat: support import old json
  • 3d7d673 fix: nested list error
  • 74fc2c2 chore: update pubspec

📊 Changes

26 files changed (+756 additions, -159 deletions)

View changed files

frontend/appflowy_flutter/assets/template/readme.json (+254 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/application/doc_bloc.dart (+9 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/application/doc_service.dart (+9 -9)
📝 frontend/appflowy_flutter/lib/plugins/document/application/document_data_pb_extension.dart (+19 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/application/editor_transaction_adapter.dart (+11 -3)
📝 frontend/appflowy_flutter/lib/plugins/document/document_page.dart (+3 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/emoji_picker_button.dart (+2 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart (+6 -5)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/cover/change_cover_popover.dart (+4 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/cover/change_cover_popover_bloc.dart (+5 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/cover/cover_node_widget.dart (+46 -40)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/migration/editor_migration.dart (+154 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/auto_completion_node_widget.dart (+130 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/smart_edit_node_widget.dart (+0 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart (+4 -7)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/export_page_widget.dart (+11 -14)
📝 frontend/appflowy_flutter/pubspec.lock (+2 -2)
📝 frontend/appflowy_flutter/pubspec.yaml (+2 -1)
📝 frontend/appflowy_tauri/src/appflowy_app/stores/effects/document/document_bd_svc.ts (+18 -18)

...and 6 more files

📄 Description

Feature Preview


PR Checklist

  • My code adheres to the AppFlowy Style Guide
  • I've listed at least one issue that this PR fixes in the description above.
  • I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • All existing tests are passing.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/2583 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 5/22/2023 **Status:** ✅ Merged **Merged:** 5/23/2023 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `develop` ← **Head:** `fix_new_editor_bugs` --- ### 📝 Commits (10+) - [`5c4e827`](https://github.com/AppFlowy-IO/AppFlowy/commit/5c4e8272b551502b956e4e7293cd83b55571885e) chore: migrate the rewrite feature - [`272666a`](https://github.com/AppFlowy-IO/AppFlowy/commit/272666a8c2d3ec848a6e1846c9f3da111d677bf3) chore: rename flowy-document - [`0113027`](https://github.com/AppFlowy-IO/AppFlowy/commit/01130271c2297a14716c2fed571bc02405e6eea8) feat: add initial_data interface - [`f72b66d`](https://github.com/AppFlowy-IO/AppFlowy/commit/f72b66d5c0d99b3f92bfdb1c33436f33e0d1dc26) chore: rename the document event - [`39c0905`](https://github.com/AppFlowy-IO/AppFlowy/commit/39c0905baa92b846ee966556bcce5fd61f32acf4) fix: font name error - [`7e6d832`](https://github.com/AppFlowy-IO/AppFlowy/commit/7e6d8329df39e4547ef586ee82ee46084f5e182a) fix: export page UI issues - [`39b0f5e`](https://github.com/AppFlowy-IO/AppFlowy/commit/39b0f5ec9a254983fc63345951954b76b256b67c) feat: implement editor migration 0.1.x -> 0.2.0 - [`4d1d490`](https://github.com/AppFlowy-IO/AppFlowy/commit/4d1d49036c14489c1a34b4fd04f67f5797cb2109) feat: support import old json - [`3d7d673`](https://github.com/AppFlowy-IO/AppFlowy/commit/3d7d673261e7fdf6e9fab4e2cffdb0cf97256481) fix: nested list error - [`74fc2c2`](https://github.com/AppFlowy-IO/AppFlowy/commit/74fc2c2c77d83cff67fa5806f69996b6554fb4f9) chore: update pubspec ### 📊 Changes **26 files changed** (+756 additions, -159 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/assets/template/readme.json` (+254 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/doc_bloc.dart` (+9 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/doc_service.dart` (+9 -9) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/document_data_pb_extension.dart` (+19 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/application/editor_transaction_adapter.dart` (+11 -3) 📝 `frontend/appflowy_flutter/lib/plugins/document/document_page.dart` (+3 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/emoji_picker_button.dart` (+2 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/callout/callout_block_component.dart` (+6 -5) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/cover/change_cover_popover.dart` (+4 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/cover/change_cover_popover_bloc.dart` (+5 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/cover/cover_node_widget.dart` (+46 -40) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/migration/editor_migration.dart` (+154 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/auto_completion_node_widget.dart` (+130 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/openai/widgets/smart_edit_node_widget.dart` (+0 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_style.dart` (+4 -7) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/export_page_widget.dart` (+11 -14) 📝 `frontend/appflowy_flutter/pubspec.lock` (+2 -2) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+2 -1) 📝 `frontend/appflowy_tauri/src/appflowy_app/stores/effects/document/document_bd_svc.ts` (+18 -18) _...and 6 more files_ </details> ### 📄 Description <!--- Thank you for submitting a pull request to AppFlowy. The team will dedicate their best efforts to reviewing and approving your pull request. If you have any questions about the project or feedback for us, please join our [Discord](https://discord.gg/wdjWUXXhtw). --> <!--- If your pull request adds a new feature, please drag and drop a video into this section to showcase what you've done! If not, you may delete this section. --> ### Feature Preview <!--- List at least one issue here that this PR addresses. If it fixes the issue, please use the [fixes](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests) keyword to close the issue. For example: fixes https://github.com/AppFlowy-IO/AppFlowy/pull/2106 --> --- <!--- Before you mark this PR ready for review, run through this checklist! --> #### PR Checklist - [ ] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [ ] I've listed at least one issue that this PR fixes in the description above. - [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [ ] All existing tests are passing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:18:12 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#5315
No description provided.