Skip to content

Fixing activityMiddleware in user-highlighting sample#3671

Merged
amal-khalaf merged 4 commits intomicrosoft:masterfrom
amal-khalaf:amal/sample_fix_0.1
Jan 21, 2021
Merged

Fixing activityMiddleware in user-highlighting sample#3671
amal-khalaf merged 4 commits intomicrosoft:masterfrom
amal-khalaf:amal/sample_fix_0.1

Conversation

@amal-khalaf
Copy link
Copy Markdown

@amal-khalaf amal-khalaf commented Jan 15, 2021

Fixes #

Changelog Entry

Fixes #3434. Dispatched event, postBack, or messageBack + activityMiddleware causes fatal error, by @amal-khalaf in PR #xxx

Description

Due to a breaking change in Web Chat v4.10. WebChat custom-components/c.user-highlighting sample was throwing TypeError

  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@@ -51,15 +51,15 @@ Next, create the `activityMiddleware` which will be passed into the bot. We will
<!-- prettier-ignore-start -->
```js
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.

nitpick

```jsx

Copy link
Copy Markdown
Contributor

@corinagum corinagum left a comment

Choose a reason for hiding this comment

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

LGTM!

@corinagum
Copy link
Copy Markdown
Contributor

Rerunning failed tests

@amal-khalaf amal-khalaf merged commit 0987a5d into microsoft:master Jan 21, 2021
@compulim compulim mentioned this pull request Mar 2, 2021
52 tasks
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.

Dispatched event, postBack, or messageBack + activityMiddleware causes fatal error

3 participants