-
Notifications
You must be signed in to change notification settings - Fork 429
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
"fixes UI bugs with symptoms editor" #8998 #9003
base: develop
Are you sure you want to change the base?
Conversation
WalkthroughThe pull request includes modifications to three components: Changes
Assessment against linked issues
Possibly related PRs
Suggested labels
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (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
CodeRabbit Configuration File (
|
❌ Deploy Preview for care-ohc failed.
|
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
🧹 Outside diff range and nitpick comments (1)
src/components/Form/FormFields/AutocompleteMultiselect.tsx (1)
150-157
: LGTM! Consider extracting icon size to a constant.The changes properly address the dropdown icon alignment issue by using consistent text sizing and proper contrast. The implementation handles both loading and non-loading states appropriately.
Consider extracting the
text-lg
class to a constant since it's used in multiple places within the component:+ const ICON_SIZE_CLASS = "text-lg"; <div className="text-lg text-secondary-900"> {props.isLoading ? ( - <CareIcon icon="l-spinner" className="animate-spin" /> + <CareIcon icon="l-spinner" className={classNames(ICON_SIZE_CLASS, "animate-spin")} /> ) : ( <CareIcon id="dropdown-toggle" icon="l-angle-down" - className="text-lg" + className={ICON_SIZE_CLASS} /> )} </div>
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (3)
src/components/Common/DateInputV2.tsx
(1 hunks)src/components/Form/FormFields/AutocompleteMultiselect.tsx
(1 hunks)src/components/Symptoms/SymptomsBuilder.tsx
(1 hunks)
✅ Files skipped from review due to trivial changes (2)
- src/components/Common/DateInputV2.tsx
- src/components/Symptoms/SymptomsBuilder.tsx
once the requested changes in the issues are made, request for review of the PR |
Co-authored-by: Mohammed Nihal <[email protected]>
Proposed Changes
Before
After
@ohcnetwork/care-fe-code-reviewers
Merge Checklist
Summary by CodeRabbit
New Features
DateInputV2
component.AutocompleteMultiselect
component.AddSymptom
component for clarity.Bug Fixes
AutocompleteMultiselect
component.