[PR #7136] [MERGED] feat(flutter_desktop): save ai message to page improvements #7751

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

📋 Pull Request Information

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

Base: mainHead: chore/save-to-page-improvments


📝 Commits (6)

  • 3bccd59 chore: expand current space in select sources or when saving to a page
  • 4ed830c chore: hide non-document views while saving to page
  • 0f1e6c1 chore: add buttons when saving to page
  • e084fbb chore: adjust icon color
  • b000348 chore: adjust translations
  • 9447084 chore: code cleanup

📊 Changes

5 files changed (+145 additions, -95 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_select_sources_cubit.dart (+20 -6)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/select_sources_bottom_sheet.dart (+5 -5)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/select_sources_menu.dart (+99 -49)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_action_bar.dart (+19 -33)
📝 frontend/resources/translations/en.json (+2 -2)

📄 Description

chore: expand current space in select sources or when saving to a page

chore: hide non-document views while saving to page

chore: add buttons when saving to page

Screenshot 2025-01-03 at 1 22 50 PM

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/7136 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 1/3/2025 **Status:** ✅ Merged **Merged:** 1/3/2025 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `chore/save-to-page-improvments` --- ### 📝 Commits (6) - [`3bccd59`](https://github.com/AppFlowy-IO/AppFlowy/commit/3bccd592f23ea37d6802851e2b179f2eac233515) chore: expand current space in select sources or when saving to a page - [`4ed830c`](https://github.com/AppFlowy-IO/AppFlowy/commit/4ed830c78395b09b7810b9ab3ef4f15aa3386984) chore: hide non-document views while saving to page - [`0f1e6c1`](https://github.com/AppFlowy-IO/AppFlowy/commit/0f1e6c1ca600e2ff6047c35b741a2ea623d8f0af) chore: add buttons when saving to page - [`e084fbb`](https://github.com/AppFlowy-IO/AppFlowy/commit/e084fbb0ed2e5fb6320e7dc860b2bc8677b36cf7) chore: adjust icon color - [`b000348`](https://github.com/AppFlowy-IO/AppFlowy/commit/b0003481af93622b0fc517f958aa329b9553aa74) chore: adjust translations - [`9447084`](https://github.com/AppFlowy-IO/AppFlowy/commit/94470847e0f095d6d713b0a2b0fe7e5faadd94df) chore: code cleanup ### 📊 Changes **5 files changed** (+145 additions, -95 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_select_sources_cubit.dart` (+20 -6) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/select_sources_bottom_sheet.dart` (+5 -5) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/select_sources_menu.dart` (+99 -49) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_action_bar.dart` (+19 -33) 📝 `frontend/resources/translations/en.json` (+2 -2) </details> ### 📄 Description [chore: expand current space in select sources or when saving to a page](https://github.com/AppFlowy-IO/AppFlowy/commit/3bccd592f23ea37d6802851e2b179f2eac233515) [chore: hide non-document views while saving to page](https://github.com/AppFlowy-IO/AppFlowy/commit/4ed830c78395b09b7810b9ab3ef4f15aa3386984) [chore: add buttons when saving to page](https://github.com/AppFlowy-IO/AppFlowy/commit/0f1e6c1ca600e2ff6047c35b741a2ea623d8f0af) ![Screenshot 2025-01-03 at 1 22 50 PM](https://github.com/user-attachments/assets/41d25795-f97d-4da5-b9f2-a1cb9f2efd84) ### 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) - [ ] 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:03 +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#7751
No description provided.