-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[WEB-5520] fix: comments UI in space app #8189
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
|
Linked to Plane Work Item(s) This comment was auto-generated by Plane |
WalkthroughLiteTextEditor's toolbar now renders conditionally based on the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx,mts,cts}📄 CodeRabbit inference engine (.github/instructions/typescript.instructions.md)
Files:
🧠 Learnings (5)📚 Learning: 2025-10-09T20:42:31.843ZApplied to files:
📚 Learning: 2025-10-09T22:12:26.424ZApplied to files:
📚 Learning: 2025-10-01T15:30:17.605ZApplied to files:
📚 Learning: 2025-10-21T17:22:05.204ZApplied to files:
📚 Learning: 2025-11-25T10:18:05.172ZApplied to files:
🧬 Code graph analysis (2)apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx (1)
apps/space/core/components/editor/lite-text-editor.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Pull request overview
This PR addresses three UI issues in the Space app's comments section: incorrect font sizes in comment editors, toolbar visibility in read-only mode, and misleading "External User" labels. The changes improve the user experience by ensuring consistent styling and appropriate UI element visibility.
- Removed misleading "External User" label from web app comment display
- Added proper font size configuration ("small-font") to Space app comment editors
- Fixed toolbar to only appear in editable mode, not in read-only comment views
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| apps/web/ce/components/comments/comment-block.tsx | Removed external user label logic and cleaned up unused imports |
| apps/space/core/components/issues/peek-overview/comment/comment-detail-card.tsx | Improved type safety with TIssuePublicComment and added small-font displayConfig to both editable and read-only editors |
| apps/space/core/components/issues/peek-overview/comment/add-comment.tsx | Added small-font displayConfig to add-comment editor for consistency |
| apps/space/core/components/editor/lite-text-editor.tsx | Fixed toolbar rendering to only show when editor is editable |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
This PR fixes the following things in the Space app comments section-
External usertext visible based on the access of the comment, not on whether the comment is actually posted by an external user.Type of Change
Summary by CodeRabbit
New Features
Bug Fixes
Refactoring
✏️ Tip: You can customize this high-level summary in your review settings.