Skip to content

Commit d92f9fb

Browse files
authored
feat: fold activity decorator into part grouping (#5608)
* Fold Activity Decorator into Part Grouping Decorator * Refactor Part Grouping Decorator * Extract shared styles to variables 1/x * More variables 2/x * Cleanup 3/3 * Final touches * Changelog * Fix tests * Achievements
1 parent 29fde4f commit d92f9fb

File tree

8 files changed

+491
-545
lines changed

8 files changed

+491
-545
lines changed

ACHIEVEMENTS.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,25 @@ A curated list of major achievements by the Web Chat team. This document celebra
1717

1818
## 🧱 Architecture & Core Systems
1919

20+
### 🌐 ES Modules Browser Build
21+
22+
**Goal:** Ship first-class `<script type="module">` bundles for modern browsers.
23+
**By:** [@compulim](https://github.com/compulim) in [PR #5592](https://github.com/microsoft/BotFramework-WebChat/pull/5592), [#5593](https://github.com/microsoft/BotFramework-WebChat/pull/5593), [#5595](https://github.com/microsoft/BotFramework-WebChat/pull/5595), [#5600](https://github.com/microsoft/BotFramework-WebChat/pull/5600), [#5602](https://github.com/microsoft/BotFramework-WebChat/pull/5602)
24+
25+
- Delivered browser-ready ES module builds with vendor chunking for optimal caching.
26+
- Introduced new export entries and reworked external API.
27+
- Added documentation for all available Web Chat inclusion options.
28+
29+
### 🧠 Part Grouping for Chain-of-Thought
30+
31+
**Goal:** Organize multi-part reasoning flows into collapsible groups within the transcript.
32+
**By:** [@OEvgeny](https://github.com/OEvgeny) in [PR #5553](https://github.com/microsoft/BotFramework-WebChat/pull/5553), [#5585](https://github.com/microsoft/BotFramework-WebChat/pull/5585), [#5590](https://github.com/microsoft/BotFramework-WebChat/pull/5590), [#5608](https://github.com/microsoft/BotFramework-WebChat/pull/5608)
33+
34+
- Added logical grouping and context so activities can self-organize via `Message` entity metadata.
35+
- Introduced a way to render grouped activities and group-aware focus management to keep grouped conversations accessible.
36+
- Reworked fluent-theme approach to decorating activities.
37+
- Extended activity ordering to honor entity `position` fields when rendering grouped messages.
38+
2039
### 🛠️ Migration to `micromark`
2140

2241
**Goal:** Replace `markdown-it` with a modern and extensible markdown parser.
@@ -139,15 +158,14 @@ A curated list of major achievements by the Web Chat team. This document celebra
139158

140159
## 🚀 Performance & Developer Experience
141160

142-
143161
### 🧩 Introduction of PolyMiddleware
144162

145163
**Goal:** Enable composable, reusable, and unified way for managing middleware.
146164
**By:** [@compulim](https://github.com/compulim) in [PR #5515](https://github.com/microsoft/BotFramework-WebChat/pull/5515), [#5566](https://github.com/microsoft/BotFramework-WebChat/pull/5566)
147165

148166
- Allows multiple middleware to be composed and applied from a single place.
149167
- Simplifies extension, testing, and maintenance of middleware logic.
150-
- Lays groundwork for Web Chat becomoming an UI orchestration.
168+
- Lays groundwork for Web Chat becoming a UI orchestration layer.
151169

152170
### 🧠 Memoization & Hook Optimizations
153171

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
121121
- `@msinternal/botframework-webchat-react-hooks` for helpers for React hooks
122122
- Added link sanitization and ESLint rules, in PR [#5564](https://github.com/microsoft/BotFramework-WebChat/pull/5564), by [@compulim](https://github.com/compulim)
123123
- Added blob URL sanitization and ESLint rules, in PR [#5568](https://github.com/microsoft/BotFramework-WebChat/pull/5568), by [@compulim](https://github.com/compulim)
124-
- Added visual message grouping following the `isPartOf` property of the `Message` entity, in PR [#5553](https://github.com/microsoft/BotFramework-WebChat/pull/5553), in PR [#5585](https://github.com/microsoft/BotFramework-WebChat/pull/5585), in PR [#5590](https://github.com/microsoft/BotFramework-WebChat/pull/5590), by [@OEvgeny](https://github.com/OEvgeny)
124+
- Added visual message grouping following the `isPartOf` property of the `Message` entity, in PR [#5553](https://github.com/microsoft/BotFramework-WebChat/pull/5553), in PR [#5585](https://github.com/microsoft/BotFramework-WebChat/pull/5585), in PR [#5590](https://github.com/microsoft/BotFramework-WebChat/pull/5590), in PR [#5608](https://github.com/microsoft/BotFramework-WebChat/pull/5608), by [@OEvgeny](https://github.com/OEvgeny)
125125
- The mode is suitable for providing chain-of-thought reasoning
126126
- Added visual indication of `creativeWorkStatus` property in `Message` entity:
127127
- `undefined` - no indicator is shown

packages/fluent-theme/src/components/activity/ActivityDecorator.module.css

Lines changed: 0 additions & 262 deletions
This file was deleted.

packages/fluent-theme/src/components/activity/ActivityDecorator.tsx

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)