Skip to content

Update audit events date range filter

Jiaan Louw requested to merge 294029-update-audit-date-range-picker into master

What does this MR do and why?

This MR updates the audit events filter to clarify date range constraints as described in #294029 (closed).

The following key changes are made:

  1. Show days selected using GlDateRangePicker.
  2. Update the filter bar layout:
    • Move order by dropdown next to search input.
    • Update responsive layout for small displays.
  3. Fix date buttons selecting one too many days.
  4. Refactor date buttons spec.

Screenshots or screen recordings

Desktop

Before After
image image

Mobile

Before After
image image
Responsiveness
Kapture_2021-10-18_at_14.23.14

How to set up and validate locally

  1. You need a GitLab Premium license.
  2. View and interact with the audit events filter, shared in:
    • Instance-level [GDK_HOST]/admin/audit_logs
    • Group-level [GDK_HOST]/groups/gitlab-org/-/audit_events
    • Project-level [GDK_HOST]/gitlab-org/gitlab-shell/-/audit_events

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #294029 (closed)

Edited by Jiaan Louw

Merge request reports