Customizable default for "Include current period" setting on relative date filters
Nobody has claimed this yet.
- Dominant language
- Clojure
- Stars
- 49.3k
- Forks
- 6.8k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 653
Description
What problem will this feature request solve?
Relative date filters (e.g. "Previous 12 months", "Previous 7 days") expose an include-currenttoggle ("Include this X") that controls whether the current, in-progress period is included.
Today this toggle defaults to off, so a "Previous 12 months" filter excludes the current month unless the user
remembers to flip it on for every filter they create.
Some customers find "off" to be the wrong default for their reporting:
If im writing a query for previous X days/weeks/months to me it implies until the current moment in time. Wanting to cut off the most recent incomplete time period seems like an edge case or deliberate action, not a default
There is currently no way to change this default, so it must be set individually on each filter.
Describe the solution you'd like.
An instance level global default, or a user level remembered (per-period-type) setting forinclude-current when creating new relative date filters on questions and dashboards.
How does this feature request impact you?
Customer request. Nice to have that will reduce some friction for builders.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the relative date filter implementation and determine whether the default should be instance-level or user-level, then verify that newly created filters can remember the chosen include-current setting for each period type.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- clojure
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100