[PR #7467] [MERGED] fix: ai writer issues #7898

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7467
Author: @richardshiue
Created: 3/6/2025
Status: Merged
Merged: 3/6/2025
Merged by: @richardshiue

Base: mainHead: chore/ai-writer-issues


📝 Commits (6)

  • 8e9ac3d fix: disable ai writer in table
  • b979856 fix: enable header row by default when converting from md
  • 5acf731 chore: add title when continue writing
  • 530d633 chore: rewrite using predefined format
  • eb3c986 fix: mouse & keyboard event still propagate
  • e0bfddb chore: bump editor ref

📊 Changes

7 files changed (+63 additions, -37 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart (+2 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/ai_writer_block_component.dart (+15 -8)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/ai_writer_toolbar_item.dart (+8 -2)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_cubit.dart (+34 -22)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/markdown_simple_table_parser.dart (+1 -0)
📝 frontend/appflowy_flutter/pubspec.lock (+2 -2)
📝 frontend/appflowy_flutter/pubspec.yaml (+1 -1)

📄 Description

  • doc ai writer table format should auto turn on the header row like the web chat does
  • rewrite with format doesnt work (partial)
  • cursor is detected in the editor while the intention is to use it in the AI panel
  • continue to write should also take the title as input
  • ai writer not working in table (partial)

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/7467 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 3/6/2025 **Status:** ✅ Merged **Merged:** 3/6/2025 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `chore/ai-writer-issues` --- ### 📝 Commits (6) - [`8e9ac3d`](https://github.com/AppFlowy-IO/AppFlowy/commit/8e9ac3d1df4d56919f62c678cd64717238a8e7d0) fix: disable ai writer in table - [`b979856`](https://github.com/AppFlowy-IO/AppFlowy/commit/b979856049250c49dde2e67780a3308ea1bc86d7) fix: enable header row by default when converting from md - [`5acf731`](https://github.com/AppFlowy-IO/AppFlowy/commit/5acf7317340d108f5fb9fddad415432f07438584) chore: add title when continue writing - [`530d633`](https://github.com/AppFlowy-IO/AppFlowy/commit/530d633ea9e816d5e622bef802effd60f9869ed2) chore: rewrite using predefined format - [`eb3c986`](https://github.com/AppFlowy-IO/AppFlowy/commit/eb3c986f051af1f746813b2edcbeca7d9f2bb80e) fix: mouse & keyboard event still propagate - [`e0bfddb`](https://github.com/AppFlowy-IO/AppFlowy/commit/e0bfddb85b5b001f731db874d3de65c935aaa5de) chore: bump editor ref ### 📊 Changes **7 files changed** (+63 additions, -37 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_page.dart` (+2 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/ai_writer_block_component.dart` (+15 -8) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/ai_writer_toolbar_item.dart` (+8 -2) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_cubit.dart` (+34 -22) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/parsers/markdown_simple_table_parser.dart` (+1 -0) 📝 `frontend/appflowy_flutter/pubspec.lock` (+2 -2) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+1 -1) </details> ### 📄 Description - [x] doc ai writer table format should auto turn on the header row like the web chat does - [x] rewrite with format doesnt work (partial) - [x] cursor is detected in the editor while the intention is to use it in the AI panel - [x] continue to write should also take the title as input - [x] ai writer not working in table (partial) ### 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 [AppFlowy's Conventions](https://docs.appflowy.io/docs/documentation/software-contributions/conventions) - [x] 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. - [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 23:21:41 +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#7898
No description provided.