Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
7d7adb8
delete `text` from typing activities which are not streaming
Jul 10, 2025
5860d06
add support for reading streaming data in `entities`
Jul 10, 2025
b09797d
Merge branch 'feature/entities-streaming-support' into main
kylerohnmsft Jul 11, 2025
64bdfa8
Merge pull request #1 from kylerohnmsft/main
kylerohnmsft Jul 11, 2025
48b0ea1
Merge pull request #2 from kylerohnmsft/feature/entities-streaming-su…
kylerohnmsft Jul 11, 2025
e680dd4
refactoring to pass existing html2 test cases
Jul 15, 2025
684a78b
minimal implementation of entities livestreaming
Jul 16, 2025
1d569a1
Rewrite code flow to check for streamingData first -- draft version (…
Jul 17, 2025
d5cd926
Change conditionals to be more readable and actually check channelData
Jul 17, 2025
87442e2
handle case of entities being undefined
Jul 17, 2025
c72ad0f
Make channelData optional in entitiesStreamingActivitySchema
Jul 17, 2025
e34df98
make channelData not optional for entitiesStreamingActivitySchema
Jul 17, 2025
211a8a7
change looseObject back to object
Jul 17, 2025
f6596cf
handle entities being undefined again
Jul 17, 2025
3b0da48
clean up logical flow and include more typing
Jul 17, 2025
fcc5512
Removed common data from schemas for reusability
Jul 17, 2025
f881517
read channelData instead of entities
Jul 17, 2025
5f5fe92
remove unnecessary field from StreamingData
Jul 17, 2025
8f01f68
typing+final+text activity returns undefined
Jul 17, 2025
07797eb
further abstraction of schemas
Jul 17, 2025
53980b5
update unit tests
Jul 21, 2025
07e0418
edit changelog
Jul 21, 2025
3d1bfa3
Merge branch 'microsoft:main' into main
kylerohn Jul 21, 2025
0778a90
finish changelog
kylerohn Jul 21, 2025
ed212de
edit docs
kylerohn Jul 21, 2025
1e89aeb
allow for optional channelData in entities streaming schema
Jul 21, 2025
abea4be
Merge branch 'temp'
Aug 4, 2025
0c29c8f
added jsdoc to StreamingData interface
Aug 4, 2025
d335e2e
fix naming issues
Aug 4, 2025
b8a886d
add sample
Aug 4, 2025
5515771
trigger CI
Aug 4, 2025
3f905ad
fix sample
Aug 5, 2025
ef54b41
require type: streaminfo field for streaming data in entities
Aug 5, 2025
5abefa2
fix unit tests to reflect added `entities` field
Aug 5, 2025
145373f
Merge branch 'main' into main
kylerohnmsft Aug 8, 2025
674c80e
Merge branch 'main' into main
MattB-msft Aug 11, 2025
d4315e2
Merge branch 'main' into main
MattB-msft Aug 11, 2025
061ca3a
Merge branch 'main' into main
MattB-msft Aug 11, 2025
2795c34
Merge branch 'main' into main
MattB-msft Aug 12, 2025
3ecf0d1
Merge branch 'main' into main
MattB-msft Aug 13, 2025
7987493
Merge branch 'main' into main
MattB-msft Aug 15, 2025
34db14c
Merge branch 'main' into main
MattB-msft Aug 19, 2025
e32bc42
Merge branch 'main' into main
MattB-msft Aug 21, 2025
b950823
Merge branch 'main' into main
MattB-msft Aug 22, 2025
a7a1665
Use valibot properly
compulim Aug 22, 2025
1cb3115
Verbiage
compulim Aug 22, 2025
b9ad000
Clean up
compulim Aug 22, 2025
ff4d888
Simplify
compulim Aug 22, 2025
4b69274
Revert back to original
compulim Aug 22, 2025
3b75dbb
Merge branch 'main' into main
MattB-msft Aug 22, 2025
067a49f
Revert test and use permutation
compulim Aug 22, 2025
d64d266
Update entry
compulim Aug 22, 2025
fba71c1
Add `injectInto`
compulim Aug 22, 2025
834e621
Clean up
compulim Aug 22, 2025
6f8798d
Clean up
compulim Aug 22, 2025
4ec58af
Add tests
compulim Aug 22, 2025
ad5fd91
Reverting
compulim Aug 22, 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
- Added `disableFileUpload` flag to completelly disable file upload feature, in PR [#5508](https://github.com/microsoft/BotFramework-WebChat/pull/5508), by [@JamesNewbyAtMicrosoft](https://github.com/JamesNewbyAtMicrosoft)
- Deprecated `hideUploadButton` in favor of `disableFileUpload`.
- Updated `BasicSendBoxToolbar` to rely solely on `disableFileUpload`.
- Added support for livestreaming via `entities[type="streaminfo"]` in PR [#5517](https://github.com/microsoft/BotFramework-WebChat/pull/5517) by [@kylerohn](https://github.com/kylerohn) and [@compulim](https://github.com/compulim)

### Changed

Expand Down
18 changes: 18 additions & 0 deletions docs/LIVESTREAMING.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,24 @@ To simplify this documentation, we are using the term "bot" instead of "copilot"

Bot developers would need to implement the livestreaming as outlined in this section. The implementation below will enable livestreaming to both Azure Bot Services and Teams.

> [!NOTE]
>
> Web Chat supports livestreaming data in both `channelData` or `entities[type="streaminfo"]` field and can be used interchangeably. The following code snippet shows the livestream data in `entities` field.
>
> ```json
> {
> "entities": [
> {
> "streamSequence": 1,
> "streamType": "streaming",
> "type": "streaminfo"
> }
> ],
> "text": "...",
> "type": "typing"
> }
> ```

### Scenario 1: Livestream from start to end

> In this example, we assume the bot is livestreaming the following sentence to the user:
Expand Down
Loading
Loading