[PR #7640] [MERGED] fix: ai writer ux issues #8017

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

📋 Pull Request Information

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

Base: mainHead: fix/launch-review-0.8.8


📝 Commits (4)

  • 96d04d3 chore: fix local ai font weight
  • 8fcdeb5 chore: adjust auto response format copy
  • f1e5492 fix: escape shortcut
  • 9c2dc5b chore: more action button icon size

📊 Changes

6 files changed (+93 additions, -71 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/ai/widgets/prompt_input/desktop_prompt_text_field.dart (+22 -15)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/ai_writer_block_component.dart (+9 -4)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/widgets/ai_writer_prompt_input_more_button.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/widgets/ai_writer_scroll_wrapper.dart (+59 -49)
📝 frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting.dart (+1 -1)
📝 frontend/resources/translations/en.json (+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.

Summary by Sourcery

Improve AI writer user experience by refactoring keyboard and focus handling in various components

Bug Fixes:

  • Fix potential issues with shortcut and keyboard event handling in AI writer components

Enhancements:

  • Refactor keyboard event handling in AI writer components to provide more robust and predictable user interactions
  • Improve focus management for AI writing interfaces

🔄 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/7640 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 3/27/2025 **Status:** ✅ Merged **Merged:** 3/28/2025 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `fix/launch-review-0.8.8` --- ### 📝 Commits (4) - [`96d04d3`](https://github.com/AppFlowy-IO/AppFlowy/commit/96d04d320dee5ca2559fb1bf1c9d73cce7c94122) chore: fix local ai font weight - [`8fcdeb5`](https://github.com/AppFlowy-IO/AppFlowy/commit/8fcdeb5683899d43b4f932ab3ebd2cbed1c9a523) chore: adjust auto response format copy - [`f1e5492`](https://github.com/AppFlowy-IO/AppFlowy/commit/f1e5492c6a4c8023f53e2169ee030310e1300b64) fix: escape shortcut - [`9c2dc5b`](https://github.com/AppFlowy-IO/AppFlowy/commit/9c2dc5bab0dce04b5ff17737fa63c709d48ee841) chore: more action button icon size ### 📊 Changes **6 files changed** (+93 additions, -71 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/ai/widgets/prompt_input/desktop_prompt_text_field.dart` (+22 -15) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/ai_writer_block_component.dart` (+9 -4) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/widgets/ai_writer_prompt_input_more_button.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/ai/widgets/ai_writer_scroll_wrapper.dart` (+59 -49) 📝 `frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/setting_ai_view/local_ai_setting.dart` (+1 -1) 📝 `frontend/resources/translations/en.json` (+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. ## Summary by Sourcery Improve AI writer user experience by refactoring keyboard and focus handling in various components Bug Fixes: - Fix potential issues with shortcut and keyboard event handling in AI writer components Enhancements: - Refactor keyboard event handling in AI writer components to provide more robust and predictable user interactions - Improve focus management for AI writing interfaces --- <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:14 +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#8017
No description provided.