Skip to content

Chat adapter error update#2471

Merged
dmceachernmsft merged 13 commits intomainfrom
dmceachernmsft/chatAdapterError
Oct 31, 2022
Merged

Chat adapter error update#2471
dmceachernmsft merged 13 commits intomainfrom
dmceachernmsft/chatAdapterError

Conversation

@dmceachernmsft
Copy link
Copy Markdown
Member

What

Fixes issue where adapter errors aren't being caught

Why

Issue where sendTypingIndicator errors were not being caught by the adapter.

#2425
https://skype.visualstudio.com/SPOOL/_workitems/edit/3026772

How Tested

Added new unit test to validate the error capture.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 28, 2022

Calling bundle size is not changed.

  • Current size: 5325207
  • Base size: 5325207
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 28, 2022

Chat bundle size is increased❗.

  • Current size: 5442183
  • Base size: 5441888
  • Diff size: 295

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Oct 28, 2022

CallWithChat bundle size is increased❗.

  • Current size: 5712747
  • Base size: 5712452
  • Diff size: 295

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

Comment thread packages/react-composites/package.json Outdated
case 'listReadReceipts': {
return createDecoratedListReadReceipts(chatThreadClient, this._context);
}
case 'sendTypingNotification': {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a unit test for statefulChatThreadClient:
StatefulCallClient.test.ts in the same folder

And there is a test set named 'errors should be reported correctly from Call when'

Would be nice to add this into the test set

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

@dmceachernmsft dmceachernmsft merged commit 4a67078 into main Oct 31, 2022
@dmceachernmsft dmceachernmsft deleted the dmceachernmsft/chatAdapterError branch October 31, 2022 20:11
carocao-msft pushed a commit that referenced this pull request Oct 31, 2022
* add error emitter to typing indicator

* add proxy in stateful client for typingIndicator

* add test

* Change files

* fix name

* Update @internal-react-composites-7cc319fa-75a7-4732-b1fb-a9425738de8d.json

* update composite test script to build first

* add test to stateful suite

* fix spelling...

* remove auto build
carocao-msft added a commit that referenced this pull request Nov 2, 2022
* add drawer to mobile

* Change files

* add drawer to mobile

* Change files

* Require webpack 5 in our lib. Add minimum webpack and typescript versions to storybook. Update `html-to-parser` version (#2428)

Co-authored-by: Prathmesh Prabhu <82062616+prprabhu-ms@users.noreply.github.com>

* Fix `dtmfDialpadPlaceHolderText` spelling and restrict it to beta builds (#2439)

* Add troubleshooting guide error bar to call composite config screen  (#2433)

* add error bar

* Change files

* pr fix

* add drawer to mobile

* Add troubleshooting guide error bar to call composite config screen  (#2433)

* add error bar

* Change files

* pr fix

* add drawer to mobile

* Add troubleshooting guide error bar to call composite config screen  (#2433)

* add error bar

* Change files

* pr fix

* add drawer to mobile

* pr fix

* pr change

* add modal to config screen

* pr change

* Cheery-pick to main: Stable release branch hotfix: Fix camera turning back on when turned off on connecting screen (#2458) (#2460)

* Revert breaking API change in `CallEndedListener` callback (#2464)

* Only export `DeclarativeCallAgent` in beta builds (#2469)

* Chat adapter error update (#2471)

* add error emitter to typing indicator

* add proxy in stateful client for typingIndicator

* add test

* Change files

* fix name

* Update @internal-react-composites-7cc319fa-75a7-4732-b1fb-a9425738de8d.json

* update composite test script to build first

* add test to stateful suite

* fix spelling...

* remove auto build

* 1.4.0 pre-release branch (#2432)

* pr change

* pr fix

* Add webpack 5 support for treeshaking (#2448)

* Add webpack 5 support for treeshaking

* Remove webpack plugin

* Use not deprecated api

Co-authored-by: Nan Jiang <jinan@microsoft.com>

* pr fix

* Change files

* build fix

Co-authored-by: James Burnside <2684369+JamesBurnside@users.noreply.github.com>
Co-authored-by: Prathmesh Prabhu <82062616+prprabhu-ms@users.noreply.github.com>
Co-authored-by: Donald McEachern <94866715+dmceachernmsft@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Porter Nan <jiangnanhello@live.com>
Co-authored-by: Nan Jiang <jinan@microsoft.com>
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