Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
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 @@ -216,6 +216,7 @@ Notes: web developers are advised to use [`~` (tilde range)](https://github.com/
# Removed

- Deprecating `disabled` props and `useDisabled` hook in favor of new `uiState` props and `useUIState` hook, in PR [#5276](https://github.com/microsoft/BotFramework-WebChat/pull/5276), by [@compulim](https://github.com/compulim)
- Deleted `ActivitListenerComposer` composer and `useUpsertedActivities` hook in PR [#5467](https://github.com/microsoft/BotFramework-WebChat/pull/5467) by [@pranavjoshi001](https://github.com/pranavjoshi001)

## [4.18.0] - 2024-07-10

Expand Down
23 changes: 10 additions & 13 deletions packages/api/src/hooks/Composer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import normalizeStyleOptions from '../normalizeStyleOptions';
import patchStyleOptionsFromDeprecatedProps from '../patchStyleOptionsFromDeprecatedProps';
import ActivityAcknowledgementComposer from '../providers/ActivityAcknowledgement/ActivityAcknowledgementComposer';
import ActivityKeyerComposer from '../providers/ActivityKeyer/ActivityKeyerComposer';
import ActivityListenerComposer from '../providers/ActivityListener/ActivityListenerComposer';
import ActivitySendStatusComposer from '../providers/ActivitySendStatus/ActivitySendStatusComposer';
import ActivitySendStatusTelemetryComposer from '../providers/ActivitySendStatusTelemetry/ActivitySendStatusTelemetryComposer';
import ActivityTypingComposer from '../providers/ActivityTyping/ActivityTypingComposer';
Expand Down Expand Up @@ -625,18 +624,16 @@ const ComposerCore = ({

return (
<WebChatAPIContext.Provider value={context}>
<ActivityListenerComposer>
<ActivitySendStatusComposer>
<ActivityTypingComposer>
<SendBoxMiddlewareProvider middleware={sendBoxMiddleware || EMPTY_ARRAY}>
<SendBoxToolbarMiddlewareProvider middleware={sendBoxToolbarMiddleware || EMPTY_ARRAY}>
{typeof children === 'function' ? children(context) : children}
<ActivitySendStatusTelemetryComposer />
</SendBoxToolbarMiddlewareProvider>
</SendBoxMiddlewareProvider>
</ActivityTypingComposer>
</ActivitySendStatusComposer>
</ActivityListenerComposer>
<ActivitySendStatusComposer>
<ActivityTypingComposer>
<SendBoxMiddlewareProvider middleware={sendBoxMiddleware || EMPTY_ARRAY}>
<SendBoxToolbarMiddlewareProvider middleware={sendBoxToolbarMiddleware || EMPTY_ARRAY}>
{typeof children === 'function' ? children(context) : children}
<ActivitySendStatusTelemetryComposer />
</SendBoxToolbarMiddlewareProvider>
</SendBoxMiddlewareProvider>
</ActivityTypingComposer>
</ActivitySendStatusComposer>
{onTelemetry && <Tracker />}
</WebChatAPIContext.Provider>
);
Expand Down

This file was deleted.

16 changes: 0 additions & 16 deletions packages/api/src/providers/ActivityListener/private/Context.tsx

This file was deleted.

This file was deleted.

This file was deleted.

Loading