Skip to content
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

chat-core-zendesk: add support for session reinitialization #53

Merged
merged 6 commits into from
Oct 2, 2024

Conversation

popestr
Copy link
Collaborator

@popestr popestr commented Sep 24, 2024

Adds support for restoring a Zendesk agent conversation using the
conversation ID. Requires reinitialization of the Zendesk client, which
leads to a slight bit of extra lag if the first message is sent immediately,
but otherwise everything seems to work as if the page was never
reloaded.

TEST=manual

Used this locally with upcoming chat-headless change to support this
new method, saw expected results across page loads and within the
Zendesk platform.

Adds support for restoring a Zendesk agent conversation using the
conversation ID. Requires reinitialization of the Zendesk client, which
can only be triggered on the first message sent after the new page is
loaded. This leads to a slight bit of extra lag on that first message,
but otherwise everything seems to work as if the page was never
reloaded.

TEST=manual

Used this locally with upcoming chat-headless change to support this new
method, saw expected results across page loads and within the Zendesk platform.
@popestr popestr requested a review from a team as a code owner September 24, 2024 21:04
@popestr popestr merged commit 4e23bc9 into main Oct 2, 2024
8 checks passed
@popestr popestr deleted the dev/reinitialize-session branch October 2, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants