[PR #6842] [CLOSED] feat: support document editing #7603

Closed
opened 2026-03-23 23:20:23 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6842
Author: @qinluhe
Created: 11/22/2024
Status: Closed

Base: mainHead: feat/support-document-editing


📝 Commits (10+)

  • 567ff3e fix: support page operations
  • 61bb1b2 fix: support select language of code block
  • 71e9f41 fix: support hover controls of document
  • dd6ad02 fix: support slash panel of document
  • ac08ba9 feat: support image block and file block of document
  • f05cc46 feat: support outline block of document
  • d87e7d9 feat: support add document on document
  • 365105c feat: support create sub-page on document
  • 31ed84f feat: support mention panel
  • c4198fc feat: support more actions

📊 Changes

282 files changed (+11829 additions, -1532 deletions)

View changed files

📝 frontend/appflowy_web_app/cypress.config.ts (+2 -1)
📝 frontend/appflowy_web_app/cypress/support/component.ts (+1 -0)
📝 frontend/appflowy_web_app/cypress/support/document.ts (+2 -2)
📝 frontend/appflowy_web_app/package.json (+3 -0)
📝 frontend/appflowy_web_app/pnpm-lock.yaml (+56 -0)
📝 frontend/appflowy_web_app/src/application/database-yjs/context.ts (+4 -1)
📝 frontend/appflowy_web_app/src/application/services/js-services/http/http_api.ts (+131 -2)
📝 frontend/appflowy_web_app/src/application/services/js-services/index.ts (+36 -3)
📝 frontend/appflowy_web_app/src/application/services/services.type.ts (+17 -2)
📝 frontend/appflowy_web_app/src/application/services/tauri-services/index.ts (+34 -2)
📝 frontend/appflowy_web_app/src/application/slate-yjs/command/const.ts (+8 -1)
📝 frontend/appflowy_web_app/src/application/slate-yjs/command/index.ts (+252 -23)
📝 frontend/appflowy_web_app/src/application/slate-yjs/plugins/withYjs.ts (+1 -7)
📝 frontend/appflowy_web_app/src/application/slate-yjs/utils/applyToSlate.ts (+22 -17)
📝 frontend/appflowy_web_app/src/application/slate-yjs/utils/applyToYjs.ts (+2 -2)
📝 frontend/appflowy_web_app/src/application/slate-yjs/utils/positions.ts (+34 -8)
📝 frontend/appflowy_web_app/src/application/slate-yjs/utils/slateUtils.tsx (+134 -18)
📝 frontend/appflowy_web_app/src/application/slate-yjs/utils/yjsOperations.ts (+223 -46)
📝 frontend/appflowy_web_app/src/application/types.ts (+77 -5)
frontend/appflowy_web_app/src/assets/add_circle.svg (+6 -0)

...and 80 more files

📄 Description

Feature Preview


PR Checklist

  • My code adheres to AppFlowy's Conventions
  • 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/6842 **Author:** [@qinluhe](https://github.com/qinluhe) **Created:** 11/22/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/support-document-editing` --- ### 📝 Commits (10+) - [`567ff3e`](https://github.com/AppFlowy-IO/AppFlowy/commit/567ff3e89dd58ab2f9bc4f8cb654fd4335b91cfa) fix: support page operations - [`61bb1b2`](https://github.com/AppFlowy-IO/AppFlowy/commit/61bb1b2b8cb72c9fd534d9879e50c76e955e04dc) fix: support select language of code block - [`71e9f41`](https://github.com/AppFlowy-IO/AppFlowy/commit/71e9f416744b5aba996dab33a6ec76e2a1e330d9) fix: support hover controls of document - [`dd6ad02`](https://github.com/AppFlowy-IO/AppFlowy/commit/dd6ad0237118c3766887377bfdd6d47d0879b611) fix: support slash panel of document - [`ac08ba9`](https://github.com/AppFlowy-IO/AppFlowy/commit/ac08ba95e7af7b5255db859ccf4dfd665d8fc86d) feat: support image block and file block of document - [`f05cc46`](https://github.com/AppFlowy-IO/AppFlowy/commit/f05cc46b31f19ce955cb797432ce98e213e42aad) feat: support outline block of document - [`d87e7d9`](https://github.com/AppFlowy-IO/AppFlowy/commit/d87e7d9b5923fe40be37477729fa1966f8279f5f) feat: support add document on document - [`365105c`](https://github.com/AppFlowy-IO/AppFlowy/commit/365105c5b65148a4d8ff5b64586d7e3064bac8b0) feat: support create sub-page on document - [`31ed84f`](https://github.com/AppFlowy-IO/AppFlowy/commit/31ed84fccc9ac942f02f3f73b8923101d8c0139a) feat: support mention panel - [`c4198fc`](https://github.com/AppFlowy-IO/AppFlowy/commit/c4198fc87b7f2737d071f7c4b0e74708fdc554c4) feat: support more actions ### 📊 Changes **282 files changed** (+11829 additions, -1532 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_web_app/cypress.config.ts` (+2 -1) 📝 `frontend/appflowy_web_app/cypress/support/component.ts` (+1 -0) 📝 `frontend/appflowy_web_app/cypress/support/document.ts` (+2 -2) 📝 `frontend/appflowy_web_app/package.json` (+3 -0) 📝 `frontend/appflowy_web_app/pnpm-lock.yaml` (+56 -0) 📝 `frontend/appflowy_web_app/src/application/database-yjs/context.ts` (+4 -1) 📝 `frontend/appflowy_web_app/src/application/services/js-services/http/http_api.ts` (+131 -2) 📝 `frontend/appflowy_web_app/src/application/services/js-services/index.ts` (+36 -3) 📝 `frontend/appflowy_web_app/src/application/services/services.type.ts` (+17 -2) 📝 `frontend/appflowy_web_app/src/application/services/tauri-services/index.ts` (+34 -2) 📝 `frontend/appflowy_web_app/src/application/slate-yjs/command/const.ts` (+8 -1) 📝 `frontend/appflowy_web_app/src/application/slate-yjs/command/index.ts` (+252 -23) 📝 `frontend/appflowy_web_app/src/application/slate-yjs/plugins/withYjs.ts` (+1 -7) 📝 `frontend/appflowy_web_app/src/application/slate-yjs/utils/applyToSlate.ts` (+22 -17) 📝 `frontend/appflowy_web_app/src/application/slate-yjs/utils/applyToYjs.ts` (+2 -2) 📝 `frontend/appflowy_web_app/src/application/slate-yjs/utils/positions.ts` (+34 -8) 📝 `frontend/appflowy_web_app/src/application/slate-yjs/utils/slateUtils.tsx` (+134 -18) 📝 `frontend/appflowy_web_app/src/application/slate-yjs/utils/yjsOperations.ts` (+223 -46) 📝 `frontend/appflowy_web_app/src/application/types.ts` (+77 -5) ➕ `frontend/appflowy_web_app/src/assets/add_circle.svg` (+6 -0) _...and 80 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 [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [ ] 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 23:20:23 +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#7603
No description provided.