Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
794f8d3
Upgrade avatar tests
compulim Apr 27, 2025
d6e69e4
Refactor RenderingElements
compulim Apr 26, 2025
8740abb
Refactor Sender/StatusGrouping
compulim Apr 27, 2025
2656017
Fix infinite loop
compulim Apr 27, 2025
f4c0dc0
Remove break
compulim Apr 27, 2025
348dace
Fix grouping and remove comment
compulim Apr 27, 2025
5227a1b
Refactor logics to TranscriptActivity
compulim Apr 28, 2025
48449e0
Clean up
compulim Apr 28, 2025
6a51060
Clean up
compulim Apr 28, 2025
b235498
Allow non-standard group name
compulim Apr 28, 2025
23eaad3
Rename
compulim Apr 28, 2025
d9519a7
Fix wrong activityElementMapRef
compulim Apr 28, 2025
4b70c90
Clean up
compulim Apr 28, 2025
21cf051
FIx livestream
compulim Apr 28, 2025
6a8307f
Fix performance
compulim Apr 29, 2025
c742c98
Move to useRenderingActivityKeys
compulim Apr 30, 2025
0eecf31
Remove obsoleted ActivityTree context
compulim Apr 30, 2025
2ee4cb0
Move ActivityTree down the tree
compulim Apr 30, 2025
e297eaa
Add new <TranscriptDOMComposer>
compulim Apr 30, 2025
c1c46f9
Rename composer
compulim Apr 30, 2025
847a6d8
Refactor createContextAndHook
compulim Apr 30, 2025
9514adc
Clean up
compulim Apr 30, 2025
f218eaa
Clean up
compulim Apr 30, 2025
4b69718
Clean up
compulim Apr 30, 2025
9c5bf79
Refactor to ActivitiesWithGroupContainer
compulim Apr 30, 2025
1ba6658
Simplify
compulim Apr 30, 2025
ddb2325
Simplify
compulim Apr 30, 2025
aa7b452
Clean up error message
compulim Apr 30, 2025
4a5a2a2
Prepare for group container middleware
compulim Apr 30, 2025
8fb24e2
Add activity grouping middleware
compulim May 1, 2025
4f1a71d
Add `useGetRenderActivtiyCallback` instead of exposing `activityWithR…
compulim May 1, 2025
a603f9e
Clean up
compulim May 1, 2025
1deee50
Add groupActivitiesBy
compulim May 1, 2025
fffdf72
Clean up
compulim May 1, 2025
cdf39d9
Add test of disabling sender/status
compulim May 1, 2025
5ef992d
Add tests for groupActivitiesBy
compulim May 1, 2025
312674c
Typo
compulim May 1, 2025
fd06afd
Fix undefined activityGroupingDecorationMiddleware
compulim May 1, 2025
5999311
Fix BasicTranscript should not render if no activities
compulim May 1, 2025
e2ca38d
Fix flaky tests
compulim May 1, 2025
e71ceea
Clean up
compulim May 1, 2025
562510e
Add tests
compulim May 1, 2025
143ddb7
Update label position
compulim May 1, 2025
a2c468e
Move to the unified decorator middleware
compulim May 1, 2025
709bf7e
Ignore errors
compulim May 1, 2025
65f03a7
Fix test
compulim May 1, 2025
c9779d8
Concatenate middleware
compulim May 1, 2025
0113c0b
Add init
compulim May 1, 2025
801341d
Flip the decorator order
compulim May 1, 2025
7b17f44
Flip order
compulim May 1, 2025
39532e7
Flip decorator order
compulim May 1, 2025
6d865fd
Remove commented code
compulim May 2, 2025
574928c
Allow removal of key
compulim May 2, 2025
7a41a23
Allow removal of sender/status
compulim May 2, 2025
0e30abe
Prettier
compulim May 2, 2025
a30f731
Clean up
compulim May 2, 2025
63497af
Sort
compulim May 2, 2025
d4ad893
Add test
compulim May 2, 2025
aea100c
Use valibot
compulim May 2, 2025
2b40c12
Remove as map for simplicity
compulim May 2, 2025
79b3222
Add type
compulim May 2, 2025
4e720e7
Add exports
compulim May 2, 2025
fcb2d8d
Use fat arrow
compulim May 2, 2025
5392372
Simplify
compulim May 2, 2025
43c7225
Add priority to DecoratorComposer
compulim May 2, 2025
94338d6
Add built-in
compulim May 3, 2025
2803a17
Rectify undefined groupActivities
compulim May 3, 2025
764222c
Add internal/LowPriorityDecoratorComposer
compulim May 3, 2025
362e496
Rename decorators
compulim May 3, 2025
9c554e4
Rename to groupingName
compulim May 3, 2025
5480ea6
Move <DecoratorComposer> after Fluent
compulim May 4, 2025
a46e6d3
Wait for scroll stabilize
compulim May 4, 2025
1c5b7b4
Use emulator
compulim May 4, 2025
b5bb84c
Refactor useGroupActivities into its own context
compulim May 4, 2025
0220c91
Run groupActivities recursively
compulim May 4, 2025
cbc4e68
Nested grouping
compulim May 4, 2025
ab19931
Nested grouping
compulim May 4, 2025
ccaf6d6
Allow middleware to return undefined
compulim May 4, 2025
d8bbc2b
Add docs
compulim May 4, 2025
f58d954
Remove unneeded coalesce
compulim May 5, 2025
1130f72
Add readonly
compulim May 5, 2025
5266a60
Move default middleware
compulim May 5, 2025
e060094
Add entry
compulim May 5, 2025
f156418
Allow middleware to opt out after setup
compulim May 5, 2025
d3e7378
Verbosity on entry
compulim May 5, 2025
1f0022c
Clean up
compulim May 5, 2025
022433e
Update test
compulim May 5, 2025
407e855
Fix flaky
compulim May 5, 2025
127984c
Use newer version of groupActivitiesMiddleware
compulim May 5, 2025
d99c642
Clean up
compulim May 5, 2025
ce93c46
Use <DecoratorComposer>
compulim May 5, 2025
affb969
Rename types
compulim May 5, 2025
5970105
Sort
compulim May 5, 2025
ca34ef8
Sort
compulim May 5, 2025
1a23fb6
Style
compulim May 5, 2025
4492186
Merge branch 'main' into feat-multi-dimension-grouping
compulim May 5, 2025
907a74c
Merge branch 'main' into feat-multi-dimension-grouping
OEvgeny May 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
- Please refer to PR [#5330](https://github.com/microsoft/BotFramework-WebChat/pull/5330) for details
- HTML sanitizer is moved from `renderMarkdown` to HTML content transformer middleware, please refer to PR [#5338](https://github.com/microsoft/BotFramework-WebChat/pull/5338)
- If you customized `renderMarkdown` with a custom HTML sanitizer, please move the HTML sanitizer to the new HTML content transformer middleware
- `useGroupActivities` hook is being deprecated in favor of the `useGroupActivitiesByName` hook. The hook will be removed on or after 2027-05-04

### Added

Expand Down Expand Up @@ -86,6 +87,10 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
- Added sliding dots typing indicator in Fluent theme, in PR [#5447](https://github.com/microsoft/BotFramework-WebChat/pull/5447) and PR [#5448](https://github.com/microsoft/BotFramework-WebChat/pull/5448), by [@compulim](https://github.com/compulim)
- (Experimental) Add an ability to pass `completion` prop into Fluent send box and expose the component, in PR [#5466](https://github.com/microsoft/BotFramework-WebChat/pull/5466), by [@OEvgeny](https://github.com/OEvgeny)
- Added feedback form for like/dislike button when `feedbackActionsPlacement` is `"activity-actions"`, in PR [#5460](https://github.com/microsoft/BotFramework-WebChat/pull/5460), PR [#5469](https://github.com/microsoft/BotFramework-WebChat/pull/5469), and PR [5470](https://github.com/microsoft/BotFramework-WebChat/pull/5470) by [@lexi-taylor](https://github.com/lexi-taylor) and [@OEvgeny](https://github.com/OEvgeny)
- Added multi-dimensional grouping, `styleOptions.groupActivitiesBy`, and `useGroupActivitiesByName` hook, in PR [#5471](https://github.com/microsoft/BotFramework-WebChat/pull/5471), by [@compulim](https://github.com/compulim)
- Existing behavior will be kept and activities will be grouped by `sender` followed by `status`
- `useGroupActivitiesByName` is favored over the existing `useGroupActivities` hook for performance reason
- Middleware which support the new grouping name init argument should only compute the grouping if they match the grouping name, or the grouping name is not specified, otherwise, should do nothing and call the downstream middleware

### Changed

Expand Down
347 changes: 0 additions & 347 deletions __tests__/customizableAvatar.js

This file was deleted.

Loading
Loading