-
-
Notifications
You must be signed in to change notification settings - Fork 13.9k
💄 style: improve welcome message #9747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Reviewer's GuideThis PR refactors the welcome chat flow by renaming and consolidating components, replacing custom suggestion logic with a unified OpeningQuestions component, leveraging new hooks and selectors for dynamic content, simplifying conditional rendering, and updating styles and translations accordingly. Class diagram for the refactored WelcomeChatItem componentsclassDiagram
class WelcomeChatItem {
+render()
}
class AgentWelcome {
+useTranslation()
+useIsMobile()
+useGreeting()
+useAgentStore()
+useSessionStore()
+useChatStore()
+useMemo()
+render()
}
class GroupWelcome {
+render()
}
class OpeningQuestions {
+render(mobile, questions)
}
WelcomeChatItem --> AgentWelcome : uses
WelcomeChatItem --> GroupWelcome : uses
AgentWelcome --> OpeningQuestions : uses
Flow diagram for conditional rendering in WelcomeChatItemflowchart TD
A["WelcomeChatItem"] -->|Check isGroupSession| B["GroupWelcome"]
A -->|Else| C["AgentWelcome"]
C --> D["OpeningQuestions (if questions exist)"]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
👍 @arvinxx Thank you for raising your pull request and contributing to our Community |
|
There is too much information in the pull request to test. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9747 +/- ##
=========================================
Coverage 84.65% 84.65%
=========================================
Files 883 883
Lines 57939 57939
Branches 7307 8886 +1579
=========================================
Hits 49047 49047
Misses 8892 8892
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
❤️ Great PR @arvinxx ❤️ The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world. |
### [Version 1.138.2](v1.138.1...v1.138.2) <sup>Released on **2025-10-16**</sup> #### 💄 Styles - **misc**: Improve welcome message. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Improve welcome message, closes [#9747](#9747) ([c83fe13](c83fe13)) </details> <div align="right"> [](#readme-top) </div>
|
🎉 This PR is included in version 1.138.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [Version 1.132.0](v1.131.2...v1.132.0) <sup>Released on **2025-10-17**</sup> #### ✨ Features - **misc**: Support Group Chat, Mention, and Multi-Agent Orchestration with feature flag. #### 🐛 Bug Fixes - **misc**: Automatic topic creation switch does not work. #### 💄 Styles - **misc**: Add Claude Haiku 4.5 model, improve welcome message. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### What's improved * **misc**: Support Group Chat, Mention, and Multi-Agent Orchestration with feature flag, closes [lobehub#8976](https://github.com/jaworldwideorg/OneJA-Bot/issues/8976) ([03c2838](03c2838)) #### What's fixed * **misc**: Automatic topic creation switch does not work, closes [lobehub#9693](https://github.com/jaworldwideorg/OneJA-Bot/issues/9693) ([a02b301](a02b301)) #### Styles * **misc**: Add Claude Haiku 4.5 model, closes [lobehub#9735](https://github.com/jaworldwideorg/OneJA-Bot/issues/9735) ([1cfbc87](1cfbc87)) * **misc**: Improve welcome message, closes [lobehub#9747](https://github.com/jaworldwideorg/OneJA-Bot/issues/9747) ([c83fe13](c83fe13)) </details> <div align="right"> [](#readme-top) </div>
💻 Change Type
🔀 Description of Change
📝 Additional Information
Summary by Sourcery
Refactor and enhance the chat welcome experience by replacing static suggestions with dynamic agent-driven content, improving component structure, and cleaning up obsolete code and translations.
Enhancements:
Documentation:
Chores: