forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: open TimeScaleDropdown directly to the custom menu when custom is…
… selected Fixes cockroachdb#78499 This commit modifies the TimeScaleDropdown so that if a custom time is currently select it opens directly to the custom selection menu, and a "Preset Time Ranges" navigation link to go to the preset options from the custom menu. This commit also cleans up the unused DateRange component. Release note (ui): The time picker now opens directly to the custom time selection menu when a custom time is already selected. A "Preset Time Ranges" navigation link has been added to go to the preset options from the custom menu.
- Loading branch information
Showing
9 changed files
with
128 additions
and
184 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
pkg/ui/workspaces/cluster-ui/src/dateRange/dateRange.fixtures.tsx
This file was deleted.
Oops, something went wrong.
32 changes: 0 additions & 32 deletions
32
pkg/ui/workspaces/cluster-ui/src/dateRange/dateRange.stories.tsx
This file was deleted.
Oops, something went wrong.
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.