-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: navigate with arrow keys in select/multi-select #5983
base: main
Are you sure you want to change the base?
fix: navigate with arrow keys in select/multi-select #5983
Conversation
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.
PR Summary
- Added arrow key navigation support in
ObjectFilterDropdownRecordSelect.tsx
- Integrated
SelectableList
component inMultipleRecordSelectDropdown.tsx
- Managed selected item state using Recoil in
MultipleRecordSelectDropdown.tsx
- Applied background color for
isKeySelected
prop inStyledMenuItemBase.tsx
3 file(s) reviewed, no comment(s)
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.
PR Summary
(updates since last review)
- Introduced
RelationFilter
type for enhanced GraphQL filtering - Added
isEmptyOperand
support inMultipleFiltersDropdownContent.tsx
- Renamed and improved
handleOperandChange
inObjectFilterDropdownOperandSelect.tsx
- Enhanced test coverage in
getOperandsForFilterType.test.tsx
- Added
onSubmit
prop toDateFieldInput
andDateTimeFieldInput
components
36 file(s) reviewed, 1 comment(s)
${({ isHoverBackgroundDisabled }) => | ||
isHoverBackgroundDisabled ?? HOVER_BACKGROUND}; |
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.
Logical error: isHoverBackgroundDisabled
should be checked for truthiness before applying HOVER_BACKGROUND
.
${({ isHoverBackgroundDisabled }) => | |
isHoverBackgroundDisabled ?? HOVER_BACKGROUND}; | |
${({ isHoverBackgroundDisabled }) => | |
!isHoverBackgroundDisabled && HOVER_BACKGROUND}; |
|
closes: #4977
Screen.Recording.2024-06-21.at.3.24.46.PM.mov