fix(sidebar): remove background in glass#8446
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughRefactors Sidebar SCSS so panel/content use transparent background CSS variables under glass/non-glass roots with plain/no-plain-on-glass precedence; removes the old direct background rule. Updates Sidebar and Drawer usage docs: adds ChangesGlass-theme background fix and docs
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the 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 |
|
Preview: https://pf-pr-8446.surge.sh A11y report: https://pf-pr-8446-a11y.surge.sh |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/patternfly/components/Sidebar/examples/Sidebar.md`:
- Line 237: Update the Sidebar documentation row for the `.pf-m-no-background`
modifier to match the SCSS: remove `.pf-v6-c-sidebar` and list only
`.pf-v6-c-sidebar__panel, .pf-v6-c-sidebar__content` as the affected elements;
ensure the table cell text now reads exactly that selector list and keeps the
existing description "Modifies the element to have a transparent background." to
reflect the actual implementation in `sidebar.scss` where `.pf-m-no-background`
is applied to `.pf-v6-c-sidebar__panel` and `.pf-v6-c-sidebar__content`.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI (base), Organization UI (inherited)
Review profile: CHILL
Plan: Pro
Run ID: f7a3d397-decc-4cef-91d4-4c87f625464f
📒 Files selected for processing (2)
src/patternfly/components/Sidebar/examples/Sidebar.mdsrc/patternfly/components/Sidebar/sidebar.scss
|
🎉 This PR is included in version 6.6.0-prerelease.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
fixes #8380
Summary by CodeRabbit
.pf-m-no-plain-on-glassdocs for Sidebar panel/content and updated.pf-m-no-backgroundusage to note deprecation and scope; updated.pf-m-secondaryusage details; also added deprecation note for Drawer.pf-m-no-background.