[PR #5682] [MERGED] feat: render ai text message with appflowy_editor #6952

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/5682
Author: @LucasXu0
Created: 7/4/2024
Status: Merged
Merged: 7/10/2024
Merged by: @LucasXu0

Base: mainHead: render_text_message_with_appflowy_editor


📝 Commits (7)

  • 765155d feat: render ai text message with appflowy_editor
  • e258e48 Merge branch 'main' into render_text_message_with_appflowy_editor
  • 82e318c chore: update appflowy_editor
  • 39c5630 fix: integration test
  • d54328c Merge branch 'main' into render_text_message_with_appflowy_editor
  • 47d8ca7 feat: support paste inAppJson format
  • 796ba96 chore: update appflowy_editor

📊 Changes

11 files changed (+524 additions, -256 deletions)

View changed files

📝 frontend/appflowy_flutter/integration_test/desktop/uncategorized/import_files_test.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/ai_message_bubble.dart (+20 -3)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_welcome_page.dart (+1 -2)
frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_markdown_text.dart (+377 -0)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart (+2 -242)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/user_text_message.dart (+0 -1)
frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/markdown_code_parser.dart (+52 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/markdown_parsers.dart (+1 -0)
📝 frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/import/import_panel.dart (+7 -1)
📝 frontend/appflowy_flutter/pubspec.lock (+60 -4)
📝 frontend/appflowy_flutter/pubspec.yaml (+2 -1)

📄 Description

Feature Preview

  • render text message with appflowy_editor to keep consistent UI.
Screenshot 2024-07-04 at 14 46 55 Screenshot 2024-07-04 at 14 48 03 Screenshot 2024-07-04 at 16 20 50

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/5682 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 7/4/2024 **Status:** ✅ Merged **Merged:** 7/10/2024 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `render_text_message_with_appflowy_editor` --- ### 📝 Commits (7) - [`765155d`](https://github.com/AppFlowy-IO/AppFlowy/commit/765155d17fa4b88d5b7b3d505d1e290836a55ff4) feat: render ai text message with appflowy_editor - [`e258e48`](https://github.com/AppFlowy-IO/AppFlowy/commit/e258e4826e24e06485635e81c4cad6cf0ade1347) Merge branch 'main' into render_text_message_with_appflowy_editor - [`82e318c`](https://github.com/AppFlowy-IO/AppFlowy/commit/82e318cae908a19b20e527743385b7bccb625910) chore: update appflowy_editor - [`39c5630`](https://github.com/AppFlowy-IO/AppFlowy/commit/39c56306618ff62804418cb564bcedb2b55312d6) fix: integration test - [`d54328c`](https://github.com/AppFlowy-IO/AppFlowy/commit/d54328c32dec781bbf736fe19a576cf088e2e446) Merge branch 'main' into render_text_message_with_appflowy_editor - [`47d8ca7`](https://github.com/AppFlowy-IO/AppFlowy/commit/47d8ca7187877da8d041b39e1c185656107f2f12) feat: support paste inAppJson format - [`796ba96`](https://github.com/AppFlowy-IO/AppFlowy/commit/796ba9628d13c622a879a659b4239c89e38635b5) chore: update appflowy_editor ### 📊 Changes **11 files changed** (+524 additions, -256 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/integration_test/desktop/uncategorized/import_files_test.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/ai_message_bubble.dart` (+20 -3) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_welcome_page.dart` (+1 -2) ➕ `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_markdown_text.dart` (+377 -0) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart` (+2 -242) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/user_text_message.dart` (+0 -1) ➕ `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/markdown_code_parser.dart` (+52 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/markdown_parsers.dart` (+1 -0) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/home/menu/sidebar/import/import_panel.dart` (+7 -1) 📝 `frontend/appflowy_flutter/pubspec.lock` (+60 -4) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+2 -1) </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 - render text message with appflowy_editor to keep consistent UI. <img width="654" alt="Screenshot 2024-07-04 at 14 46 55" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/e1357ef6-0446-453d-b8fe-c7d7911fe9ea"> <img width="711" alt="Screenshot 2024-07-04 at 14 48 03" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/fe697d8e-2338-42e4-a4d8-c0f408c007b4"> <img width="673" alt="Screenshot 2024-07-04 at 16 20 50" src="https://github.com/AppFlowy-IO/AppFlowy/assets/11863087/03189f85-875d-4410-baa9-8951a5e3da2d"> <!--- 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:17:25 +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#6952
No description provided.