Skip to content

[WIKI-622] fix: update space work item description styles#7686

Merged
sriramveeraghanta merged 1 commit intopreviewfrom
fix-space_workitem_content
Sep 1, 2025
Merged

[WIKI-622] fix: update space work item description styles#7686
sriramveeraghanta merged 1 commit intopreviewfrom
fix-space_workitem_content

Conversation

@iam-vipin
Copy link
Member

@iam-vipin iam-vipin commented Sep 1, 2025

Description

Fix Read-Only RichEditor Editor for work item description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots and Media (if applicable)

image

Test Scenarios

References

Summary by CodeRabbit

  • Style
    • Updated rich text editor to a cleaner, borderless look for a more distraction-free experience.
    • Editor now expands with content instead of being capped, reducing the need for internal scrolling.
    • Adjusted padding for improved content alignment while maintaining consistent vertical spacing and a sensible minimum height.

Copilot AI review requested due to automatic review settings September 1, 2025 09:06
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 1, 2025

Walkthrough

Simplified the RichTextEditor’s editorClassName styles by removing border, max-height, rounding, and left padding, while keeping minimum height, vertical padding, and overflow-hidden. No exports or public APIs changed.

Changes

Cohort / File(s) Summary of changes
RichTextEditor styling
apps/space/core/components/editor/rich-text-editor.tsx
Removed max height, border, rounded corners, and left padding from editorClassName; retained min height, vertical padding, and overflow-hidden to produce a borderless, uncapped-height editor.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Suggested labels

🐛bug, 🌐frontend

Suggested reviewers

  • vamsikrishnamathala
  • prateekshourya29

Poem

Hop hop, I trim the frills away,
No borders now to halt the play.
The text can stretch, the words can sway—
A roomy page for thoughts to stray.
🐇✍️ Minimal paths, more space today!

✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-space_workitem_content

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.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

Copilot AI left a 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 fixes the read-only RichEditor for work item descriptions by simplifying the editor styling to remove unnecessary visual elements and constraints.

  • Removes border, border radius, padding, and height constraints from the editor
  • Retains minimum height and essential overflow/padding properties

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@iam-vipin iam-vipin added 🐛bug Something isn't working ✍️editor labels Sep 1, 2025
@iam-vipin iam-vipin changed the title fix: work item description [WIKI-622] fix: work item description Sep 1, 2025
@makeplane
Copy link

makeplane bot commented Sep 1, 2025

Pull Request Linked with Plane Work Items

Comment Automatically Generated by Plane

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
apps/space/core/components/editor/rich-text-editor.tsx (1)

61-61: Avoid clipping editor popovers/selection UI by making overflow conditional

overflow-hidden can clip mention/slash menus, tooltips, and selection UI in editable mode. It’s safer to hide overflow only when needed and keep it visible for read-only.

Apply:

-      editorClassName="min-h-[100px] py-2 overflow-hidden"
+      editorClassName={`min-h-[100px] py-2 ${editable ? "overflow-hidden" : "overflow-visible"}`}

Please verify:

  • Mentions/slash menu and link tooltips aren’t clipped in editable mode.
  • Long descriptions and code blocks render fully in read-only without cutoffs.
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between e2c0d0f and 9855529.

📒 Files selected for processing (1)
  • apps/space/core/components/editor/rich-text-editor.tsx (1 hunks)
⏰ 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). (2)
  • GitHub Check: Build and lint web apps
  • GitHub Check: Analyze (javascript)

@iam-vipin iam-vipin changed the title [WIKI-622] fix: work item description [WIKI-622] fix: update space work item description styles Sep 1, 2025
@sriramveeraghanta sriramveeraghanta merged commit ee471c7 into preview Sep 1, 2025
7 of 8 checks passed
@sriramveeraghanta sriramveeraghanta deleted the fix-space_workitem_content branch September 1, 2025 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants