Skip to content

Adds online and offline counts to Group Runners Dashboard

What does this MR do and why?

Implements part of #424789 (closed)

This change adds counters at the top od the group runners dashboard to reach feature parity with the admin runners dashboard.

Technical Notes

Initially I used two variants of the stat as runner_dashboard_stat_offline.vue and runner_dashboard_stat_online.vue, however, I found this to be cumbersome and repetitive, so I collapsed these two components into runner_dashboard_stat_status.vue which does basically the same with less code.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Before After After (mobile)
image image image

How to set up and validate locally

  1. Enable the :runners_dashboard_for_groups feature flag
  2. Visit your group (e.g. http://gdk.test:3000/my-group)
  3. Select Build -> Runners
  4. Select Fleet dashboard (e.g. http://gdk.test:3000/groups/my-group/-/runners/dashboard)
  5. Validate the Online and Offline panels are present, and show the number of runners in your group.

Note: If have not set up clickhouse on your instance you may see an error message, we are addressing this at: #463950.

Related to #424789 (closed)

Edited by Miguel Rincon

Merge request reports