[PR #2258] [MERGED] Feat/refactor tauri document #5172

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/2258
Author: @qinluhe
Created: 4/13/2023
Status: Merged
Merged: 4/14/2023
Merged by: @qinluhe

Base: developHead: feat/refactor-tauri-document


📝 Commits (9)

  • a38c213 fix: Optimize the re-render node when the selection changes
  • c6c97f7 feat: the feature of delete block
  • 7781b91 feat: add left tool when hover on block
  • df66521 refactor: document data and update
  • 35c21c0 refactor: document component
  • 886766c refactor: document controller
  • d42084f Merge branch 'develop' of github.com:AppFlowy-IO/AppFlowy into refactor-tauri-document
  • 9ed5bfa fix: delete useless files
  • 4582413 fix: modify blocks pb

📊 Changes

33 files changed (+1852 additions, -1748 deletions)

View changed files

📝 frontend/appflowy_tauri/package.json (+1 -1)
📝 frontend/appflowy_tauri/pnpm-lock.yaml (+831 -885)
📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+687 -504)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSelection/BlockSelection.hooks.tsx (+4 -4)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSideTools/BlockSideTools.hooks.tsx (+5 -13)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentTitle/DocumentTitle.hooks.ts (+3 -4)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentTitle/index.tsx (+9 -2)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/HeadingBlock/index.tsx (+1 -1)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/ListBlock/index.tsx (+1 -1)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/Node/Node.hooks.ts (+17 -17)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/Node/index.tsx (+17 -6)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/Root/Tree.hooks.tsx (+3 -4)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/Root/index.tsx (+2 -2)
frontend/appflowy_tauri/src/appflowy_app/components/document/TextBlock/BindYjs.hooks.ts (+0 -61)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/TextBlock/TextBlock.hooks.ts (+16 -71)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/TextBlock/index.tsx (+4 -6)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/VirtualizedList/VirtualizedList.hooks.tsx (+3 -3)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/VirtualizedList/index.tsx (+6 -7)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/_shared/HoveringToolbar/FormatButton.tsx (+1 -1)
📝 frontend/appflowy_tauri/src/appflowy_app/components/document/_shared/HoveringToolbar/FormatIcon.tsx (+0 -0)

...and 13 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/2258 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 4/13/2023 **Status:** ✅ Merged **Merged:** 4/14/2023 **Merged by:** [@qinluhe](https://github.com/qinluhe) **Base:** `develop` ← **Head:** `feat/refactor-tauri-document` --- ### 📝 Commits (9) - [`a38c213`](https://github.com/AppFlowy-IO/AppFlowy/commit/a38c213744342b64f0a1c5d70ef05458f32519d4) fix: Optimize the re-render node when the selection changes - [`c6c97f7`](https://github.com/AppFlowy-IO/AppFlowy/commit/c6c97f7c839c7de022401e4cd4951d3db318305b) feat: the feature of delete block - [`7781b91`](https://github.com/AppFlowy-IO/AppFlowy/commit/7781b912f061cb7ef7b24622279528a1b8da153b) feat: add left tool when hover on block - [`df66521`](https://github.com/AppFlowy-IO/AppFlowy/commit/df66521f13a8e3951634825eb23fb6b7825d4b88) refactor: document data and update - [`35c21c0`](https://github.com/AppFlowy-IO/AppFlowy/commit/35c21c0d842797a91946fcd3c09553a6d2e1878e) refactor: document component - [`886766c`](https://github.com/AppFlowy-IO/AppFlowy/commit/886766c88783461909a37da197d7fadccebb10a0) refactor: document controller - [`d42084f`](https://github.com/AppFlowy-IO/AppFlowy/commit/d42084f2423b4c0cd3149db3dc8e4c5872fe6975) Merge branch 'develop' of github.com:AppFlowy-IO/AppFlowy into refactor-tauri-document - [`9ed5bfa`](https://github.com/AppFlowy-IO/AppFlowy/commit/9ed5bfa51e3a9a6b17ea2b15762e4b54894ca1bf) fix: delete useless files - [`4582413`](https://github.com/AppFlowy-IO/AppFlowy/commit/4582413e8966ddcb55c6af91061eb323b32c5c72) fix: modify blocks pb ### 📊 Changes **33 files changed** (+1852 additions, -1748 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/package.json` (+1 -1) 📝 `frontend/appflowy_tauri/pnpm-lock.yaml` (+831 -885) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+687 -504) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSelection/BlockSelection.hooks.tsx` (+4 -4) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/BlockSideTools/BlockSideTools.hooks.tsx` (+5 -13) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentTitle/DocumentTitle.hooks.ts` (+3 -4) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/DocumentTitle/index.tsx` (+9 -2) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/HeadingBlock/index.tsx` (+1 -1) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/ListBlock/index.tsx` (+1 -1) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/Node/Node.hooks.ts` (+17 -17) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/Node/index.tsx` (+17 -6) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/Root/Tree.hooks.tsx` (+3 -4) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/Root/index.tsx` (+2 -2) ➖ `frontend/appflowy_tauri/src/appflowy_app/components/document/TextBlock/BindYjs.hooks.ts` (+0 -61) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/TextBlock/TextBlock.hooks.ts` (+16 -71) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/TextBlock/index.tsx` (+4 -6) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/VirtualizedList/VirtualizedList.hooks.tsx` (+3 -3) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/VirtualizedList/index.tsx` (+6 -7) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/_shared/HoveringToolbar/FormatButton.tsx` (+1 -1) 📝 `frontend/appflowy_tauri/src/appflowy_app/components/document/_shared/HoveringToolbar/FormatIcon.tsx` (+0 -0) _...and 13 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 - [x] My code adheres to the [AppFlowy Style Guide](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/software-contributions/submitting-code/style-guides) - [x] I've listed at least one issue that this PR fixes in the description above. - [x] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes. - [x] 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:17:33 +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#5172
No description provided.