Skip to content

Commit 706dcd7

Browse files
authored
Support contentless activity in livestream (#5430)
* Upgrade tests to html2 * Support regretting a livestream * More comments * Move to another folder * Add livestream with attachments test * Add screenshots * Fix tests * Don't show PNGs * Fix message activity should remove typing indicator * Fix tests * Upgrade a test * Upgrade a test * Rename * Upgrade a test * Remove upgraded test * Upgrade a test * Upgrade the last test * Use emulator * Use emulator * Add test for batched activities * Add test for typing indicator and livestream simultaneously * Add tests * Add useReduceActivities * Supports typing from multiple livestreams * Fix test * Add test * Upgrade tests * Move to another folder * Add test * Rename to contentless * Remove upgraded test * Fix ESLint * Fix flaky tests * Add test * Remove todo * Add test * Add snapshot * Add decorator * Update docs * Typo * Clarity * Revert unneeded change * Allow `undefinedable` * Fix activity without text but attachments * Wordings * Wordings * Add changelog entry * Fix optional channelData * Upgrade tests * Add FAQs * Wordings * Use URLSearchParams * Move to unpkg * Should recompute after an element changed
1 parent 8ab050b commit 706dcd7

File tree

194 files changed

+3341
-797
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

194 files changed

+3341
-797
lines changed

.eslintrc.yml

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ parserOptions:
1919
sourceType: module
2020

2121
overrides:
22-
- files:
23-
- '__tests__/**/*.js'
24-
- '*.spec.js'
25-
- '*.test.js'
26-
27-
env:
28-
jest: true
29-
3022
- files:
3123
- 'jest.config.js'
3224
- 'jest.*.config.js'
@@ -85,6 +77,24 @@ overrides:
8577
# Shorthanding if-condition with && and ||.
8678
'@typescript-eslint/no-unused-expressions': off
8779

80+
- files:
81+
- '__tests__/**/*.js'
82+
- '**/*.spec.js'
83+
- '**/*.spec.jsx'
84+
- '**/*.spec.ts'
85+
- '**/*.spec.tsx'
86+
- '**/*.test.js'
87+
- '**/*.test.jsx'
88+
- '**/*.test.ts'
89+
- '**/*.test.tsx'
90+
91+
env:
92+
jest: true
93+
94+
rules:
95+
'@typescript-eslint/no-require-imports': off
96+
no-magic-numbers: off
97+
8898
rules:
8999
# Only list rules that are not in *:recommended set
90100
# If rules are set to disable the one in *:recommended, please elaborate the reason

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
8282
- Added dedicated loading animation for messages in preparing state for Fluent theme, in PR [#5423](https://github.com/microsoft/BotFramework-WebChat/pull/5423), by [@OEvgeny](https://github.com/OEvgeny)
8383
- Resolved [#2661](https://github.com/microsoft/BotFramework-WebChat/issues/2661) and [#5352](https://github.com/microsoft/BotFramework-WebChat/issues/5352). Added speech recognition continuous mode with barge-in support, in PR [#5426](https://github.com/microsoft/BotFramework-WebChat/pull/5426), by [@RushikeshGavali](https://github.com/RushikeshGavali) and [@compulim](https://github.com/compulim)
8484
- Set `styleOptions.speechRecognitionContinuous` to `true` with a Web Speech API provider with continuous mode support
85+
- Added support of [contentless activity in livestream](https://github.com/microsoft/BotFramework-WebChat/blob/main/docs/LIVESTREAMING.md#scenario-3-interim-activities-with-no-content), in PR [#5430](https://github.com/microsoft/BotFramework-WebChat/pull/5430), by [@compulim](https://github.com/compulim)
8586

8687
### Changed
8788

-26.1 KB
Binary file not shown.
-19.4 KB
Binary file not shown.
-12.9 KB
Binary file not shown.
-12.9 KB
Binary file not shown.
-12.9 KB
Binary file not shown.
-16.7 KB
Binary file not shown.
-10.5 KB
Binary file not shown.
-9.51 KB
Binary file not shown.

0 commit comments

Comments
 (0)