redash
redash copied to clipboard
Additional Date Ranges for DateRangeParameter
What type of PR is this?
- [x] Refactor
- [ ] Feature
- [ ] Bug Fix
- [ ] New Query Runner (Data Source)
- [ ] New Alert Destination
- [ ] Other
Description
Additional dynamic date ranges for time-based filtering using the DateRangeParameter component.
How is this tested?
- [ ] Unit tests (pytest, jest)
- [ ] E2E Tests (Cypress)
- [x] Manually
- [ ] N/A
Created new Date Range parameter with new query
Related Tickets & Documents
Mobile & Desktop Screenshots/Recordings (if there are UI changes)
Thank you for your contribution. But this solution is not a universal one. I can provide you with an idea to re-develop a relative time component, or add a relative time component based on the existing one. Users can customize this relative time component. For example, Last xx days, months or years.
So I suggest not to merge this branch to master for the time being. 😁
I can provide you with an idea to re-develop a relative time component, or add a relative time component based on the existing one.
That sounds like the better approach. :smile: