[PR #7523] [MERGED] chore: implement ai writer history #7936

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

📋 Pull Request Information

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

Base: mainHead: chore/ai-writer-context


📝 Commits (5)

  • b38c115 chore: implement ai writer history
  • 4f3a5f4 chore: merge remote-tracking branch 'main' into this one
  • 9c2d92c chore: pass hitosyr
  • 23ba7c1 chore: merge remote-tracking branch 'upstream/main' into this one
  • 5801f24 chore: merge remote-tracking branch 'upstream/main' into this one

📊 Changes

9 files changed (+121 additions, -7 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/ai/service/appflowy_ai_service.dart (+7 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_cubit.dart (+35 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_entities.dart (+38 -0)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/markdown_text_robot.dart (+2 -0)
📝 frontend/appflowy_flutter/test/bloc_test/ai_writer_test/ai_writer_bloc_test.dart (+4 -0)
📝 frontend/rust-lib/event-integration-test/src/chat_event.rs (+1 -0)
📝 frontend/rust-lib/flowy-ai-pub/src/cloud.rs (+3 -3)
📝 frontend/rust-lib/flowy-ai/src/completion.rs (+4 -2)
📝 frontend/rust-lib/flowy-ai/src/entities.rs (+27 -2)

📄 Description

requires https://github.com/AppFlowy-IO/AppFlowy-Cloud/pull/1267

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/7523 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 3/13/2025 **Status:** ✅ Merged **Merged:** 3/18/2025 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `chore/ai-writer-context` --- ### 📝 Commits (5) - [`b38c115`](https://github.com/AppFlowy-IO/AppFlowy/commit/b38c115532aea09ab30f3b0ae7a5b77928436955) chore: implement ai writer history - [`4f3a5f4`](https://github.com/AppFlowy-IO/AppFlowy/commit/4f3a5f419d16a0d61fbf5fa331908608a94c3a0d) chore: merge remote-tracking branch 'main' into this one - [`9c2d92c`](https://github.com/AppFlowy-IO/AppFlowy/commit/9c2d92c324c2ab1365442db3a45df0143823b7bb) chore: pass hitosyr - [`23ba7c1`](https://github.com/AppFlowy-IO/AppFlowy/commit/23ba7c135f9a97ef74644d7e169ee6a04ed1b772) chore: merge remote-tracking branch 'upstream/main' into this one - [`5801f24`](https://github.com/AppFlowy-IO/AppFlowy/commit/5801f2434e51b22ded56c8c1eda6450ca7a4f320) chore: merge remote-tracking branch 'upstream/main' into this one ### 📊 Changes **9 files changed** (+121 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/ai/service/appflowy_ai_service.dart` (+7 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_cubit.dart` (+35 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/operations/ai_writer_entities.dart` (+38 -0) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/base/markdown_text_robot.dart` (+2 -0) 📝 `frontend/appflowy_flutter/test/bloc_test/ai_writer_test/ai_writer_bloc_test.dart` (+4 -0) 📝 `frontend/rust-lib/event-integration-test/src/chat_event.rs` (+1 -0) 📝 `frontend/rust-lib/flowy-ai-pub/src/cloud.rs` (+3 -3) 📝 `frontend/rust-lib/flowy-ai/src/completion.rs` (+4 -2) 📝 `frontend/rust-lib/flowy-ai/src/entities.rs` (+27 -2) </details> ### 📄 Description requires https://github.com/AppFlowy-IO/AppFlowy-Cloud/pull/1267 ### 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. - [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 23:21:51 +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#7936
No description provided.