You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to create filters for "stale" or "fresh" issues using Github's created: and updated: filters. Github does not allow relative durations but require a ISO_8601 date (with optional additional timestamp) docs.
Due to the requirement of having an absolute timestamp, it's not possible to create a filter that shows PRs created in the last week, or older than a month, etc.
Describe the solution you'd like
Filters are passed through Go's template engine, "now" is provided, along with a duration parsing method. An example could be something like now, date, and dateModify from slim-sprig which would theoretically enable something like this:
- title: Stale PRsfilters: >- is:open review-requested:@me updated:<={{ now | date_modify "-30d" | date "2006-01-02" }}
I imagine an edge case with a solution like this is the filters would need to be reevaluted during every refetchIntervalMinutes and not computed on dashboard inititialization.
Describe alternatives you've considered
I'm not aware of this being feasible beyond maybe automating the date adjustments in the config.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I would like to create filters for "stale" or "fresh" issues using Github's
created:
andupdated:
filters. Github does not allow relative durations but require a ISO_8601 date (with optional additional timestamp) docs.Due to the requirement of having an absolute timestamp, it's not possible to create a filter that shows PRs created in the last week, or older than a month, etc.
Describe the solution you'd like
Filters are passed through Go's template engine, "now" is provided, along with a duration parsing method. An example could be something like
now
,date
, anddateModify
from slim-sprig which would theoretically enable something like this:I imagine an edge case with a solution like this is the filters would need to be reevaluted during every
refetchIntervalMinutes
and not computed on dashboard inititialization.Describe alternatives you've considered
I'm not aware of this being feasible beyond maybe automating the date adjustments in the config.
Additional context
N/A
The text was updated successfully, but these errors were encountered: