💄 style(conversation): align user rich text line height with LexicalRenderer#13312
Conversation
There was a problem hiding this comment.
Sorry @Innei, your pull request is larger than the review limit of 150000 diff characters
|
@Innei is attempting to deploy a commit to the LobeHub OSS Team on Vercel. A member of the Team first needs to authorize it. |
|
@ONLY-yours @arvinxx @nekomeowww - This PR touches onboarding flow and conversation UI (general feature area), builtin tool calling packages (user-interaction, web-onboarding), and database migrations. Please coordinate review by area. |
f8896f9 to
d25e2c6
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f8896f9912
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## canary #13312 +/- ##
=======================================
Coverage 66.76% 66.76%
=======================================
Files 1889 1889
Lines 151445 151447 +2
Branches 17265 17263 -2
=======================================
+ Hits 101109 101111 +2
Misses 50224 50224
Partials 112 112
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
❤️ Great PR @Innei ❤️ 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. |
💻 Change Type
🔗 Related Issue
🔀 Description of Change
User message rich text uses
LexicalRendererwith variantchat. This PR passes a CSS custom property--common-line-height(1.6) via the rendererstyleprop so wrapped content matches chat typography and avoids overly tight default line-height.Files:
src/features/Conversation/Messages/User/components/RichTextMessage.tsx.🧪 How to Test
Send or open a user message that renders rich text; confirm line spacing looks consistent with surrounding chat copy.
Tested locally
Added/updated tests
No tests needed
📸 Screenshots / Videos
📝 Additional Information
Branch was reset onto
canaryand scoped to this UI tweak only (previous PR text described a larger onboarding set that is no longer on this branch).