-
Notifications
You must be signed in to change notification settings - Fork 35
refactor: [DHIS2-19134] use select dropdown from dhis2/ui #3992
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
base: master
Are you sure you want to change the base?
refactor: [DHIS2-19134] use select dropdown from dhis2/ui #3992
Conversation
|
🚀 Deployed on https://deploy-preview-3992.capture.netlify.dhis2.org |
…mponent selectors
|
...pture-core/components/FormFields/New/Fields/SingleSelectField/SingleSelectField.component.js
Outdated
Show resolved
Hide resolved
…and master improvements Co-Authored-By: Eirik <eirik.haugstulen@gmail.com>
…put in Cypress tests Co-Authored-By: Eirik <eirik.haugstulen@gmail.com>
…prove code quality - Replace traditional conditional checks with optional chaining operator - Addresses SonarCloud code smells for better readability and conciseness - Updates SingleSelectField.component.js, withFocusHandler.js, and withTranslations.js Co-Authored-By: Eirik <eirik.haugstulen@gmail.com>
…dards Previous commit used 'resolve:' prefix which is not in allowed conventional commit types. This commit ensures compliance with project's commit message linting rules. Co-Authored-By: Eirik <eirik.haugstulen@gmail.com>
…ng CSS styles - Add inputWrapperFocused and inputWrapperUnfocused CSS styles to SingleSelectField component - Update component composition to use compose(withStyles(styles), withFocusHandler()) - Follow the same pattern as MultiSelectField for consistent focus state management - Resolves issue where blue focus background persisted when moving away from component Fixes focus handler issue reported by simonadomnisoru in PR #3992 comments Co-Authored-By: Eirik <eirik.haugstulen@gmail.com>
…use-ui-select-dropdown
simonadomnisoru
left a comment
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.
A few Cypress tests related to data-test="single-select-input" are failing. Could you take a look? Thank you!
...pture-core/components/FormFields/New/Fields/SingleSelectField/SingleSelectField.component.js
Outdated
Show resolved
Hide resolved
|
Hi @henrikmv, the blur approach look good now 👏 ! Before moving this to QA, could you fix the 8 failing Cypress tests in SearchThroughAddRelationship.feature related to data-test="single-select-input"? Thanks! |
…use-ui-select-dropdown
This reverts commit de1a446.
|




DHIS2-19134
Summary: