Components

TeamsView

<TeamsView {...TeamsView.TeamsViewProps} />

This renders teams page.

Component children

The following table contains a list of children.
Key Condition Type Align Description
agents-table div Wrapper for the agent's filter, data table (`WorkersDataTable` component) and filter results
task-canvas Visible only if a task is selected React component Wrapper for `TaskCanvas` component. Displays the `TaskCanvas` component for the selected task
worker-canvas Visible only if a worker is selected WorkerCanvas WorkerCanvas component. Displays the `WorkerCanvas` component for the selected worker
team-filter-panel Visible only if ADVANCED TEAMS VIEW FILTERS flag is enabled and the filter button (located at the top right of the agents table) has been clicked React component Team filter panel. Displays a panel to filter agents based on activity or a custom filter

Members

DynamicContentStore.<TeamsView.TeamsViewProps>

# static readonly Content

Dynamic content store
Partial.<TeamsView.TeamsViewProps>

# static readonly defaultProps

Default properties
"IN" | "NOT_IN" | "CONTAINS"

# static exports.FilterConditions

Filter condition
Properties:
Name Type Description
IN "IN"
NOT_IN "NOT_IN"
CONTAINS "CONTAINS"
"teams-view-search" | "teams-view-filter"

# static exports.FiltersType

The type of filters on teams view
Properties:
Name Type Description
search "teams-view-search"
filter "teams-view-filter"

Type Definitions

# ActiveFilter

Active filter
Properties:
Name Type Description
name string name of the field to filter against
condition TeamsView.FilterConditions condition to use for the filter
values Array.<string> | string value or an array of values to filter

# FilterDefinitionFactory()

Object

# FiltersState

Filters state
Properties:
Name Type Attributes Description
key ActiveFilters <optional>
active filters by key
TeamsView.TeamsViewProps

# TeamsViewChildrenProps

Properties:
Name Type Attributes Description
appliedFilters ActiveFilters <optional>
Represents applied filters.
filters Array.<FiltersList.FilterDefinition> <optional>
List of filters .
hiddenFilter ActiveFilter | Array.<ActiveFilter> | string <optional>
Hidden filter definition.
monitoredTaskSid string <optional>
Represents current monitoring task.
stickyWorker SupervisorState.SupervisorWorkerState <optional>
Represents selected worker.
workers Array.<SupervisorState.SupervisorWorkerState> <optional>
Represents list of workers.
route RouteComponentProps.<TeamsView.TeamsViewRouteParams> <optional>
Represents route params.
TeamsView.TeamsViewProps

# TeamsViewProps

Properties of Teams view.
Properties:
Name Type Attributes Description
route RouteComponentProps.<TeamsView.TeamsViewRouteParams> <optional>
Represents route params.
filters Array.<(FiltersList.FilterDefinition|TeamsView.FilterDefinitionFactory)> <optional>
List of filters or filterFactories
hiddenFilter ActiveFilter | Array.<ActiveFilter> | string <optional>
Hidden filter definition

# TeamsViewRouteParams

Properties of routes in teams view.
Properties:
Name Type Attributes Description
resources "tasks" | "workers" <optional>
Represents if task or worker is part of route resource.
sid string <optional>
Represents the indentification of the task or worker