-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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: Show bindings hiding behind scroll #38553
Conversation
WalkthroughThe pull request introduces changes to the Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
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
|
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 (2)
app/client/src/components/editorComponents/PropertyPaneSidebar.tsx (2)
19-19
: Consider relocating the preview mode selectorThe preview mode selector might be better placed in a dedicated UI or preview-related selector file rather than gitModSelectors.
35-39
: Consider a more descriptive variable nameThe variable name
shouldNotRenderPane
could be more specific to better reflect its expanded purpose, e.g.,shouldHidePropertyPane
orisPropertyPaneHidden
.- const shouldNotRenderPane = + const isPropertyPaneHidden = isPreviewMode || (isDraggingOrResizing && selectedWidgetIds[0] !== prevSelectedWidgetId.current) || selectedWidgetIds[0] === MAIN_CONTAINER_WIDGET_ID;
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
app/client/src/components/editorComponents/PropertyPaneSidebar.tsx
(2 hunks)app/client/src/pages/Editor/IDE/Layout/StaticLayout.tsx
(0 hunks)
💤 Files with no reviewable changes (1)
- app/client/src/pages/Editor/IDE/Layout/StaticLayout.tsx
⏰ Context from checks skipped due to timeout of 90000ms (6)
- GitHub Check: perform-test / rts-build / build
- GitHub Check: client-unit-tests / client-unit-tests
- GitHub Check: client-lint / client-lint
- GitHub Check: client-check-cyclic-deps / check-cyclic-dependencies
- GitHub Check: client-prettier / prettier-check
- GitHub Check: client-build / client-build
🔇 Additional comments (2)
app/client/src/components/editorComponents/PropertyPaneSidebar.tsx (2)
26-26
: Clean implementation of preview mode stateThe preview mode state is well-implemented using the selector pattern.
Line range hint
26-39
: Verify test coverage for preview mode behaviorThe new preview mode functionality should be covered by tests to ensure proper behavior.
Description
Fixes the show bindings been hidden because of the overflow setting. This was introduced in #38274
To fix the original issue, we have made sure property pane does not render when in preview mode
Fixes #38547
Automation
/ok-to-test tags="@tag.IDE"
🔍 Cypress test results
Tip
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/12686267032
Commit: e374708
Cypress dashboard.
Tags:
@tag.IDE
Spec:
Thu, 09 Jan 2025 09:08:23 UTC
Communication
Should the DevRel and Marketing teams inform users about this change?
Summary by CodeRabbit