Description of icon
Flex UI
API Reference

WorkerDirectoryTabs

This is an inner container for WorkersDirectory that renders the workers and queues tabs. Can be used to add or remove tabs on that component.


Component children#

KeyComponentConditionAlignDescription
tabsReact component
left
Worker directory tabs. Displays the workers list and search bar in one tab, and the queues list and search bar in another tab.
workersReact component
The specific tab item for the workers list. When clicked this will switch to the tab displaying the list of workers.
workers-containerstyled(FlexBoxColumn)
Wrapper for the workers-input-container, workers-input-field, item-container and specific worker details.
workers-input-containerstyled(div)
This is a wrapper for the search bar.
workers-input-fieldstyled(Input)
start
The search bar displayed above the cards of workers which can be used to search for a specific worker in the list.
WKXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXReact component
Will display once the details of the workers have loaded.
The key of this component is dynamically generated, and will correspond to the worker sid. This item contains the worker avatar, worker name and worker status. This will have one or two transfer buttons if the worker is available. The cold transfer button is always available if the worker is available to take a call, the warm transfer button is only available if the warm transfers setting is enabled.
queuesReact component
The specific tab item for the queues list. When clicked this will switch to the tab displaying the list of queues.
queues-containerstyled(FlexBoxColumn)
Wrapper for the queues-input-container, queues-input-field, item-container and specific queue details.
queues-input-containerstyled(div)
This is a wrapper for the search bar.
queues-input-fieldstyled(Input)
start
The search bar displayed above the cards of queues which can be used to search for a specific queue in the list.
WQXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXQueueItem
Will display once the details of the queues have loaded.
The key of this component is dynamically generated, and will correspond to the queue sid. This item contains the queue avatar and queue name and will have one or two transfer buttons. The cold transfer button is always available, the warm transfer button is only available if this setting is enabled.
directoryReact component
Only displayed if the warm transfers feature is enabled.
The specific tab item for the directory. When clicked this will switch to the tab displaying the directory.
directory-containerstyled(FlexBoxColumn)
This contains the external transfer dialpad.
item-containerstyled(FlexBox)
vertical
Wrapper which will contain either a loading symbol (if worker-item or queue-item is still loading) or will contain each individual worker-item or queue-item.

Static Properties#

NameTypeDescription
ContentDynamicContentStore<WorkerDirectoryTabsProps, WorkerDirectoryTabsChildrenKeys>

Dynamic content store

defaultPropsPartial<WorkerDirectoryTabs.WorkerDirectoryTabsProps>

Default properties

Component Properties#

NameTypeDescriptionOptionalDefault
isWarmTransferEnabledboolean

Whether warm transfer is enabled.

No
hiddenWorkerFilterstring

Extra query filter applied to the query of workers in addition to typed search.

Yes
hiddenQueueFilterstring

DEPRECATED: use queueFilter instead. Extra query filter applied to the query of queues in addition to typed search.

Yes
queueFilterfunction

Predicate function applied for custom queue filtering in addition to typed search.

Yes
themeTheme

Theme

No
taskITask

Task.

Yes
callCall

Call state of the task.

Yes
conferenceConferenceState

Conference state of the task.

Yes
channelDefinitionTaskChannelDefinition

Channel definition of the task.

Yes
conversationConversationState.ConversationState

Conversation state of the task. Present if task is chat-based.

Yes
Rate this page

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.