diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/action/ActionDefinition.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/action/ActionDefinition.java index 277c8e855..78887fbd3 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/action/ActionDefinition.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/action/ActionDefinition.java @@ -1013,6 +1013,17 @@ public enum ActionDefinition { PageStateDefinitionImpl.MONITORING_RUNNING_EXAM, ActionCategory.STATE_FILTER), + MONITOR_EXAM_HIDE_READY_CONNECTION( + new LocTextKey("sebserver.monitoring.exam.connection.action.hide.ready"), + ImageIcon.TOGGLE_OFF, + PageStateDefinitionImpl.MONITORING_RUNNING_EXAM, + ActionCategory.STATE_FILTER), + MONITOR_EXAM_SHOW_READY_CONNECTION( + new LocTextKey("sebserver.monitoring.exam.connection.action.show.ready"), + ImageIcon.TOGGLE_ON, + PageStateDefinitionImpl.MONITORING_RUNNING_EXAM, + ActionCategory.STATE_FILTER), + MONITOR_EXAM_HIDE_ACTIVE_CONNECTION( new LocTextKey("sebserver.monitoring.exam.connection.action.hide.active"), ImageIcon.TOGGLE_OFF, diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/MonitoringRunningExam.java b/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/MonitoringRunningExam.java index b5c7a6583..b86543322 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/MonitoringRunningExam.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/content/monitoring/MonitoringRunningExam.java @@ -439,6 +439,14 @@ private FullPageMonitoringGUIUpdate createFilterActions( ConnectionStatus.CONNECTION_REQUESTED, ActionDefinition.MONITOR_EXAM_SHOW_REQUESTED_CONNECTION, ActionDefinition.MONITOR_EXAM_HIDE_REQUESTED_CONNECTION); + addFilterAction( + monitoringStatus, + statusFilterGUIUpdate, + actionBuilder, + clientTable, + ConnectionStatus.READY, + ActionDefinition.MONITOR_EXAM_SHOW_READY_CONNECTION, + ActionDefinition.MONITOR_EXAM_HIDE_READY_CONNECTION); addFilterAction( monitoringStatus, statusFilterGUIUpdate, diff --git a/src/main/resources/messages.properties b/src/main/resources/messages.properties index 2686e59bf..963d99375 100644 --- a/src/main/resources/messages.properties +++ b/src/main/resources/messages.properties @@ -2326,8 +2326,10 @@ sebserver.monitoring.exam.connection.action.instruction.lock.confirm=Are you sur sebserver.monitoring.exam.connection.action.instruction.disable.selected.confirm=Are you sure to disable all selected SEB client connections? sebserver.monitoring.exam.connection.action.instruction.disable.all.confirm=Are you sure to disable all active SEB client connections? sebserver.monitoring.exam.connection.action.disable=Mark As Canceled -sebserver.monitoring.exam.connection.action.hide.requested=Hide Requested ( {0} ) -sebserver.monitoring.exam.connection.action.show.requested=Show Requested ( {0} ) +sebserver.monitoring.exam.connection.action.hide.requested=Hide Connecting ( {0} ) +sebserver.monitoring.exam.connection.action.show.requested=Show Connecting ( {0} ) +sebserver.monitoring.exam.connection.action.hide.ready=Hide Ready ( {0} ) +sebserver.monitoring.exam.connection.action.show.ready=Show Ready ( {0} ) sebserver.monitoring.exam.connection.action.hide.active=Hide Active ( {0} ) sebserver.monitoring.exam.connection.action.show.active=Show Active ( {0} ) sebserver.monitoring.exam.connection.action.hide.closed=Hide Closed ( {0} )