[PR #403] [MERGED] Refactor document data layer #4118

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/403
Author: @appflowy
Created: 3/1/2022
Status: Merged
Merged: 3/1/2022
Merged by: @appflowy

Base: mainHead: refactor_document_data_layer


📝 Commits (10+)

  • 6078e46 refactor: rename structs
  • 0198584 refactor: rename structs
  • c843571 feat: add new view_type, kanban
  • d18e06a feat: migrate ViewType::Doc to ViewType::QuillDocument
  • 23ccfa5 feat: config new ViewType
  • 7483196 feat: update view properties
  • 8747457 refactor: add plugins
  • b6de0ca refactor: show plugin
  • 156d381 fix: add default value of serde
  • 7a36fed refactor: remove domain folder

📊 Changes

155 files changed (+3527 additions, -1804 deletions)

View changed files

frontend/app_flowy/lib/plugin/plugin.dart (+77 -0)
frontend/app_flowy/lib/plugin/src/runner.dart (+1 -0)
frontend/app_flowy/lib/plugin/src/sandbox.dart (+46 -0)
📝 frontend/app_flowy/lib/startup/deps_resolver.dart (+2 -2)
📝 frontend/app_flowy/lib/startup/startup.dart (+3 -0)
frontend/app_flowy/lib/startup/tasks/load_plugin.dart (+36 -0)
📝 frontend/app_flowy/lib/startup/tasks/prelude.dart (+2 -1)
📝 frontend/app_flowy/lib/startup/tasks/rust_sdk.dart (+0 -0)
📝 frontend/app_flowy/lib/workspace/application/app/app_bloc.dart (+15 -5)
📝 frontend/app_flowy/lib/workspace/application/app/app_service.dart (+5 -5)
📝 frontend/app_flowy/lib/workspace/application/appearance.dart (+1 -1)
📝 frontend/app_flowy/lib/workspace/application/doc/doc_bloc.dart (+5 -3)
📝 frontend/app_flowy/lib/workspace/application/doc/doc_service.dart (+4 -4)
📝 frontend/app_flowy/lib/workspace/application/doc/share_service.dart (+1 -1)
📝 frontend/app_flowy/lib/workspace/application/edit_pannel/edit_context.dart (+0 -0)
📝 frontend/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.dart (+1 -1)
📝 frontend/app_flowy/lib/workspace/application/home/home_bloc.dart (+1 -1)
📝 frontend/app_flowy/lib/workspace/application/menu/menu_bloc.dart (+6 -6)
frontend/app_flowy/lib/workspace/application/menu/menu_bloc.freezed.dart (+1038 -0)
frontend/app_flowy/lib/workspace/application/view/view_ext.dart (+50 -0)

...and 80 more files

📄 Description

No description provided


🔄 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/403 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 3/1/2022 **Status:** ✅ Merged **Merged:** 3/1/2022 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `refactor_document_data_layer` --- ### 📝 Commits (10+) - [`6078e46`](https://github.com/AppFlowy-IO/AppFlowy/commit/6078e46d3dae3f8db7ae72f01738b8acb735737e) refactor: rename structs - [`0198584`](https://github.com/AppFlowy-IO/AppFlowy/commit/01985848f90d89e0c3f354b90b9e8b55e45e3dc6) refactor: rename structs - [`c843571`](https://github.com/AppFlowy-IO/AppFlowy/commit/c843571e3dc5c5a645c2382ae3292c033358c639) feat: add new view_type, kanban - [`d18e06a`](https://github.com/AppFlowy-IO/AppFlowy/commit/d18e06a9efd7a92b81763993e80d710deaff6093) feat: migrate ViewType::Doc to ViewType::QuillDocument - [`23ccfa5`](https://github.com/AppFlowy-IO/AppFlowy/commit/23ccfa54b5b01ab2785c60feceee3dc77af50d5e) feat: config new ViewType - [`7483196`](https://github.com/AppFlowy-IO/AppFlowy/commit/74831964a6590d35b4b1dfbb9c35c089dc4837d9) feat: update view properties - [`8747457`](https://github.com/AppFlowy-IO/AppFlowy/commit/87474578362b54107c5e7618016033ed8a7209ce) refactor: add plugins - [`b6de0ca`](https://github.com/AppFlowy-IO/AppFlowy/commit/b6de0caad6f2922c571e0e9b03bb3970b3621f93) refactor: show plugin - [`156d381`](https://github.com/AppFlowy-IO/AppFlowy/commit/156d38179a3e45cd02f79ca8e31f8fe5a4d85a9d) fix: add default value of serde - [`7a36fed`](https://github.com/AppFlowy-IO/AppFlowy/commit/7a36fed778acfd272a812f8cf1dcce69b9924915) refactor: remove domain folder ### 📊 Changes **155 files changed** (+3527 additions, -1804 deletions) <details> <summary>View changed files</summary> ➕ `frontend/app_flowy/lib/plugin/plugin.dart` (+77 -0) ➕ `frontend/app_flowy/lib/plugin/src/runner.dart` (+1 -0) ➕ `frontend/app_flowy/lib/plugin/src/sandbox.dart` (+46 -0) 📝 `frontend/app_flowy/lib/startup/deps_resolver.dart` (+2 -2) 📝 `frontend/app_flowy/lib/startup/startup.dart` (+3 -0) ➕ `frontend/app_flowy/lib/startup/tasks/load_plugin.dart` (+36 -0) 📝 `frontend/app_flowy/lib/startup/tasks/prelude.dart` (+2 -1) 📝 `frontend/app_flowy/lib/startup/tasks/rust_sdk.dart` (+0 -0) 📝 `frontend/app_flowy/lib/workspace/application/app/app_bloc.dart` (+15 -5) 📝 `frontend/app_flowy/lib/workspace/application/app/app_service.dart` (+5 -5) 📝 `frontend/app_flowy/lib/workspace/application/appearance.dart` (+1 -1) 📝 `frontend/app_flowy/lib/workspace/application/doc/doc_bloc.dart` (+5 -3) 📝 `frontend/app_flowy/lib/workspace/application/doc/doc_service.dart` (+4 -4) 📝 `frontend/app_flowy/lib/workspace/application/doc/share_service.dart` (+1 -1) 📝 `frontend/app_flowy/lib/workspace/application/edit_pannel/edit_context.dart` (+0 -0) 📝 `frontend/app_flowy/lib/workspace/application/edit_pannel/edit_pannel_bloc.dart` (+1 -1) 📝 `frontend/app_flowy/lib/workspace/application/home/home_bloc.dart` (+1 -1) 📝 `frontend/app_flowy/lib/workspace/application/menu/menu_bloc.dart` (+6 -6) ➕ `frontend/app_flowy/lib/workspace/application/menu/menu_bloc.freezed.dart` (+1038 -0) ➕ `frontend/app_flowy/lib/workspace/application/view/view_ext.dart` (+50 -0) _...and 80 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 21:36:22 +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#4118
No description provided.