-
Notifications
You must be signed in to change notification settings - Fork 597
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Enhance Combobox component with controlled open state and loading indicators - Added `open` and `setOpen` props to allow external control of the Combobox state. - Improved loading state handling to display a spinner when loading and no items are present. - Refactored conditional rendering for better clarity and performance. * Refactor SearchableContainerList to manage open state and improve loading indicators - Added `isOpen` and `setIsOpen` props to `SearchableContainer` for better control of the component's visibility. - Enhanced loading state handling to differentiate between fetching and refetching states. - Updated the rendering logic to ensure proper display of the Combobox and its content based on the new state management. * Refactor SearchableHostList and remove onClearAll handlers - Updated SearchableHostList to utilize new ComboboxV2 components for improved UI and functionality. - Introduced debounced search functionality for better performance during host searches. - Removed onClearAll handlers from various components to streamline state management and reduce redundancy. - Enhanced loading state handling in SearchableHostList for a smoother user experience.
- Loading branch information
Showing
18 changed files
with
135 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.