Skip to content

v0.9.0

  • v0.9.0
  • 6aa7f23
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • v0.9.0
  • 6aa7f23
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@yen-tt yen-tt tagged this 07 May 14:32
- created a new hook, `useSendMessageWithRetries`, that sends a message to the chat API, and perform retries if the API returns a 5xx status code.
- updated `ChatInput` and `MessageSuggestions` component to use the new hook to retry once for failed 5xx responses.
- updated `ChatPanel` to show a retry text next to loading dots ("Error occurred. Retrying")

Will deploy a new minor (0.9.0) once merged

J=CLIP-1189
TEST=manual&auto

see unit tests passed
see that it works as expected in test-site


https://github.com/yext/chat-ui-react/assets/36055303/272ee401-11cc-410e-a048-a3634b063917
Assets 2
Loading