-
-
Couldn't load subscription status.
- Fork 13.9k
π style: The error details of the connectivity check lead to a layout problem #9872
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
π style: The error details of the connectivity check lead to a layout problem #9872
Conversation
|
Someone is attempting to deploy a commit to the LobeHub Community Team on Vercel. A member of the Team first needs to authorize it. |
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR addresses layout overflow by constraining the error display containerβs width and enabling text wrapping for long JSON error messages in the Highlighter component. Class diagram for updated Error and Highlighter componentsclassDiagram
class Error {
+error: ChatMessageError
+providerName: string
+maxWidth: 600px
}
class Highlighter {
+actionIconSize: string
+language: string
+variant: string
+wrap: boolean
}
Error --> Highlighter : uses
File-Level Changes
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
TestGru AssignmentSummary
Tip You can |
|
π @EldestBard Thank you for raising your pull request and contributing to our Community |
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.
|
What is the difference between Before and After?
Original ContentBefore ε After ηεΊε«ζ―δ»δΉ |
|
cc @arvinxx |
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #9872 +/- ##
=========================================
Coverage 84.49% 84.49%
=========================================
Files 946 946
Lines 64890 64890
Branches 7985 9389 +1404
=========================================
Hits 54829 54829
Misses 10061 10061
Flags with carried forward coverage won't be shown. Click here to find out more.
π New features to boost your workflow:
|
|
β€οΈ Great PR @EldestBard β€οΈ 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.142.4](v1.142.3...v1.142.4) <sup>Released on **2025-10-27**</sup> #### π Styles - **misc**: Pre render ModelSwitchPanel, The error details of the connectivity check lead to a layout problem. <br/> <details> <summary><kbd>Improvements and Fixes</kbd></summary> #### Styles * **misc**: Pre render ModelSwitchPanel, closes [#9499](#9499) ([840382b](840382b)) * **misc**: The error details of the connectivity check lead to a layout problem, closes [#9872](#9872) ([ea42e60](ea42e60)) </details> <div align="right"> [](#readme-top) </div>
|
π This PR is included in version 1.142.4 π The release is available on: Your semantic-release bot π¦π |


π» Change Type
π Related Issue
fix #9869
π Description of Change
This PR introduces a
maxWidthto theErrorcomponent within theProviderCheckerand addwarpon Highlighter. This ensures that long error messages wrap correctly and do not overflow, improving the overall layout and user experience when connection or configuration issues arise.π§ͺ How to Test
To test:
Settings -> Language Model.πΈ Screenshots / Videos
π Additional Information
This is a minor UI fix to enhance the robustness of the provider settings interface.
Summary by Sourcery
Improve the ProviderChecker UI by adding width constraints and wrapping for error messages to avoid layout issues when displaying long error details.
Bug Fixes:
Enhancements: