forked from RocketChat/Apps.Salesforce.LiveAgent
-
Notifications
You must be signed in to change notification settings - Fork 1
[FIX] Fixed Messages and Added SNS Events for Closing Session after Escalation. #75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
087f3f8
Fixed messages and added sns events for close cases after escalation.
AlexanderKanakis 1952726
Additonal close case messages and events
AlexanderKanakis 919cd3f
minor fix
AlexanderKanakis 65fb208
Added close chat message for livechat user
AlexanderKanakis 97f929f
Minor fix on 'CHAT_CLOSED_BY_UNDEFINED_REASON' event
AlexanderKanakis 9d7adaf
Minor fix on 'CHAT_CLOSED_BY_UNDEFINED_REASON' event
AlexanderKanakis 8bc3541
Fix syntax error in analytics event
AlexanderKanakis 5180e92
Created more detailed event names
AlexanderKanakis adf04a0
Minor fix for unused parameter in function 'get' of 'AvailabilityEndp…
AlexanderKanakis 9940213
Send events from inside 'handleEndChat function'
AlexanderKanakis 7ca7da3
Ensure we don't send event in the case chat is closed by client
AlexanderKanakis 007ac9c
Added event cases
AlexanderKanakis ed43262
Merge branch 'master' into escalation_on_close_message_fix
AlexanderKanakis 6444101
Added event cases for Agent Status Callback Errors
AlexanderKanakis 2a8046d
Fix Lint
AlexanderKanakis 7db606f
Minor fixes
AlexanderKanakis 21d26ce
Merge branch 'send_independent_close_chat_message' into escalation_on…
AlexanderKanakis fc1d122
Give correct message on chatEndedReason === unavailable
AlexanderKanakis a695f87
Fix minor issues
AlexanderKanakis 864b6c0
Better names for events and closed chat messages
AlexanderKanakis 5cdf3e1
Event fixes
AlexanderKanakis 78da510
Removed client messages for chat closed room description
AlexanderKanakis 3ac7c4a
Revert "Removed client messages for chat closed room description"
AlexanderKanakis 4520dd8
-Untangle end chat client messages from close chat reasons for Admin UI
AlexanderKanakis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| export enum CloseMessages { | ||
| CLOSED_BY_AGENT = 'Chat closed by livechat agent', | ||
| CLOSED_BY_VISITOR = 'Chat closed by visitor', | ||
| CLOSED_DUE_TO_TIMEOUT = 'Chat closed due to timeout', | ||
| LIVEAGENT_SESSION_EXPIRED = 'Liveagent session expired', | ||
| UNKNOWN_ERROR_IN_CHECKING_AGENT_RESPONSE = 'Unknown error occurred while checking for Liveagent chat request', | ||
| LIVEAGENT_DISCONNECTED = 'Liveagent disconnected', | ||
| CHAT_CLOSED_DUE_TO_ERROR_GETTING_SF_MESSAGES = 'Chat closed due to error getting SF messages', | ||
| NO_AGENT_AVAILABLE = 'No agent available', | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.