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-headless: add support for session reinitialization #59

Merged
merged 7 commits into from
Oct 2, 2024

Commits on Sep 25, 2024

  1. chat-headless: add support for session reinitialization

    Adds session state management for the credentials returned by the underlying
    agent client, such that on agent client initialization, the returned credentials
    are saved in session storage. When chat-headless is reloaded and getNextMessage
    is called, the session in the agent client is reinitialized.
    
    Session credentials are cleared any time the client is reset.
    
    TEST=manual,auto
    
    Wrote new unit tests, saw them pass.
    
    Ran local test app with a Zendesk client, saw conversation persisted
    across page refreshes.
    popestr committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    3ecb96d View commit details
    Browse the repository at this point in the history
  2. better initialization

    popestr committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    31181ff View commit details
    Browse the repository at this point in the history
  3. remove test site change

    popestr committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    ead1219 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    31db95c View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. bump version

    popestr committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    94881aa View commit details
    Browse the repository at this point in the history
  2. fix version alignment

    popestr committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    810f389 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    20c9078 View commit details
    Browse the repository at this point in the history