cadence-workflow/cadence-web

Date range picker shows ranges past workflow retention

Closed this issue · 0 comments

The UI should be filtering out these options so that it is not possible to select dates beyond retention period. Currently it shows all possible values.

for example, if workflow retention time is 3 days, it should show:
Last 3 hours
Last 24 hours
Last 3 days
Custom range

instead of:
Last 3 hours
Last 24 hours
Last 3 days
Last 7 days
Last 30 days
Last 3 months
Custom range