Add indicator lights for capture agent status

Description

The capture agent table in Capture / Locations should have indicator lights to improve usability and situational awareness of Opencast system managers and support staff.

As per the Admin UI style guide, Alerts and Indicators:

https://docs.opencast.org/develop/developer/modules/admin-ui/style/alerts-indicators/

Mapping to CA states:

IDLE: Green
SHUTTING_DOWN: Yellow
CAPTURING: Blue
UPLOADING: Blue
ERROR: Yellow
UNKNOWN: Yellow
OFFLINE: Red

Activity

Show:
Stephen Marquard
February 14, 2017, 10:21 PM

Offline status needs attention if there's an upcoming recording. Maybe black is a good option for now, and later we can enhance the UI with an alert for CAs that are offline/unknown/error and have upcoming recordings.

duncan smith
February 15, 2017, 12:16 AM

Screenshot of current implementation attached. Let me know if you'd prefer any of the colours changed.

Lars Kiesow
February 15, 2017, 1:06 AM

Colors are fine. Again, I have no strong feelings except red=error.
But dots and texts are not vertically centered ;-P

duncan smith
February 15, 2017, 1:11 AM

Saw that (the bit on dots and text alignment), and fixed in the PR. I'll upload another screenshot for reference later.

Lars Kiesow
February 15, 2017, 2:36 AM

Sounds good. I took up the pull request review. Let's continue there…

Fixed and reviewed

Assignee

duncan smith

Reporter

Stephen Marquard

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Major