0
Relative date filter: a way to include today in "Past N days"
Source: twentyhq/twenty#30551 · opened by @cassio-groh
Hi! A small one about relative date filters, building on #19739.
Scope & Context
Since #19739, "Past" relative filters cover whole periods before the current one. That makes sense for "last calendar week". The flip side we keep running into is that "Past 7 days" does not include today. A dashboard widget such as "visits in the past 7 days" doesn't show anything from today until tomorrow, and people reading it are surprised.
Current behavior
"Past N days" covers the N full days before today. Our workaround is a filter group with "Past 6 days" OR "This day". It works, but it's not obvious to whoever builds a view or a widget.
Expected behavior
Some way to say "the last N days, including today". For example, an "include the current day/period" option on the Past filter. This is a product call, of course, so we mostly wanted to share the use case.
Scope & Context
Since #19739, "Past" relative filters cover whole periods before the current one. That makes sense for "last calendar week". The flip side we keep running into is that "Past 7 days" does not include today. A dashboard widget such as "visits in the past 7 days" doesn't show anything from today until tomorrow, and people reading it are surprised.
Current behavior
"Past N days" covers the N full days before today. Our workaround is a filter group with "Past 6 days" OR "This day". It works, but it's not obvious to whoever builds a view or a widget.
Expected behavior
Some way to say "the last N days, including today". For example, an "include the current day/period" option on the Past filter. This is a product call, of course, so we mostly wanted to share the use case.
No pledges yet. Be the first to back this.
Comments
Similar requests
Workflow/view filters have no negation (no NOT rule/group) - can't express "not within the last X"
2 votes · 0 comments
Allow changing the display format of system date fields (createdAt and updatedAt)
0 votes · 0 comments
Date picker dropdown does not show the currently displayed month; month/year only visible after clicking the calendar icon
0 votes · 0 comments
Feature request: dashboard-level date range filter, per user
0 votes · 0 comments
Support Configurable Calendar Systems (Jalali / Islamic / Gregorian)
2 votes · 0 comments
No comments yet.