Skip to content

[Feature] Improve the custom time range UI #72

@chatziko

Description

@chatziko

Feature Description

Currently

  • when I select "custom" time range, the "from" and "to" boxes are empty.
  • when empty, logs from the past 24 hours are shown (not sure about this, hard-coded default?)
  • if I change from/to, select "last hour" and then go back to "custom", they are empty again.

Problem/Use Case

Moving in time is very common, it should be made as simple as possible.

Proposed Solution

I think there is a lot of room for UI improvement. For instance:

  • When I select "custom", the boxes could be pre-populated with the previous time range. So if I come from "last 24 hours", the "from" field could be set to one day before now.
  • This way if I want to see the logs of past 2 hours, I can select "last hour", then "custom" the just change the hour field, nothing else.
  • If I set from/to explicitly, they should not reset after moving. For instance I can set a past range as "custom" and quickly move between "past" and "current".

Alternatives Considered

Implementation Details (Optional)

Priority

  • Critical - Blocking my usage of LogWard
  • High - Would significantly improve my workflow
  • Medium - Nice to have
  • Low - Minor enhancement

Target Users

  • DevOps Engineers
  • Developers
  • Security/SIEM Users
  • System Administrators
  • All Users

Additional Context

Contribution

  • I would like to work on implementing this feature

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions