-
-
Notifications
You must be signed in to change notification settings - Fork 848
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
Figma: Refactor CSS files in src/components/CollapsibleDropdown #3330 #3463
Figma: Refactor CSS files in src/components/CollapsibleDropdown #3330 #3463
Conversation
WalkthroughThis pull request involves refactoring the CSS styles for the CollapsibleDropdown component. The changes include removing the component-specific CSS module ( Changes
Possibly related issues
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (1)
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
|
Our Pull Request Approval ProcessThanks for contributing! Testing Your CodeRemember, your PRs won't be reviewed until these criteria are met:
Our policies make our code better. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
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)
src/style/app.module.css (1)
9107-9120
: LGTM! The new classes are well-structured and consistent.The classes follow good naming conventions and use appropriate dimensions that match similar elements in the codebase. The flexbox usage for centering in
.collapsibleDropdownIconWrapperSm
is a good practice.Consider adding hover and focus states for better interactivity:
.collapsibleDropdownIconWrapper { width: 36px; + transition: opacity 0.2s ease; } +.collapsibleDropdownIconWrapper:hover { + opacity: 0.8; +} .collapsibleDropdownCollapseBtn { height: 48px; + transition: background-color 0.2s ease; } +.collapsibleDropdownCollapseBtn:hover { + background-color: var(--dropdown-hover); +} +.collapsibleDropdownCollapseBtn:focus-visible { + outline: 2px solid var(--blue-primary); + outline-offset: 2px; +} .collapsibleDropdownIconWrapperSm { width: 36px; display: flex; justify-content: center; align-items: center; + transition: opacity 0.2s ease; } +.collapsibleDropdownIconWrapperSm:hover { + opacity: 0.8; +}
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
src/components/CollapsibleDropdown/CollapsibleDropdown.module.css
(0 hunks)src/components/CollapsibleDropdown/CollapsibleDropdown.tsx
(3 hunks)src/style/app.module.css
(1 hunks)
💤 Files with no reviewable changes (1)
- src/components/CollapsibleDropdown/CollapsibleDropdown.module.css
✅ Files skipped from review due to trivial changes (1)
- src/components/CollapsibleDropdown/CollapsibleDropdown.tsx
⏰ Context from checks skipped due to timeout of 90000ms (1)
- GitHub Check: Test Application
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop-postgres #3463 +/- ##
=====================================================
+ Coverage 2.26% 89.22% +86.95%
=====================================================
Files 316 338 +22
Lines 8249 8630 +381
Branches 1880 1926 +46
=====================================================
+ Hits 187 7700 +7513
+ Misses 8050 652 -7398
- Partials 12 278 +266
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
01120c6
into
PalisadoesFoundation:develop-postgres
What kind of change does this PR introduce?
Refactoring
Issue Number:
#3330
Snapshots/Videos:
Summary
Aim is to consolidate style sheet in Collapsible Dropdown into app.module style sheet
Does this PR introduce a breaking change?
No
Checklist
CodeRabbit AI Review
Test Coverage
Have you read the contributing guide?
Yes
Summary by CodeRabbit
app.module.css
..collapsibleDropdownIconWrapper
,.collapsibleDropdownCollapseBtn
, and.collapsibleDropdownIconWrapperSm
.