forked from getredash/redash
-
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.
Add Dynamic Values to Date and Date Range Parameters (getredash#3904)
* Draft for Date Dynamic values * Use value with prefix instead of specific attr * Fix not possible to select static value * Update antd version * Cleanup and DateRangeParameter * Dynamic DateTimeRange * Add Dynamic options to Date Parameters * UI refinements * Add getDynamicValue function * Add 'This' options and prevent text clipping * Make allowClear available * Update ScheduleDialog snapshot * Add some protections and separate Date/DateRange * Accept null values on date or daterange parameters * Handle undefined values on Moment propType * Move export to end of files * Remove Today/Now option * Update with Apply Changes * Show name instead of value for dynamic values * Add comment about supporting useCurrentDateTime * Cypress Tests: Date Parameters * Cypress Tests: Date Range Parameters * Don't put null params in the url * Add workaround comments to Cypress tests Co-Authored-By: Ran Byron <[email protected]> * Fix Dynamic Value as default for global parameters * Update Back to Static Value * Add isValid to value on Date and DateRange inputs * CR suggestions * Fix Back to Static Value for Dates * Update Dynamic Value Styling * Fix failing Date tests * Fix selectedDynamicValue * Parameter spec: Remove date range clickThrough * Add transition * Fix failing Cypress tests * Back with 'width: auto' * Check value is valid on Back to Static value * CR * Update Date Range width
- Loading branch information
1 parent
03732e1
commit 01336b8
Showing
21 changed files
with
983 additions
and
367 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
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.