[PR #7760] [MERGED] fix: lose nested children when accepting AI responses #8095

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7760
Author: @LucasXu0
Created: 4/16/2025
Status: Merged
Merged: 4/16/2025
Merged by: @LucasXu0

Base: mainHead: ai_nested_list


📝 Commits (8)

  • 7f5faed chore: add gitkeep in assets/font dir
  • c731863 Revert "feat: improve white label scripts on Windows (#7755)"
  • 122469a chore: use --verbose
  • f0db2f9 fix: lose nested children when accept ai response
  • 4bffe34 chore: lock analyzer version
  • e7307e0 Reapply "feat: improve white label scripts on Windows (#7755)"
  • 9a1af93 chore: lock analyzer version
  • 2d1f50f chore: update editor version

📊 Changes

10 files changed (+84 additions, -23 deletions)

View changed files

frontend/appflowy_flutter/assets/fonts/.gitkeep (+0 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_cubit.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_node_extension.dart (+10 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/markdown_text_robot.dart (+52 -4)
📝 frontend/appflowy_flutter/packages/flowy_infra/pubspec.yaml (+1 -0)
📝 frontend/appflowy_flutter/packages/flowy_infra_ui/pubspec.yaml (+2 -0)
📝 frontend/appflowy_flutter/pubspec.lock (+3 -3)
📝 frontend/appflowy_flutter/pubspec.yaml (+10 -8)
📝 frontend/scripts/code_generation/freezed/generate_freezed.sh (+4 -4)
📝 frontend/scripts/code_generation/generate.sh (+1 -1)

📄 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/7760 **Author:** [@LucasXu0](https://github.com/LucasXu0) **Created:** 4/16/2025 **Status:** ✅ Merged **Merged:** 4/16/2025 **Merged by:** [@LucasXu0](https://github.com/LucasXu0) **Base:** `main` ← **Head:** `ai_nested_list` --- ### 📝 Commits (8) - [`7f5faed`](https://github.com/AppFlowy-IO/AppFlowy/commit/7f5faedccf8490d379b69445b8a47379d4d8ffe1) chore: add gitkeep in assets/font dir - [`c731863`](https://github.com/AppFlowy-IO/AppFlowy/commit/c73186306eaf3e9f78114fcc29e39e3a2bce528d) Revert "feat: improve white label scripts on Windows (#7755)" - [`122469a`](https://github.com/AppFlowy-IO/AppFlowy/commit/122469aefa6b4b6aa97dfe4c3e16babd5ef49dd8) chore: use --verbose - [`f0db2f9`](https://github.com/AppFlowy-IO/AppFlowy/commit/f0db2f9398aa8409fd7778399e1a55a347472cae) fix: lose nested children when accept ai response - [`4bffe34`](https://github.com/AppFlowy-IO/AppFlowy/commit/4bffe34b61e12b90bbef7586d8248df61ff877fe) chore: lock analyzer version - [`e7307e0`](https://github.com/AppFlowy-IO/AppFlowy/commit/e7307e07adbc7208703e2117c6eaf136130cea83) Reapply "feat: improve white label scripts on Windows (#7755)" - [`9a1af93`](https://github.com/AppFlowy-IO/AppFlowy/commit/9a1af9398c747bd87b80f951194edfb9fcade8d7) chore: lock analyzer version - [`2d1f50f`](https://github.com/AppFlowy-IO/AppFlowy/commit/2d1f50fd71c462daee78d434c297da0a4fe0da92) chore: update editor version ### 📊 Changes **10 files changed** (+84 additions, -23 deletions) <details> <summary>View changed files</summary> ➕ `frontend/appflowy_flutter/assets/fonts/.gitkeep` (+0 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_cubit.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_node_extension.dart` (+10 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/markdown_text_robot.dart` (+52 -4) 📝 `frontend/appflowy_flutter/packages/flowy_infra/pubspec.yaml` (+1 -0) 📝 `frontend/appflowy_flutter/packages/flowy_infra_ui/pubspec.yaml` (+2 -0) 📝 `frontend/appflowy_flutter/pubspec.lock` (+3 -3) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+10 -8) 📝 `frontend/scripts/code_generation/freezed/generate_freezed.sh` (+4 -4) 📝 `frontend/scripts/code_generation/generate.sh` (+1 -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 <!--- 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:22:35 +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#8095
No description provided.