-
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: State inspector shows canvas widgets #39023
base: release
Are you sure you want to change the base?
Conversation
WalkthroughThe changes update the way UI widgets are filtered in the selector. An existing import for a widget name constant was removed and replaced with an import of a widget factory. A constant ( Changes
Sequence Diagram(s)sequenceDiagram
participant C as Client
participant S as Selector
participant W as Widget List
C->>S: Invoke getUISegmentItems()
S->>W: Retrieve widget items
loop For each widget
alt widget.type equals CANVAS_WIDGET
S-->>W: Skip widget
else widget.type != CANVAS_WIDGET
S->>S: Include widget in results
end
end
S->>C: Return filtered widget list
Assessment against linked issues
Suggested labels
Suggested reviewers
Poem
Tip 🌐 Web search-backed reviews and chat
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (5)
🔇 Additional comments (2)
✨ Finishing Touches
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
|
🔴🔴🔴 Cyclic Dependency Check: This PR has increased the number of cyclic dependencies by 1, when compared with the release branch. Refer this document to identify the cyclic dependencies introduced by this PR. |
🔴🔴🔴 Cyclic Dependency Check: This PR has increased the number of cyclic dependencies by 1, when compared with the release branch. Refer this document to identify the cyclic dependencies introduced by this PR. |
Description
Filter out the canvas widgets from the ui segment list
Fixes #38876
Automation
/ok-to-test tags="@tag.IDE"
🔍 Cypress test results
Warning
Tests have not run on the HEAD d95d92c yet
Wed, 05 Feb 2025 06:54:45 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit