-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
avoid duplicate message fetching and rendering (#43)
* avoid duplicate message fetching and rendering. Prevents duplicate error messages from being fetched on the initial load. Does not fetch initial message for the chat pop up if the popup is hidden TEST=manual ran locally, verified this functionality. Change-Id: Idca1a37622ccc6a362681a8c4f9f7c9994f9fa58 * use state to manage rendering of chat panel in pop up. Also use seperate function for initial message error to enseure that duplicate messages are not sent Change-Id: Icf571759ae15a0a3ed68756c87b518c141011520 * Remove fixes for duplicate error message. That will be handled in a seperate PR Change-Id: I8e98466cd9284241b3f124f946e58ee86d7b4b54 * undo name change for defaultHandleApiError Change-Id: I83e34c5e2cc945df59c4a94cca9618e3b164053c
- Loading branch information
Showing
6 changed files
with
51 additions
and
18 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@yext/chat-ui-react", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "A library of React Components for powering Yext Chat integrations.", | ||
"author": "[email protected]", | ||
"main": "./lib/commonjs/src/index.js", | ||
|
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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