[PR #7829] [MERGED] fix: custom prompt launch review issues #8145

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/7829
Author: @richardshiue
Created: 4/25/2025
Status: Merged
Merged: 4/28/2025
Merged by: @richardshiue

Base: mainHead: fix/custom-prompt-lr


📝 Commits (7)

  • 5a13431 fix: text overflow in category items
  • 20c5cea fix: don't pass invalid characters
  • 12cb79d fix: prompt title typo
  • f295182 fix: examples should also rcontain initial instructions
  • 34cac24 fix: selection not visible
  • 2dacf83 fix: chat page input border gets cut off
  • 98a5ea0 fix: remove hover and stretch buttons

📊 Changes

6 files changed (+55 additions, -82 deletions)

View changed files

📝 frontend/appflowy_flutter/assets/built_in_prompts.json (+30 -31)
📝 frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_category_list.dart (+13 -19)
📝 frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_visible_list.dart (+2 -25)
📝 frontend/appflowy_flutter/lib/ai/widgets/prompt_input/desktop_prompt_input.dart (+6 -5)
📝 frontend/appflowy_flutter/lib/ai/widgets/prompt_input/prompt_input_text_controller.dart (+2 -1)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart (+2 -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.

Summary by Sourcery

Improve text handling and UI for AI prompt input and category display

Bug Fixes:

  • Fix text display issues in AI prompt category and input widgets by adding ellipsis overflow handling

Enhancements:

  • Modify text rendering in AI prompt category list to support text overflow
  • Enhance text input processing for AI prompts with additional text restoration

🔄 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/7829 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 4/25/2025 **Status:** ✅ Merged **Merged:** 4/28/2025 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `fix/custom-prompt-lr` --- ### 📝 Commits (7) - [`5a13431`](https://github.com/AppFlowy-IO/AppFlowy/commit/5a13431912b54afa1abf91d730dc55ad5169aaae) fix: text overflow in category items - [`20c5cea`](https://github.com/AppFlowy-IO/AppFlowy/commit/20c5cea41c7284445b042df93667ad46736950fc) fix: don't pass invalid characters - [`12cb79d`](https://github.com/AppFlowy-IO/AppFlowy/commit/12cb79d18cfcf80162ca81faf770e91e2bed4023) fix: prompt title typo - [`f295182`](https://github.com/AppFlowy-IO/AppFlowy/commit/f295182d18c879706037c646a90bd4f6eb6ff39d) fix: examples should also rcontain initial instructions - [`34cac24`](https://github.com/AppFlowy-IO/AppFlowy/commit/34cac246da5b7beab1c4e8d45609f230a18698a4) fix: selection not visible - [`2dacf83`](https://github.com/AppFlowy-IO/AppFlowy/commit/2dacf83c61e4ea4fe4d7ca18c0ca03b85f7f3cc3) fix: chat page input border gets cut off - [`98a5ea0`](https://github.com/AppFlowy-IO/AppFlowy/commit/98a5ea0b7ac3d58264bacc4322ddae35f23f6e81) fix: remove hover and stretch buttons ### 📊 Changes **6 files changed** (+55 additions, -82 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/assets/built_in_prompts.json` (+30 -31) 📝 `frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_category_list.dart` (+13 -19) 📝 `frontend/appflowy_flutter/lib/ai/widgets/ai_prompt_modal/ai_prompt_visible_list.dart` (+2 -25) 📝 `frontend/appflowy_flutter/lib/ai/widgets/prompt_input/desktop_prompt_input.dart` (+6 -5) 📝 `frontend/appflowy_flutter/lib/ai/widgets/prompt_input/prompt_input_text_controller.dart` (+2 -1) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart` (+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 <!--- 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. ## Summary by Sourcery Improve text handling and UI for AI prompt input and category display Bug Fixes: - Fix text display issues in AI prompt category and input widgets by adding ellipsis overflow handling Enhancements: - Modify text rendering in AI prompt category list to support text overflow - Enhance text input processing for AI prompts with additional text restoration --- <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:49 +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#8145
No description provided.