Skip to content

Commit

Permalink
Merge pull request #686 from webitel/feature/sticky-ignore-status
Browse files Browse the repository at this point in the history
feature: sticky_ignore_status added for Inbound queue and Chat inboun…
  • Loading branch information
dlohvinov authored Jun 17, 2024
2 parents a6348c1 + 0880142 commit c9e8609
Show file tree
Hide file tree
Showing 9 changed files with 245 additions and 217 deletions.
445 changes: 229 additions & 216 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/app/locale/en/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ export default {
communications: 'Communication type',
manualDistribution: 'Manual distribution',
lastMessageTimeout: 'Timeout from the last message',
stickyIgnoreStatus: 'Ignore agent status',
processing: {
processing: 'Processing',
enabled: 'Waiting for call result',
Expand Down
1 change: 1 addition & 0 deletions src/app/locale/ru/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,7 @@ export default {
communications: 'Тип связи',
manualDistribution: 'Ручное распределение',
lastMessageTimeout: 'Время ожидания от последнего сообщения',
stickyIgnoreStatus: 'Игнорировать статус оператора',
processing: {
processing: 'Обработка',
enabled: 'Ожидание результата задачи',
Expand Down
1 change: 1 addition & 0 deletions src/app/locale/ua/ua.js
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ export default {
communications: 'Тип зв\'язку',
manualDistribution: 'Ручне розподілення',
lastMessageTimeout: 'Час очікування від останнього повідомлення',
stickyIgnoreStatus: 'Ігнорувати статус оператора',
processing: {
processing: 'Обробка',
enabled: 'Очікування результату задачі',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,14 @@
type="number"
@input="setItemPayloadProp({ prop: 'stickyAgentSec', value: +$event })"
/>
<wt-switcher
v-if="specificControls.stickyIgnoreStatus"
v-show="itemInstance.stickyAgent"
:disabled="disableUserInput"
:label="$t('objects.ccenter.queues.stickyIgnoreStatus')"
:value="itemInstance.payload.stickyIgnoreStatus"
@change="setItemPayloadProp({ prop: 'stickyIgnoreStatus', value: $event })"
/>
<wt-switcher
v-if="specificControls.manualDistribution"
:disabled="disableUserInput"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ const QueueTypeProperties = Object.freeze({
'allowGreetingAgent',
'stickyAgent',
'stickyAgentSec',
'stickyIgnoreStatus',
'autoAnswerTone',
'minOnlineAgents',
'manualDistribution',
Expand Down Expand Up @@ -206,6 +207,7 @@ const QueueTypeProperties = Object.freeze({
'maxIdleDialog',
'stickyAgent',
'stickyAgentSec',
'stickyIgnoreStatus',
'minOnlineAgents',
'manualDistribution',
'lastMessageTimeout',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const chatInboundQueue = () => ({
timeBaseScore: TimeBaseScore.QUEUE, // required
maxWaitTime: 60 * 60, // required
stickyAgentSec: 5,
stickyIgnoreStatus: false,
maxIdleAgent: 60 * 60, // hour
maxIdleClient: 60 * 60, // hour
maxIdleDialog: 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const inboundQueue = () => ({
timeBaseScore: TimeBaseScore.QUEUE, // required
maxWaitTime: 60 * 60, // required
allowGreetingAgent: false,
stickyIgnoreStatus: false,
stickyAgentSec: 5,
maxWaitingSize: 0,
autoAnswerTone: null,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/routing/modules/flow/components/the-flow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
/>
<delete-confirmation-popup
v-show="isDeleteConfirmationPopup"
:delete-count="deleteCount"
:callback="deleteCallback"
:delete-count="deleteCount"
@close="closeDelete"
/>

Expand Down

0 comments on commit c9e8609

Please sign in to comment.