[PR #6835] [MERGED] chore: bump flutter chat ui version #7596

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

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/6835
Author: @richardshiue
Created: 11/20/2024
Status: Merged
Merged: 11/20/2024
Merged by: @richardshiue

Base: mainHead: feat/bump-flutter-chat-ui


📝 Commits (1)

  • 36e28aa chore: bump flutter chat ui version

📊 Changes

21 files changed (+1010 additions, -674 deletions)

View changed files

📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart (+239 -310)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_entity.dart (+5 -10)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_message_service.dart (+33 -30)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_user_message_bloc.dart (+1 -5)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_user_message_bubble_bloc.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart (+175 -162)
frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/animated_chat_list.dart (+405 -0)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/desktop_ai_prompt_input.dart (+4 -11)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/mobile_ai_prompt_input.dart (+3 -11)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_related_question.dart (+4 -5)
frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_theme.dart (+0 -85)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_user_invalid_message.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/layout_define.dart (+0 -2)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_bubble.dart (+1 -2)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/user_message_bubble.dart (+1 -1)
📝 frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/user_text_message.dart (+6 -15)
frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/scroll_to_bottom.dart (+88 -0)
📝 frontend/appflowy_flutter/pubspec.lock (+36 -20)
📝 frontend/appflowy_flutter/pubspec.yaml (+3 -2)

...and 1 more files

📄 Description

  • fix a bug where the welcome page would be shown for a fraction of a second while loading the messages from server
  • add a scroll to bottom button
    Screenshot 2024-11-20 at 9 59 24 AM
  • bump flutter chat ui version to support insert and remove animations
  • adjust handling of related questions to store them in the message rather than chat bloc state
  • remove unnecessary variables from chat bloc state

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/6835 **Author:** [@richardshiue](https://github.com/richardshiue) **Created:** 11/20/2024 **Status:** ✅ Merged **Merged:** 11/20/2024 **Merged by:** [@richardshiue](https://github.com/richardshiue) **Base:** `main` ← **Head:** `feat/bump-flutter-chat-ui` --- ### 📝 Commits (1) - [`36e28aa`](https://github.com/AppFlowy-IO/AppFlowy/commit/36e28aaddf87459080c52261c0616f7546a9afe4) chore: bump flutter chat ui version ### 📊 Changes **21 files changed** (+1010 additions, -674 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_bloc.dart` (+239 -310) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_entity.dart` (+5 -10) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_message_service.dart` (+33 -30) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_user_message_bloc.dart` (+1 -5) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/application/chat_user_message_bubble_bloc.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/chat_page.dart` (+175 -162) ➕ `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/animated_chat_list.dart` (+405 -0) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/desktop_ai_prompt_input.dart` (+4 -11) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_input/mobile_ai_prompt_input.dart` (+3 -11) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_related_question.dart` (+4 -5) ➖ `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_theme.dart` (+0 -85) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/chat_user_invalid_message.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/layout_define.dart` (+0 -2) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_message_bubble.dart` (+1 -2) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/ai_text_message.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/user_message_bubble.dart` (+1 -1) 📝 `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/message/user_text_message.dart` (+6 -15) ➕ `frontend/appflowy_flutter/lib/plugins/ai_chat/presentation/scroll_to_bottom.dart` (+88 -0) 📝 `frontend/appflowy_flutter/pubspec.lock` (+36 -20) 📝 `frontend/appflowy_flutter/pubspec.yaml` (+3 -2) _...and 1 more files_ </details> ### 📄 Description - fix a bug where the welcome page would be shown for a fraction of a second while loading the messages from server - add a scroll to bottom button <img width="319" alt="Screenshot 2024-11-20 at 9 59 24 AM" src="https://github.com/user-attachments/assets/c84509f5-85c9-4862-b44d-7b5c1543be7a"> - bump flutter chat ui version to support insert and remove animations - adjust handling of related questions to store them in the message rather than chat bloc state - remove unnecessary variables from chat bloc state ### 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. - [ ] 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:20:21 +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#7596
No description provided.