Skip to content

Conversation

@lluo-yext
Copy link
Contributor

ChatUIReact: Chat bubble remembers user preference when reloading

The last open/close interaction made by the user is stored in local storage if the saveToLocalStorage flag is set in the config.
If this flag is set then the UI will either remain closed or opened depending on its status before the reload, even if there are messages.

J=CLIP-1310
TEST=manual

Deployed locally and unit tested

The last open/close interaction made by the user is stored in local storage if the saveToLocalStorage flag is set in the config.
If this flag is set then the UI will either remain closed or opened depending on its status before the reload, even if there are messages.

J=CLIP-1310
TEST=manual

Deployed locally and unit tested
If saveToLocalStorage flag is set in headless config, save the status of the chat popup window to local storage.
ChatPopUp will read from local storage to determine if it should open or not depending on how the popup was before the reload

J=CLIP-1310
TEST=manual

deployed locally and unit tested
@lluo-yext lluo-yext requested a review from a team as a code owner June 24, 2024 18:51
@lluo-yext lluo-yext merged commit 081a065 into main Jun 28, 2024
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.

3 participants