-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
fix: Release blocker: focus ring issue in code mirror #39022
Conversation
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including You can disable this status message by setting the WalkthroughThe pull request updates the focus outline styling in the CodeEditor component by changing the Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and 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.
Actionable comments posted: 0
🧹 Nitpick comments (1)
app/client/src/components/editorComponents/CodeEditor/styledComponents.ts (1)
108-117
: Remove commented code block.The commented code block is no longer needed since the focus ring styling is now handled by the active implementation.
- /* ${(props) => - props.isFocused && - `outline: ${ - props?.removeHoverAndFocusStyle - ? "none" - : "var(--ads-v2-border-width-outline) solid var(--ads-v2-color-outline)" - }; - outline-offset: -1px; - clip-path: unset !important; - `} */
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
app/client/src/components/editorComponents/CodeEditor/styledComponents.ts
(3 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (7)
- GitHub Check: perform-test / rts-build / build
- GitHub Check: perform-test / server-build / server-unit-tests
- GitHub Check: client-lint / client-lint
- GitHub Check: client-check-cyclic-deps / check-cyclic-dependencies
- GitHub Check: client-build / client-build
- GitHub Check: client-unit-tests / client-unit-tests
- GitHub Check: client-prettier / prettier-check
🔇 Additional comments (2)
app/client/src/components/editorComponents/CodeEditor/styledComponents.ts (2)
93-93
: LGTM! Fixed focus ring overlapping.The change from
var(--ads-v2-offset-outline)
to-1px
resolves the focus ring issue.
409-409
: LGTM! Consistent focus ring styling.The outline-offset change maintains consistency with other focus states.
/build-deploy-preview skip-test=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/13150896878. |
Deploy-Preview-URL: https://ce-39022.dp.appsmith.com |
/build-deploy-preview skip-test=true |
Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/13151173745. |
Deploy-Preview-URL: https://ce-39022.dp.appsmith.com |
## Description Fixed focus ring overlapping issue for code mirror is addressed in this PR. Fixes #39002 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13153839322> > Commit: f9140c9 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13153839322&attempt=2" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Wed, 05 Feb 2025 10:57:23 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Standardized the focus outline styling in the editor component to improve visual consistency when the editor is focused. <!-- end of auto-generated comment: release notes by coderabbit.ai --> (cherry picked from commit 108c797)
) ## Description Fixed focus ring overlapping issue for code mirror is addressed in this PR. Fixes appsmithorg#39002 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13153839322> > Commit: f9140c9 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13153839322&attempt=2" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Wed, 05 Feb 2025 10:57:23 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Style** - Standardized the focus outline styling in the editor component to improve visual consistency when the editor is focused. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Description
Fixed focus ring overlapping issue for code mirror is addressed in this PR.
Fixes #39002
Automation
/ok-to-test tags="@tag.All"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/13153839322
Commit: f9140c9
Cypress dashboard.
Tags:
@tag.All
Spec:
Wed, 05 Feb 2025 10:57:23 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit