Skip to content

Comments

Add new preset date options to our calendar#24098

Draft
chippison wants to merge 10 commits into5.x-devfrom
dev-19876
Draft

Add new preset date options to our calendar#24098
chippison wants to merge 10 commits into5.x-devfrom
dev-19876

Conversation

@chippison
Copy link
Contributor

@chippison chippison commented Feb 18, 2026

Description

DEV-19876

This will add some preset date options to our current calendar.
The new presets are as follows:

- Today - Last year
- Yesterday - This week (Mon - Today)
- Last 7 days - This month
- Last 30 days - This quarter
- Last 90 days - This year
- Last week (Mon - Sun) - Last month
- Last quarter

Note: Week starts on Monday at Matomo. More details about the presets in DEV-19876

Acceptance Criteria:

  • A preset list of dates is added to the Calendar

  • Each date selected highlights the calendar (same behaviour as current period selectors)

    • Example: Selecting “Last 30 days” highlights that range on the calendar
  • User does not need to click in the date picker/calendar, just click “Apply” to apply selected option

  • “Last week (Mon - Sun)” and “This week (Mon - Today)” have mention to the days included to make it clear which range will be selected

  • Each preset is implemented according to the table in DEV-19876

  • Comparison mode works with these new presets

Checklist

  • [✔] I have understood, reviewed, and tested all AI outputs before use
  • [✔] All AI instructions respect security, IP, and privacy rules

Review

@chippison chippison added this to the 5.8.0 milestone Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant