forked from RocketChat/Apps.Salesforce.LiveAgent
-
Notifications
You must be signed in to change notification settings - Fork 1
Cws 1256 reset app timer #71
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
Closed
Closed
Changes from 4 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
2157663
Use optional chaining
c5e53ac
Update executeOnRoomUserTyping params to include IModify param
ec0eb8b
Refactor TimeoutHelper file into smaller functions, export app timer …
2a6f0bb
Update OnUserTypingHandler to reset app timer when user types
acf28df
Ensure modifier calls finish on message extender after adding timeout…
6fa8ab7
Update package.json to use apps-engine branch
6b3ed0f
change apps-engine dependency to point to hash instead of branch
6d8cef0
Update app.json
e4d1e0a
Update lockfile...
b33a59a
Update lockfile
0380e65
Update app.json
702006e
Prevent widget timer from ending session if handler is set to 'app'
67166d9
Revert refactoring of TimeoutHelper, add resetAppTimeout fn
314864b
Update app.json
6ed32bf
Use resetAppTimeout fn in OnUserTypingHandler
97201c6
Use apss-engine commit hash
d791362
Add sendLCMessage to OnUserTypingHandler
b06a18a
Send message on user typing to reset widget timer
6e60ce7
Send messages on user typing in order to instruct timeout reset
20623d3
Update sender for timeout config
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@csmith14 Were you able to test these changes?
As far as I know,
setTimeoutdoes not work in the RC Apps.And also using
allowTimeoutReset, anduserStoppedTypingTimeoutas a condition won't work here because in the real world this function will be called for multiple chat/user. So callback for one chat will override the flag for other chats.