Icinga / Icinga/icingadb-web

Time filters should use a date picker

Open
#792 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.