Skip to content

Commit

Permalink
Add activity timestamp to breaking changes (#2964)
Browse files Browse the repository at this point in the history
* Add breaking changes

* Update entry

* Update CHANGELOG.md

Co-Authored-By: Corina <[email protected]>

Co-authored-by: Corina <[email protected]>
  • Loading branch information
compulim and corinagum authored Feb 28, 2020
1 parent b1ffc4b commit 03b4f52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Customizable typing indicator: data and hook related to typing indicator are being revamped in PR [#2912](https://github.com/microsoft/BotFramework-WebChat/pull/2912)
- `lastTypingAt` reducer is deprecated, use `typing` instead. The newer reducer contains typing indicator from the user
- `useLastTypingAt()` hook is deprecated, use `useActiveTyping(duration?: number)` instead. For all typing information, pass `Infinity` to `duration` argument
- Customizable activity status: new `nextVisibleActivity` to control activity status visibility
- Previously, we use `timestampClassName` to control if the activity should show or hide timestamp. The `timestampClassName` was added as a `class` attribute the DOM element which contains the timestamp
- Today, `activity` and `nextVisibleActivity` are passed to the middleware, so the `activityRendererMiddleware` can decide whether the timestamp should be shown or not. For example, developers can group timestamp based on activity type

### Added

Expand Down

0 comments on commit 03b4f52

Please sign in to comment.