Time filters should use a date picker
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 81
- Forks
- 33
- Avg merge
- 6d 4h
- Merged PRs (30d)
- 1
Description
Is your feature request related to a problem? Please describe.
Currently when filtering for events that occured at a certain time it is necessary to use the epoch timestamp, e.g. history?before=1688018632
Describe the solution you'd like
The filter option for timestamps within Icinga Web should prompt a date picker, which does the epoch timestamp calculation for the user.
Describe alternatives you've considered
Use a string pattern that recognizes inputs like this: Thu, 29 Jun 2023 08:01:58 GMT
Additional context
Icinga Web 2: 2.11.4
Icinga DB Web: 1.0.2
ref/NC/772370
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
Start by tracing the history filter represented by the history?before= URL and find where timestamp filter inputs are rendered in Icinga Web. Review the existing filter behavior before choosing between a date picker and recognizable date strings; the work is done when users can enter a date through the UI and the resulting filter supplies the correct epoch timestamp.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100