diff --git a/change-beta/@azure-communication-react-11ba3922-1ddd-4580-81fc-b5446cc6f02d.json b/change-beta/@azure-communication-react-11ba3922-1ddd-4580-81fc-b5446cc6f02d.json deleted file mode 100644 index 36a0ea87c90..00000000000 --- a/change-beta/@azure-communication-react-11ba3922-1ddd-4580-81fc-b5446cc6f02d.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "improvement", - "workstream": "Governance", - "comment": "As per component governance bump esbuild version", - "packageName": "@azure/communication-react", - "email": "9044372+JoshuaLai@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-6e9ffc1d-2c5a-4cab-ae81-766d581dc33b.json b/change-beta/@azure-communication-react-11ff780a-f45b-4d87-aa95-1ce887a63d91.json similarity index 52% rename from change-beta/@azure-communication-react-6e9ffc1d-2c5a-4cab-ae81-766d581dc33b.json rename to change-beta/@azure-communication-react-11ff780a-f45b-4d87-aa95-1ce887a63d91.json index 5942636aa82..da68bcaaf77 100644 --- a/change-beta/@azure-communication-react-6e9ffc1d-2c5a-4cab-ae81-766d581dc33b.json +++ b/change-beta/@azure-communication-react-11ff780a-f45b-4d87-aa95-1ce887a63d91.json @@ -1,8 +1,8 @@ { "type": "patch", "area": "fix", - "workstream": "A11y", - "comment": "Update aria-level for heading on the config screen", + "workstream": "VideoGallery", + "comment": "Update styles for screenshare loading spinner to better handle long names on mobile and desktop", "packageName": "@azure/communication-react", "email": "dmceachern@microsoft.com", "dependentChangeType": "patch" diff --git a/change-beta/@azure-communication-react-1daf26fa-3871-44d9-ab16-dae3956b4e64.json b/change-beta/@azure-communication-react-1daf26fa-3871-44d9-ab16-dae3956b4e64.json deleted file mode 100644 index e53d8741785..00000000000 --- a/change-beta/@azure-communication-react-1daf26fa-3871-44d9-ab16-dae3956b4e64.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "feature", - "workstream": "Breakout rooms", - "comment": "Change spinner text when loading chat in breakout room", - "packageName": "@azure/communication-react", - "email": "79475487+mgamis-msft@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-2cc1e351-2064-4485-8851-f5209de2dafc.json b/change-beta/@azure-communication-react-2cc1e351-2064-4485-8851-f5209de2dafc.json deleted file mode 100644 index a4d04c1f3bc..00000000000 --- a/change-beta/@azure-communication-react-2cc1e351-2064-4485-8851-f5209de2dafc.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "fix", - "workstream": "A11y", - "comment": "Update Aria items for Participant List and menu items", - "packageName": "@azure/communication-react", - "email": "94866715+dmceachernmsft@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-30587b02-9f12-4a63-b4da-2233507bb692.json b/change-beta/@azure-communication-react-30587b02-9f12-4a63-b4da-2233507bb692.json deleted file mode 100644 index 46ca58d17e4..00000000000 --- a/change-beta/@azure-communication-react-30587b02-9f12-4a63-b4da-2233507bb692.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "fix", - "workstream": "", - "comment": "Fix screenshare button text to be black in dark mode to match fluent dark mode primary button", - "packageName": "@azure/communication-react", - "email": "2684369+JamesBurnside@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-f3a7790e-0c51-4994-852a-e636b2cfd18b.json b/change-beta/@azure-communication-react-3d93404e-3923-46bb-8c8a-e8854a8860db.json similarity index 50% rename from change-beta/@azure-communication-react-f3a7790e-0c51-4994-852a-e636b2cfd18b.json rename to change-beta/@azure-communication-react-3d93404e-3923-46bb-8c8a-e8854a8860db.json index 6a7b0a3a393..5898c4f6cd6 100644 --- a/change-beta/@azure-communication-react-f3a7790e-0c51-4994-852a-e636b2cfd18b.json +++ b/change-beta/@azure-communication-react-3d93404e-3923-46bb-8c8a-e8854a8860db.json @@ -1,8 +1,8 @@ { - "type": "patch", + "type": "minor", "area": "fix", - "workstream": "CallAdapter", - "comment": "Update the Max number of event listeners on a event in the CallAdapter", + "workstream": "Error handling", + "comment": "Add code and subcode to calling errors to help with debugging", "packageName": "@azure/communication-react", "email": "dmceachern@microsoft.com", "dependentChangeType": "patch" diff --git a/change-beta/@azure-communication-react-430704ce-69fc-4b1a-b79d-623307613475.json b/change-beta/@azure-communication-react-430704ce-69fc-4b1a-b79d-623307613475.json deleted file mode 100644 index 07c862392e4..00000000000 --- a/change-beta/@azure-communication-react-430704ce-69fc-4b1a-b79d-623307613475.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "fix", - "workstream": "", - "comment": "In Call Composites do not show You're Muted notification on lobby screen", - "packageName": "@azure/communication-react", - "email": "2684369+JamesBurnside@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-46ac0b3b-36e6-4762-8589-cbd1be81cfa8.json b/change-beta/@azure-communication-react-46ac0b3b-36e6-4762-8589-cbd1be81cfa8.json deleted file mode 100644 index 682a12e9f1e..00000000000 --- a/change-beta/@azure-communication-react-46ac0b3b-36e6-4762-8589-cbd1be81cfa8.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "fix", - "workstream": "", - "comment": "Fix bug where switching camera on iphone may cause stream to freeze for remote participants", - "packageName": "@azure/communication-react", - "email": "2684369+JamesBurnside@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-2f3ade5a-bd02-4488-81b3-420ab631a14d.json b/change-beta/@azure-communication-react-4ebc3bfc-2026-4ee9-8d9d-8c0d80bc05a4.json similarity index 57% rename from change-beta/@azure-communication-react-2f3ade5a-bd02-4488-81b3-420ab631a14d.json rename to change-beta/@azure-communication-react-4ebc3bfc-2026-4ee9-8d9d-8c0d80bc05a4.json index 352d76b2303..648ca275672 100644 --- a/change-beta/@azure-communication-react-2f3ade5a-bd02-4488-81b3-420ab631a14d.json +++ b/change-beta/@azure-communication-react-4ebc3bfc-2026-4ee9-8d9d-8c0d80bc05a4.json @@ -1,8 +1,8 @@ { "type": "patch", "area": "fix", - "workstream": "A11y", - "comment": "Fix control bar button and more button A11y issues, announcing collapsed and expanded state", + "workstream": "Fix bug where microphone error shows twice", + "comment": "Fix bug where microphone error shows twice", "packageName": "@azure/communication-react", "email": "96077406+carocao-msft@users.noreply.github.com", "dependentChangeType": "patch" diff --git a/change-beta/@azure-communication-react-6987416e-10fd-4a7c-9ba8-358fdf373568.json b/change-beta/@azure-communication-react-6987416e-10fd-4a7c-9ba8-358fdf373568.json deleted file mode 100644 index e2cd5ce39db..00000000000 --- a/change-beta/@azure-communication-react-6987416e-10fd-4a7c-9ba8-358fdf373568.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "prerelease", - "area": "feature", - "workstream": "Breakout rooms", - "comment": "Promote breakout rooms feature to GA", - "packageName": "@azure/communication-react", - "email": "79475487+mgamis-msft@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-6ebb0895-7f83-4c53-bb1b-a3dfaa10a46f.json b/change-beta/@azure-communication-react-6ebb0895-7f83-4c53-bb1b-a3dfaa10a46f.json deleted file mode 100644 index dd21abb0260..00000000000 --- a/change-beta/@azure-communication-react-6ebb0895-7f83-4c53-bb1b-a3dfaa10a46f.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "fix", - "workstream": "Breakout rooms", - "comment": "Fix bug where chat thread is stuck on spinner when immediately returning to main meeting from breakout room", - "packageName": "@azure/communication-react", - "email": "79475487+mgamis-msft@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-851a06da-cc21-46b4-a052-77e7cd619044.json b/change-beta/@azure-communication-react-851a06da-cc21-46b4-a052-77e7cd619044.json deleted file mode 100644 index cb7d24b100b..00000000000 --- a/change-beta/@azure-communication-react-851a06da-cc21-46b4-a052-77e7cd619044.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "prerelease", - "area": "feature", - "workstream": "Breakout rooms", - "comment": "Remove breakoutRoomOriginCallId from BreakoutRoomsState api", - "packageName": "@azure/communication-react", - "email": "79475487+mgamis-msft@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-86f15da7-3403-4ee3-b278-18efd3adfc35.json b/change-beta/@azure-communication-react-86f15da7-3403-4ee3-b278-18efd3adfc35.json deleted file mode 100644 index 0a57a98c286..00000000000 --- a/change-beta/@azure-communication-react-86f15da7-3403-4ee3-b278-18efd3adfc35.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "fix", - "workstream": "", - "comment": "Resolve issue where toolbar was not focused when opening formatting options for rich text", - "packageName": "@azure/communication-react", - "email": "palatter@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-a49df63b-0d7d-4769-87ed-145515591a67.json b/change-beta/@azure-communication-react-a49df63b-0d7d-4769-87ed-145515591a67.json deleted file mode 100644 index 1921c6fb4a5..00000000000 --- a/change-beta/@azure-communication-react-a49df63b-0d7d-4769-87ed-145515591a67.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "fix", - "workstream": "Accessibility", - "comment": "Resolve initial focus order when call screen first appears", - "packageName": "@azure/communication-react", - "email": "edwardlee@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-e694b1cf-fb8e-4ef9-ad8e-8eb66ab9dd91.json b/change-beta/@azure-communication-react-e694b1cf-fb8e-4ef9-ad8e-8eb66ab9dd91.json deleted file mode 100644 index 45549286378..00000000000 --- a/change-beta/@azure-communication-react-e694b1cf-fb8e-4ef9-ad8e-8eb66ab9dd91.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "feature", - "workstream": "RTT", - "comment": "Update styling for RTT base on feedback", - "packageName": "@azure/communication-react", - "email": "96077406+carocao-msft@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-efaa1c36-cd40-48ac-8905-e7c88a135523.json b/change-beta/@azure-communication-react-efaa1c36-cd40-48ac-8905-e7c88a135523.json deleted file mode 100644 index c579deaa468..00000000000 --- a/change-beta/@azure-communication-react-efaa1c36-cd40-48ac-8905-e7c88a135523.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "fix", - "workstream": "", - "comment": "Bug Fix: Fix move/close menu not showing on draggable video tile when ctrl+alt+space shortcut is used", - "packageName": "@azure/communication-react", - "email": "2684369+JamesBurnside@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-f26e6271-358d-4a01-9612-2c48e553f7c4.json b/change-beta/@azure-communication-react-f26e6271-358d-4a01-9612-2c48e553f7c4.json deleted file mode 100644 index 14c1658c92f..00000000000 --- a/change-beta/@azure-communication-react-f26e6271-358d-4a01-9612-2c48e553f7c4.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "improvement", - "workstream": "Calling dependency", - "comment": "Update @azure/communication-calling beta version to 1.33.2-beta.1", - "packageName": "@azure/communication-react", - "email": "miguelgamis@microsoft.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-f3564ce7-69c9-4632-86a7-a3463dd49532.json b/change-beta/@azure-communication-react-f3564ce7-69c9-4632-86a7-a3463dd49532.json deleted file mode 100644 index df8845b33c2..00000000000 --- a/change-beta/@azure-communication-react-f3564ce7-69c9-4632-86a7-a3463dd49532.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "type": "patch", - "area": "improvement", - "workstream": "Stateful layer", - "comment": "Refactor deleteLatestNotification", - "packageName": "@azure/communication-react", - "email": "79475487+mgamis-msft@users.noreply.github.com", - "dependentChangeType": "patch" -} diff --git a/change-beta/@azure-communication-react-a67ca37b-be70-40b7-907a-1417d39d8fb6.json b/change/@azure-communication-react-11ff780a-f45b-4d87-aa95-1ce887a63d91.json similarity index 52% rename from change-beta/@azure-communication-react-a67ca37b-be70-40b7-907a-1417d39d8fb6.json rename to change/@azure-communication-react-11ff780a-f45b-4d87-aa95-1ce887a63d91.json index 609f574d9ee..da68bcaaf77 100644 --- a/change-beta/@azure-communication-react-a67ca37b-be70-40b7-907a-1417d39d8fb6.json +++ b/change/@azure-communication-react-11ff780a-f45b-4d87-aa95-1ce887a63d91.json @@ -1,8 +1,8 @@ { "type": "patch", "area": "fix", - "workstream": "A11y", - "comment": "Update configuration screen to support use at 400% zoom", + "workstream": "VideoGallery", + "comment": "Update styles for screenshare loading spinner to better handle long names on mobile and desktop", "packageName": "@azure/communication-react", "email": "dmceachern@microsoft.com", "dependentChangeType": "patch" diff --git a/change/@azure-communication-react-3d93404e-3923-46bb-8c8a-e8854a8860db.json b/change/@azure-communication-react-3d93404e-3923-46bb-8c8a-e8854a8860db.json new file mode 100644 index 00000000000..5898c4f6cd6 --- /dev/null +++ b/change/@azure-communication-react-3d93404e-3923-46bb-8c8a-e8854a8860db.json @@ -0,0 +1,9 @@ +{ + "type": "minor", + "area": "fix", + "workstream": "Error handling", + "comment": "Add code and subcode to calling errors to help with debugging", + "packageName": "@azure/communication-react", + "email": "dmceachern@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change-beta/@azure-communication-react-c5d2e4c1-943c-4d98-949a-347cf6ee6f1e.json b/change/@azure-communication-react-4ebc3bfc-2026-4ee9-8d9d-8c0d80bc05a4.json similarity index 54% rename from change-beta/@azure-communication-react-c5d2e4c1-943c-4d98-949a-347cf6ee6f1e.json rename to change/@azure-communication-react-4ebc3bfc-2026-4ee9-8d9d-8c0d80bc05a4.json index 5765adf6eac..648ca275672 100644 --- a/change-beta/@azure-communication-react-c5d2e4c1-943c-4d98-949a-347cf6ee6f1e.json +++ b/change/@azure-communication-react-4ebc3bfc-2026-4ee9-8d9d-8c0d80bc05a4.json @@ -1,8 +1,8 @@ { "type": "patch", - "area": "feature", - "workstream": "Captions", - "comment": "Fix bug where spoken and caption language drawer missing default value", + "area": "fix", + "workstream": "Fix bug where microphone error shows twice", + "comment": "Fix bug where microphone error shows twice", "packageName": "@azure/communication-react", "email": "96077406+carocao-msft@users.noreply.github.com", "dependentChangeType": "patch" diff --git a/packages/acs-ui-common/package.json b/packages/acs-ui-common/package.json index 2c32c310931..363c43a58ab 100644 --- a/packages/acs-ui-common/package.json +++ b/packages/acs-ui-common/package.json @@ -1,6 +1,6 @@ { "name": "@internal/acs-ui-common", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Common types and utilities for all Azure Communication Serves UI libraries", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", diff --git a/packages/acs-ui-javascript-loaders/CHANGELOG.json b/packages/acs-ui-javascript-loaders/CHANGELOG.json index 986e27bbf2c..fedae9524e2 100644 --- a/packages/acs-ui-javascript-loaders/CHANGELOG.json +++ b/packages/acs-ui-javascript-loaders/CHANGELOG.json @@ -1,6 +1,27 @@ { "name": "@internal/acs-ui-javascript-loaders", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/acs-ui-javascript-loaders_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/acs-ui-javascript-loaders", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/acs-ui-javascript-loaders", + "comment": "Bump @internal/react-composites to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/acs-ui-javascript-loaders/package.json b/packages/acs-ui-javascript-loaders/package.json index c52cbb6cdcd..3d316181b79 100644 --- a/packages/acs-ui-javascript-loaders/package.json +++ b/packages/acs-ui-javascript-loaders/package.json @@ -1,6 +1,6 @@ { "name": "@internal/acs-ui-javascript-loaders", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Component bindings specific to components that integrate with the Azure Communication Services Calling JavaScript SDK", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", @@ -32,8 +32,8 @@ "license": "ISC", "dependencies": { "@azure/communication-common": "^2.3.1", - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/react-composites": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/react-composites": "1.25.0-beta.1", "@fluentui/react": "^8.122.9", "@azure/logger": "^1.0.4" }, diff --git a/packages/calling-component-bindings/CHANGELOG.json b/packages/calling-component-bindings/CHANGELOG.json index 955c20e2353..e8fa232dfc6 100644 --- a/packages/calling-component-bindings/CHANGELOG.json +++ b/packages/calling-component-bindings/CHANGELOG.json @@ -1,6 +1,33 @@ { "name": "@internal/calling-component-bindings", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/calling-component-bindings_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/calling-component-bindings", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/calling-component-bindings", + "comment": "Bump @internal/calling-stateful-client to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/calling-component-bindings", + "comment": "Bump @internal/react-components to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/calling-component-bindings/package.json b/packages/calling-component-bindings/package.json index 5a9dc5e25ea..783b2858002 100644 --- a/packages/calling-component-bindings/package.json +++ b/packages/calling-component-bindings/package.json @@ -1,6 +1,6 @@ { "name": "@internal/calling-component-bindings", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Component bindings specific to components that integrate with the Azure Communication Services Calling JavaScript SDK", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", @@ -31,9 +31,9 @@ }, "license": "MIT", "dependencies": { - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/calling-stateful-client": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/calling-stateful-client": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", "@azure/communication-common": "^2.3.1", "memoize-one": "^5.2.1", "reselect": "^4.0.0" diff --git a/packages/calling-component-bindings/src/errorBarSelector.ts b/packages/calling-component-bindings/src/errorBarSelector.ts index 48231c3445a..5a7ebf27a3c 100644 --- a/packages/calling-component-bindings/src/errorBarSelector.ts +++ b/packages/calling-component-bindings/src/errorBarSelector.ts @@ -76,13 +76,13 @@ export const errorBarSelector: ErrorBarSelector = createSelector( if (deviceManager.deviceAccess?.audio === false && isSafari()) { activeErrorMessages.push({ type: 'callMicrophoneAccessDeniedSafari' }); } - if (deviceManager.deviceAccess?.audio === false && !isSafari()) { - activeErrorMessages.push({ type: 'callMicrophoneAccessDenied' }); - } if (diagnostics?.media.latest.microphonePermissionDenied?.value === true && isMacOS()) { activeErrorMessages.push({ type: 'callMacOsMicrophoneAccessDenied' }); - } else if (diagnostics?.media.latest.microphonePermissionDenied?.value === true) { + } else if ( + (deviceManager.deviceAccess?.audio === false && !isSafari()) || + (diagnostics?.media.latest.microphonePermissionDenied?.value === true && !isMacOS()) + ) { activeErrorMessages.push({ type: 'callMicrophoneAccessDenied' }); } diff --git a/packages/calling-component-bindings/src/notificationStackSelector.ts b/packages/calling-component-bindings/src/notificationStackSelector.ts index 00c8ac93b3f..ca1e35824d9 100644 --- a/packages/calling-component-bindings/src/notificationStackSelector.ts +++ b/packages/calling-component-bindings/src/notificationStackSelector.ts @@ -109,13 +109,13 @@ export const notificationStackSelector: NotificationStackSelector = createSelect if (deviceManager.deviceAccess?.audio === false && isSafari()) { activeErrorMessages.push({ type: 'callMicrophoneAccessDeniedSafari' }); } - if (deviceManager.deviceAccess?.audio === false && !isSafari()) { - activeErrorMessages.push({ type: 'callMicrophoneAccessDenied' }); - } if (diagnostics?.media.latest.microphonePermissionDenied?.value === true && isMacOS()) { activeErrorMessages.push({ type: 'callMacOsMicrophoneAccessDenied' }); - } else if (diagnostics?.media.latest.microphonePermissionDenied?.value === true) { + } else if ( + (deviceManager.deviceAccess?.audio === false && !isSafari()) || + (diagnostics?.media.latest.microphonePermissionDenied?.value === true && !isMacOS()) + ) { activeErrorMessages.push({ type: 'callMicrophoneAccessDenied' }); } diff --git a/packages/calling-stateful-client/CHANGELOG.json b/packages/calling-stateful-client/CHANGELOG.json index 8974cc066b3..d038c464ffb 100644 --- a/packages/calling-stateful-client/CHANGELOG.json +++ b/packages/calling-stateful-client/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@internal/calling-stateful-client", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/calling-stateful-client_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/calling-stateful-client", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/calling-stateful-client/package.json b/packages/calling-stateful-client/package.json index 69b959890b2..db92e489368 100644 --- a/packages/calling-stateful-client/package.json +++ b/packages/calling-stateful-client/package.json @@ -1,6 +1,6 @@ { "name": "@internal/calling-stateful-client", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Stateful proxy over the Azure Communication Services Calling JavaScript SDK", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", @@ -32,7 +32,7 @@ "dependencies": { "@azure/communication-common": "^2.3.1", "@azure/logger": "^1.0.4", - "@internal/acs-ui-common": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", "@types/events": "^3.0.3", "events": "^3.3.0", "immer": "10.1.1" diff --git a/packages/calling-stateful-client/src/CallClientState.ts b/packages/calling-stateful-client/src/CallClientState.ts index 398f4b24f18..b0f17162905 100644 --- a/packages/calling-stateful-client/src/CallClientState.ts +++ b/packages/calling-stateful-client/src/CallClientState.ts @@ -16,7 +16,8 @@ import { ParticipantRole, RemoteParticipantState as RemoteParticipantStatus, ScalingMode, - VideoDeviceInfo + VideoDeviceInfo, + CommunicationServicesError } from '@azure/communication-calling'; /* @conditional-compile-remove(breakout-rooms) */ import { BreakoutRoom, BreakoutRoomsSettings } from '@azure/communication-calling'; @@ -1118,15 +1119,30 @@ export class CallError extends Error { * Timestamp added to the error by the stateful layer. */ public timestamp: Date; + /** + * Primary code for the calling error + */ + public code?: number; + /** + * Sub code for the calling error + */ + public subCode?: number; + /** needs to be a (innerError as CommunicationServicesError) */ constructor(target: CallErrorTarget, innerError: Error, timestamp?: Date) { super(); this.target = target; this.innerError = innerError; + if ('code' in (innerError as CommunicationServicesError)) { + this.code = (innerError as CommunicationServicesError).code; + } + if ('subCode' in (innerError as CommunicationServicesError)) { + this.subCode = (innerError as CommunicationServicesError).subCode; + } // Testing note: It is easier to mock Date::now() than the Date() constructor. this.timestamp = timestamp ?? new Date(Date.now()); this.name = 'CallError'; - this.message = `${this.target}: ${this.innerError.message}`; + this.message = `${this.target}: ${this.innerError.message} code=${this.code} subCode=${this.subCode}`; } } diff --git a/packages/chat-component-bindings/CHANGELOG.json b/packages/chat-component-bindings/CHANGELOG.json index 6d1c85e5578..4578fb49de3 100644 --- a/packages/chat-component-bindings/CHANGELOG.json +++ b/packages/chat-component-bindings/CHANGELOG.json @@ -1,6 +1,33 @@ { "name": "@internal/chat-component-bindings", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/chat-component-bindings_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/chat-component-bindings", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/chat-component-bindings", + "comment": "Bump @internal/chat-stateful-client to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/chat-component-bindings", + "comment": "Bump @internal/react-components to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/chat-component-bindings/package.json b/packages/chat-component-bindings/package.json index c830e9746c1..20be28dbb76 100644 --- a/packages/chat-component-bindings/package.json +++ b/packages/chat-component-bindings/package.json @@ -1,6 +1,6 @@ { "name": "@internal/chat-component-bindings", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Component bindings specific to components that integrate with the Azure Communication Services Chat JavaScript SDK", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", @@ -32,9 +32,9 @@ "dependencies": { "@azure/communication-common": "^2.3.1", "@azure/core-paging": "^1.5.0", - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/chat-stateful-client": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/chat-stateful-client": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", "reselect": "^4.0.0", "memoize-one": "^5.2.1" }, diff --git a/packages/chat-stateful-client/CHANGELOG.json b/packages/chat-stateful-client/CHANGELOG.json index 06275d40267..f6eb1d9e43a 100644 --- a/packages/chat-stateful-client/CHANGELOG.json +++ b/packages/chat-stateful-client/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@internal/chat-stateful-client", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/chat-stateful-client_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/chat-stateful-client", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/chat-stateful-client/package.json b/packages/chat-stateful-client/package.json index 9923f91fdba..dfd264fb991 100644 --- a/packages/chat-stateful-client/package.json +++ b/packages/chat-stateful-client/package.json @@ -1,6 +1,6 @@ { "name": "@internal/chat-stateful-client", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Stateful proxy over the Azure Communication Services Chat JavaScript SDK", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", @@ -33,7 +33,7 @@ "@azure/communication-common": "^2.3.1", "@azure/core-paging": "^1.5.0", "@azure/logger": "^1.0.4", - "@internal/acs-ui-common": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", "@types/events": "^3.0.3", "events": "^3.3.0", "immer": "10.1.1", diff --git a/packages/communication-react/CHANGELOG.beta.md b/packages/communication-react/CHANGELOG.beta.md index fde6fa684c5..80dc5227579 100644 --- a/packages/communication-react/CHANGELOG.beta.md +++ b/packages/communication-react/CHANGELOG.beta.md @@ -1,9 +1,32 @@ # Change Log - @azure/communication-react - + +## [1.25.0-beta.1](https://github.com/azure/communication-ui-library/tree/1.25.0-beta.1) + +Mon, 24 Feb 2025 23:41:46 GMT +[Compare changes](https://github.com/azure/communication-ui-library/compare/1.24.0-beta.1...1.25.0-beta.1) + +### Improvements + +- Change spinner text when loading chat in breakout room ([PR #5630](https://github.com/azure/communication-ui-library/pull/5630) by 79475487+mgamis-msft@users.noreply.github.com) +- Update styling for RTT base on feedback ([PR #5627](https://github.com/azure/communication-ui-library/pull/5627) by 96077406+carocao-msft@users.noreply.github.com) + +### Bug Fixes + +- Fix control bar button and more button A11y issues, announcing collapsed and expanded state ([PR #5639](https://github.com/azure/communication-ui-library/pull/5639) by 96077406+carocao-msft@users.noreply.github.com) +- Fix screenshare button text to be black in dark mode to match fluent dark mode primary button ([PR #5654](https://github.com/azure/communication-ui-library/pull/5654) by 2684369+JamesBurnside@users.noreply.github.com) +- In Call Composites do not show 'You're Muted' notification on lobby screen ([PR #5651](https://github.com/azure/communication-ui-library/pull/5651) by 2684369+JamesBurnside@users.noreply.github.com) +- Fix bug where switching camera on iphone may cause stream to freeze for remote participants ([PR #5650](https://github.com/azure/communication-ui-library/pull/5650) by 2684369+JamesBurnside@users.noreply.github.com) +- Update aria-level for heading on the config screen ([PR #5638](https://github.com/azure/communication-ui-library/pull/5638) by dmceachern@microsoft.com) +- Resolve initial focus order when call screen first appears ([PR #5631](https://github.com/azure/communication-ui-library/pull/5631) by edwardlee@microsoft.com) +- Update configuration screen to support use at 400% zoom ([PR #5633](https://github.com/azure/communication-ui-library/pull/5633) by dmceachern@microsoft.com) +- Fix move/close menu not showing on draggable video tile when ctrl+alt+space shortcut is used ([PR #5652](https://github.com/azure/communication-ui-library/pull/5652) by 2684369+JamesBurnside@users.noreply.github.com) +- Update the Max number of event listeners on a event in the CallAdapter ([PR #5660](https://github.com/azure/communication-ui-library/pull/5660) by dmceachern@microsoft.com) + + ## [1.24.0-beta.1](https://github.com/azure/communication-ui-library/tree/1.24.0-beta.1) Mon, 03 Feb 2025 22:02:22 GMT diff --git a/packages/communication-react/CHANGELOG.json b/packages/communication-react/CHANGELOG.json index 5d07709c400..12d1dac62d8 100644 --- a/packages/communication-react/CHANGELOG.json +++ b/packages/communication-react/CHANGELOG.json @@ -1,6 +1,177 @@ { "name": "@azure/communication-react", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:46 GMT", + "version": "1.25.0-beta.1", + "tag": "@azure/communication-react_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "9044372+JoshuaLai@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "203fe3cf17781ae0053f1321eee1ad8e6348850e", + "area": "improvement", + "workstream": "Governance", + "comment": "As per component governance bump esbuild version" + }, + { + "author": "79475487+mgamis-msft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "9ab59fca7b23c01802766af357c95b9ccf0238a4", + "area": "feature", + "workstream": "Breakout rooms", + "comment": "Change spinner text when loading chat in breakout room" + }, + { + "author": "94866715+dmceachernmsft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "e34a743a37da0fdabd280a4c7d17824f8ae0ea2a", + "area": "fix", + "workstream": "A11y", + "comment": "Update Aria items for Participant List and menu items" + }, + { + "author": "96077406+carocao-msft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "ea87c09afaf1e174e8b70ba14b74f56fc366ad1a", + "area": "fix", + "workstream": "A11y", + "comment": "Fix control bar button and more button A11y issues, announcing collapsed and expanded state" + }, + { + "author": "2684369+JamesBurnside@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "0c21167a29431a5741611aac2be49a748b6c7d80", + "area": "fix", + "workstream": "", + "comment": "Fix screenshare button text to be black in dark mode to match fluent dark mode primary button" + }, + { + "author": "2684369+JamesBurnside@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "a29bb6357ff13bb49c6135fd337c937a7c40ce3d", + "area": "fix", + "workstream": "", + "comment": "In Call Composites do not show You're Muted notification on lobby screen" + }, + { + "author": "2684369+JamesBurnside@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "5127860ee1fa6a91183a30e45c7baf15b5810da6", + "area": "fix", + "workstream": "", + "comment": "Fix bug where switching camera on iphone may cause stream to freeze for remote participants" + }, + { + "author": "dmceachern@microsoft.com", + "package": "@azure/communication-react", + "commit": "01ec29b62e61941601b3aa56984529f5b8f7b625", + "area": "fix", + "workstream": "A11y", + "comment": "Update aria-level for heading on the config screen" + }, + { + "author": "79475487+mgamis-msft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "78eef1fc1520b94fe1e4c5214057ded1d97645bf", + "area": "fix", + "workstream": "Breakout rooms", + "comment": "Fix bug where chat thread is stuck on spinner when immediately returning to main meeting from breakout room" + }, + { + "author": "palatter@microsoft.com", + "package": "@azure/communication-react", + "commit": "bff4b7769feda9fcd2a30315946a55e5fb18a4fc", + "area": "fix", + "workstream": "", + "comment": "Resolve issue where toolbar was not focused when opening formatting options for rich text" + }, + { + "author": "edwardlee@microsoft.com", + "package": "@azure/communication-react", + "commit": "8f04b062fb904a0a55dade8ff3c8c27b433b1fa2", + "area": "fix", + "workstream": "Accessibility", + "comment": "Resolve initial focus order when call screen first appears" + }, + { + "author": "dmceachern@microsoft.com", + "package": "@azure/communication-react", + "commit": "c521e8a19d30dc8c36a44b08980b99de854c4c4a", + "area": "fix", + "workstream": "A11y", + "comment": "Update configuration screen to support use at 400% zoom" + }, + { + "author": "96077406+carocao-msft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "c118cfd289774b52ca81d8c109c0d6ee0d4eb454", + "area": "feature", + "workstream": "Captions", + "comment": "Fix bug where spoken and caption language drawer missing default value" + }, + { + "author": "96077406+carocao-msft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "a10d66cfa1adf64e1c14eb4886a81abc249cd5aa", + "area": "feature", + "workstream": "RTT", + "comment": "Update styling for RTT base on feedback" + }, + { + "author": "2684369+JamesBurnside@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "6f3fd7a1d61d9718a956738960e054782c3045b3", + "area": "fix", + "workstream": "", + "comment": "Bug Fix: Fix move/close menu not showing on draggable video tile when ctrl+alt+space shortcut is used" + }, + { + "author": "miguelgamis@microsoft.com", + "package": "@azure/communication-react", + "commit": "2058d9cb8a60969aa126df467699446b474c50ff", + "area": "improvement", + "workstream": "Calling dependency", + "comment": "Update @azure/communication-calling beta version to 1.33.2-beta.1" + }, + { + "author": "79475487+mgamis-msft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "0c652c481d44ad4a95c7b5fd50ab58f672758e16", + "area": "improvement", + "workstream": "Stateful layer", + "comment": "Refactor deleteLatestNotification" + }, + { + "author": "dmceachern@microsoft.com", + "package": "@azure/communication-react", + "commit": "998514cd4669c230bf82049c5889cd812fbf52b5", + "area": "fix", + "workstream": "CallAdapter", + "comment": "Update the Max number of event listeners on a event in the CallAdapter" + } + ], + "prerelease": [ + { + "author": "79475487+mgamis-msft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "b255ba277c2347b229a4b5be849f3fee674d6183", + "area": "feature", + "workstream": "Breakout rooms", + "comment": "Promote breakout rooms feature to GA" + }, + { + "author": "79475487+mgamis-msft@users.noreply.github.com", + "package": "@azure/communication-react", + "commit": "47034b42e209d617718d948150dcd5bae0a8f3ea", + "area": "feature", + "workstream": "Breakout rooms", + "comment": "Remove breakoutRoomOriginCallId from BreakoutRoomsState api" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:45 GMT", "version": "1.24.0", diff --git a/packages/communication-react/package.json b/packages/communication-react/package.json index a339f4d2b5d..70b60906e08 100644 --- a/packages/communication-react/package.json +++ b/packages/communication-react/package.json @@ -1,6 +1,6 @@ { "name": "@azure/communication-react", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "sideEffects": false, "description": "React library for building modern communication user experiences utilizing Azure Communication Services", "keywords": [ @@ -116,14 +116,14 @@ "@azure/core-auth": "^1.7.2", "@babel/cli": "^7.24.8", "@babel/core": "^7.25.2", - "@internal/calling-component-bindings": "1.25.0-beta.0", - "@internal/calling-stateful-client": "1.25.0-beta.0", - "@internal/chat-component-bindings": "1.25.0-beta.0", - "@internal/chat-stateful-client": "1.25.0-beta.0", - "@internal/fake-backends": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", - "@internal/react-composites": "1.25.0-beta.0", - "@internal/acs-ui-javascript-loaders": "1.25.0-beta.0", + "@internal/calling-component-bindings": "1.25.0-beta.1", + "@internal/calling-stateful-client": "1.25.0-beta.1", + "@internal/chat-component-bindings": "1.25.0-beta.1", + "@internal/chat-stateful-client": "1.25.0-beta.1", + "@internal/fake-backends": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", + "@internal/react-composites": "1.25.0-beta.1", + "@internal/acs-ui-javascript-loaders": "1.25.0-beta.1", "@microsoft/api-documenter": "~7.26.7", "@microsoft/api-extractor": "~7.48.0", "@rollup/plugin-json": "^6.0.1", diff --git a/packages/communication-react/review/beta/communication-react.api.md b/packages/communication-react/review/beta/communication-react.api.md index 54a45bb16a6..2759595e0bd 100644 --- a/packages/communication-react/review/beta/communication-react.api.md +++ b/packages/communication-react/review/beta/communication-react.api.md @@ -424,6 +424,8 @@ export interface CallAdapter extends CommonCallAdapter { // @public export type CallAdapterCallEndedEvent = { callId: string; + code?: number; + subCode?: number; }; // @public @deprecated @@ -1088,7 +1090,9 @@ export type CallEndedListener = (event: CallAdapterCallEndedEvent) => void; // @public export class CallError extends Error { constructor(target: CallErrorTarget, innerError: Error, timestamp?: Date); + code?: number; innerError: Error; + subCode?: number; target: CallErrorTarget; timestamp: Date; } diff --git a/packages/communication-react/review/stable/communication-react.api.md b/packages/communication-react/review/stable/communication-react.api.md index 7e7bb63a9ef..089329e1cd7 100644 --- a/packages/communication-react/review/stable/communication-react.api.md +++ b/packages/communication-react/review/stable/communication-react.api.md @@ -278,6 +278,8 @@ export interface CallAdapter extends CommonCallAdapter { // @public export type CallAdapterCallEndedEvent = { callId: string; + code?: number; + subCode?: number; }; // @public @deprecated @@ -902,7 +904,9 @@ export type CallEndedListener = (event: CallAdapterCallEndedEvent) => void; // @public export class CallError extends Error { constructor(target: CallErrorTarget, innerError: Error, timestamp?: Date); + code?: number; innerError: Error; + subCode?: number; target: CallErrorTarget; timestamp: Date; } diff --git a/packages/fake-backends/CHANGELOG.json b/packages/fake-backends/CHANGELOG.json index 4ae8c058c15..b0824e07e45 100644 --- a/packages/fake-backends/CHANGELOG.json +++ b/packages/fake-backends/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@internal/fake-backends", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/fake-backends_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/fake-backends", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/fake-backends/package.json b/packages/fake-backends/package.json index 818bdf06503..0f32aa6534d 100644 --- a/packages/fake-backends/package.json +++ b/packages/fake-backends/package.json @@ -1,6 +1,6 @@ { "name": "@internal/fake-backends", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Fake implementations of backend services", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", @@ -35,7 +35,7 @@ "@azure/communication-signaling": "1.0.0-beta.27 || 1.0.0-beta.29", "@azure/core-paging": "^1.5.0", "@azure/core-rest-pipeline": "^1.13.0", - "@internal/acs-ui-common": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", "@types/events": "^3.0.3", "events": "^3.3.0", "immer": "10.1.1", diff --git a/packages/react-components/CHANGELOG.json b/packages/react-components/CHANGELOG.json index c6c9abf167e..7e31a06d289 100644 --- a/packages/react-components/CHANGELOG.json +++ b/packages/react-components/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@internal/react-components", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/react-components_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/react-components", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/react-components/package.json b/packages/react-components/package.json index d8574bfd4c3..6ac031b71fe 100644 --- a/packages/react-components/package.json +++ b/packages/react-components/package.json @@ -1,6 +1,6 @@ { "name": "@internal/react-components", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "React component library", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", @@ -44,7 +44,7 @@ "@fluentui/react-icons": "^2.0.270", "@fluentui/react-window-provider": "^2.2.27", "@fluentui-contrib/react-chat": "0.1.10", - "@internal/acs-ui-common": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", "@griffel/react": "^1.5.27", "copy-to-clipboard": "^3.3.1", "dompurify": "^3.2.4", diff --git a/packages/react-components/src/components/VideoGallery/RemoteScreenShare.tsx b/packages/react-components/src/components/VideoGallery/RemoteScreenShare.tsx index 4a5d7e94d71..e698e608c3f 100644 --- a/packages/react-components/src/components/VideoGallery/RemoteScreenShare.tsx +++ b/packages/react-components/src/components/VideoGallery/RemoteScreenShare.tsx @@ -8,7 +8,7 @@ import { StreamMedia } from '../StreamMedia'; import { VideoTile } from '../VideoTile'; import { CreateVideoStreamViewResult, VideoStreamOptions } from '../../types'; import { ReactionResources, VideoGalleryLocalParticipant, VideoGalleryRemoteParticipant } from '../../types'; -import { loadingStyle } from './styles/RemoteScreenShare.styles'; +import { loadingLabelStyles, loadingStyle } from './styles/RemoteScreenShare.styles'; import { _formatString } from '@internal/acs-ui-common'; import { MeetingReactionOverlay } from '../MeetingReactionOverlay'; @@ -110,7 +110,12 @@ export const RemoteScreenShare = React.memo( export const LoadingSpinner = (props: { loadingMessage: string }): JSX.Element => { return ( - + ); }; diff --git a/packages/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.ts b/packages/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.ts index e528a19cb99..04811d32a54 100644 --- a/packages/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.ts +++ b/packages/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.ts @@ -1,6 +1,6 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT License. -import { mergeStyles } from '@fluentui/react'; +import { ISpinnerStyles, mergeStyles } from '@fluentui/react'; /** * @private @@ -9,3 +9,10 @@ export const loadingStyle = mergeStyles({ height: '100%', width: '100%' }); + +/** + * @private + */ +export const loadingLabelStyles: ISpinnerStyles = { + label: { maxWidth: '10rem', overflow: 'hidden', textOverflow: 'ellipsis' } +}; diff --git a/packages/react-composites/CHANGELOG.json b/packages/react-composites/CHANGELOG.json index efa23321ed9..caaaedae10e 100644 --- a/packages/react-composites/CHANGELOG.json +++ b/packages/react-composites/CHANGELOG.json @@ -1,6 +1,57 @@ { "name": "@internal/react-composites", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/react-composites_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/react-composites", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/react-composites", + "comment": "Bump @internal/calling-component-bindings to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/react-composites", + "comment": "Bump @internal/calling-stateful-client to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/react-composites", + "comment": "Bump @internal/chat-component-bindings to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/react-composites", + "comment": "Bump @internal/chat-stateful-client to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/react-composites", + "comment": "Bump @internal/react-components to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/react-composites", + "comment": "Bump @internal/fake-backends to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/react-composites/package.json b/packages/react-composites/package.json index e6e2acaf6c4..eed4c70d0e7 100644 --- a/packages/react-composites/package.json +++ b/packages/react-composites/package.json @@ -1,6 +1,6 @@ { "name": "@internal/react-composites", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Complete Azure Communication Services experiences", "module": "dist/dist-esm/index.js", "main": "dist/dist-cjs/index.js", @@ -54,12 +54,12 @@ "@azure/logger": "^1.0.4", "@fluentui/react-file-type-icons": "8.12.7", "@fluentui/react-hooks": "^8.8.16", - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/calling-component-bindings": "1.25.0-beta.0", - "@internal/calling-stateful-client": "1.25.0-beta.0", - "@internal/chat-component-bindings": "1.25.0-beta.0", - "@internal/chat-stateful-client": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/calling-component-bindings": "1.25.0-beta.1", + "@internal/calling-stateful-client": "1.25.0-beta.1", + "@internal/chat-component-bindings": "1.25.0-beta.1", + "@internal/chat-stateful-client": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", "@fluentui/react-icons": "^2.0.270", "@fluentui/react": "^8.122.9", "@types/events": "^3.0.3", @@ -86,7 +86,7 @@ "@babel/cli": "^7.24.8", "@babel/core": "^7.25.2", "@babel/preset-env": "7.23.9", - "@internal/fake-backends": "1.25.0-beta.0", + "@internal/fake-backends": "1.25.0-beta.1", "@internal/eslint-plugin-custom-rules": "0.1.0", "@microsoft/api-documenter": "~7.26.7", "@microsoft/api-extractor": "~7.48.0", diff --git a/packages/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.ts b/packages/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.ts index 51f994a8c31..81e8141f329 100644 --- a/packages/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.ts +++ b/packages/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.ts @@ -312,7 +312,18 @@ class CallContext { /* @conditional-compile-remove(unsupported-browser) */ environmentInfo ); if (!IsCallEndedPage(oldPage) && IsCallEndedPage(newPage)) { - this.emitter.emit('callEnded', { callId: this.callId }); + /** + * We want to make sure that the id of the call that is ending + * is the same as the call in the adapter as this is a scenario where + * the call has ended and not been transferred and report the codes for this call. + */ + if (this.callId === latestEndedCall?.id) { + this.emitter.emit('callEnded', { + callId: latestEndedCall?.id, + code: latestEndedCall?.callEndReason?.code, + subCode: latestEndedCall?.callEndReason?.subCode + }); + } // Reset the callId to undefined as the call has ended. this.setCurrentCallId(undefined); // Make sure that the call is set to undefined in the state. diff --git a/packages/react-composites/src/composites/CallComposite/adapter/CallAdapter.ts b/packages/react-composites/src/composites/CallComposite/adapter/CallAdapter.ts index ff5fcc74e24..4cc07e6c512 100644 --- a/packages/react-composites/src/composites/CallComposite/adapter/CallAdapter.ts +++ b/packages/react-composites/src/composites/CallComposite/adapter/CallAdapter.ts @@ -257,7 +257,7 @@ export type DisplayNameChangedListener = (event: { * * @public */ -export type CallAdapterCallEndedEvent = { callId: string }; +export type CallAdapterCallEndedEvent = { callId: string; code?: number; subCode?: number }; /** * Callback for {@link CallAdapterSubscribers} 'callEnded' event. diff --git a/packages/storybook8/CHANGELOG.json b/packages/storybook8/CHANGELOG.json index 32bf4eea5c5..e3ef04bfc06 100644 --- a/packages/storybook8/CHANGELOG.json +++ b/packages/storybook8/CHANGELOG.json @@ -1,6 +1,27 @@ { "name": "@internal/storybook8", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "1.25.0-beta.1", + "tag": "@internal/storybook8_v1.25.0-beta.1", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@internal/storybook8", + "comment": "Bump @azure/communication-react to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/storybook8", + "comment": "Bump @internal/fake-backends to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "1.24.0", diff --git a/packages/storybook8/package.json b/packages/storybook8/package.json index bf1f7f82156..39e01f936e1 100644 --- a/packages/storybook8/package.json +++ b/packages/storybook8/package.json @@ -1,6 +1,6 @@ { "name": "@internal/storybook8", - "version": "1.25.0-beta.0", + "version": "1.25.0-beta.1", "description": "Azure Communication Services UI Library Storybook", "scripts": { "build": "cross-env NODE_ENV=production node ./scripts/build.mjs", @@ -25,14 +25,14 @@ "@azure/communication-chat": "1.6.0-beta.3 || ^1.5.4", "@azure/communication-common": "^2.3.1", "@azure/communication-identity": "^1.3.0", - "@azure/communication-react": "1.25.0-beta.0", + "@azure/communication-react": "1.25.0-beta.1", "@fluentui/react-components": "^9.58.2", "@fluentui/react-file-type-icons": "8.12.7", "@fluentui/react-hooks": "^8.8.16", "@fluentui/react-icons": "^2.0.270", "@fluentui/react": "^8.122.9", "@fluentui/theme-samples": "8.7.123", - "@internal/fake-backends": "1.25.0-beta.0", + "@internal/fake-backends": "1.25.0-beta.1", "@griffel/react": "^1.5.27", "@microsoft/applicationinsights-react-js": "^3.0.5", "@microsoft/applicationinsights-web": "^2.6.2", diff --git a/packages/storybook8/public/images/CaptionsBannerRTT.png b/packages/storybook8/public/images/CaptionsBannerRTT.png index 23dca355658..4aaa3a2ecf8 100644 Binary files a/packages/storybook8/public/images/CaptionsBannerRTT.png and b/packages/storybook8/public/images/CaptionsBannerRTT.png differ diff --git a/packages/storybook8/public/images/RTTModal.png b/packages/storybook8/public/images/RTTModal.png deleted file mode 100644 index 0e71d617f67..00000000000 Binary files a/packages/storybook8/public/images/RTTModal.png and /dev/null differ diff --git a/packages/storybook8/stories/Concepts/BreakoutRooms/Docs.mdx b/packages/storybook8/stories/Concepts/BreakoutRooms/Docs.mdx new file mode 100644 index 00000000000..a629084b858 --- /dev/null +++ b/packages/storybook8/stories/Concepts/BreakoutRooms/Docs.mdx @@ -0,0 +1,68 @@ +import { Meta, Source } from '@storybook/addon-docs'; +import BreakoutRoomsEventSnippetText from '!!raw-loader!./snippets/BreakoutRoomsUpdatedEvent.snippet.tsx'; + + + +# Breakout Rooms + +## Overview + +ACS and Team identity users are now ready to be moved into breakout rooms in Teams meetings when the meeting organizer +assigns the ACS or Teams identity user a breakout room and opens that breakout room. ACS and Teams identity users, +however, will not yet have the ability to choose their breakout room when they are granted by meeting organizer. ACS +and Teams identity users can be move into breakout rooms but they will not yet have the ability to create and manage +breakout rooms when they have organizer or co-organizer role. + +Click [here](https://support.microsoft.com/en-us/office/use-breakout-rooms-in-microsoft-teams-meetings-7de1f48a-da07-466c-a5ab-4ebace28e461) +to learn more about breakout rooms in Teams meetings and how to create and manage breakout rooms as a Teams user. + +## Composites + +ACS and Team identity users using the CallComposite and CallWithChatComposite will now be able move to breakout rooms +in Teams meetings. When the meeting organizer assigns a breakout room to an ACS or Teams identity user and that +breakout room is opened, the composite will automatically change the current call to the breakout room. When the +breakout room is closed, the ACS or Teams identity user will automatically be moved back the the main meeting. + +There are notifications that will be shown to guide the ACS or Teams identity user through the composite transitions +between the main meeting and breakout room. The notifications are shown when: + +- the user's assigned breakout room opens and the user will be automatically moved to the breakout room +- the user's assigned breakout room opens and the user is prompted to join +- the user joins a breakout room +- the user's assigned breakout room is changed while already in a breakout room +- the user is in a breakout room with a time limit and that breakout room is closing soon +- the user is in a breakout room and that breakout room is closed + +## Handling breakoutRoomsUpdated events + +The [CallAdapter](?path=/docs/composites-adapters--docs#calladapter) and CallWithChatAdapter are able to receive +`breakoutRoomsUpdated` events and allows you to handle these events by defining your own `BreakoutRoomsUpdateListener` +callback. The following code snippet shows an example of a `BreakoutRoomsUpdateListener` that outputs the event to the +browser console. + + + +Note: The `breakoutRoomsUpdated` room event encompasses 4 types: `assignedBreakoutRooms`, `join`, +`breakoutRoomsSettings`, and `breakoutRooms` + +## FAQs + +### Are breakout rooms supported in calls other than Teams meetings? + +No. Breakout rooms is a feature that is currently only available in Teams meetings + +### Can ACS or Teams identity users choose their own breakout room to join? + +Can ACS or Teams identity users will not yet be able to choose their own breakout room like in Teams. The meeting +organizer must assign the breakout room for the ACS or Teams identity user. + +### Where can I learn about managing breakout rooms and their settings? + +This [documentation](https://support.microsoft.com/en-us/office/use-breakout-rooms-in-microsoft-teams-meetings-7de1f48a-da07-466c-a5ab-4ebace28e461) +will guide you on everything you need to know about creating and managing breakout rooms as a Teams user. + +Note: ACS Web UI Library cannot yet be used to manage breakout rooms and their settings diff --git a/packages/storybook8/stories/Concepts/BreakoutRooms/snippets/BreakoutRoomsUpdatedEvent.snippet.tsx b/packages/storybook8/stories/Concepts/BreakoutRooms/snippets/BreakoutRoomsUpdatedEvent.snippet.tsx new file mode 100644 index 00000000000..1e73d71642b --- /dev/null +++ b/packages/storybook8/stories/Concepts/BreakoutRooms/snippets/BreakoutRoomsUpdatedEvent.snippet.tsx @@ -0,0 +1,84 @@ +import { AzureCommunicationTokenCredential, CommunicationUserIdentifier } from '@azure/communication-common'; +import { + CallAdapter, + CallComposite, + CallCompositeOptions, + CompositeLocale, + useAzureCommunicationCallAdapter +} from '@azure/communication-react'; +import { PartialTheme, Theme } from '@fluentui/react'; +import React, { useCallback, useMemo } from 'react'; + +export type ContainerProps = { + userId: CommunicationUserIdentifier; + token: string; + formFactor?: 'desktop' | 'mobile'; + fluentTheme?: PartialTheme | Theme; + locale?: CompositeLocale; + options?: CallCompositeOptions; + // Teams user ids need to be in format '28:orgid:'. For example, '28:orgid:87d349ed-44d7-43e1-9a83-5f2406dee5bd' + meetingLink: string; +}; + +export const ContosoCallContainer = (props: ContainerProps): JSX.Element => { + const credential = useMemo(() => { + try { + return new AzureCommunicationTokenCredential(props.token); + } catch { + console.error('Failed to construct token credential'); + return undefined; + } + }, [props.token]); + + const callAdapterArgs = useMemo( + () => ({ + userId: props.userId, + credential, + locator: props.meetingLink + }), + [props.userId, credential, props.meetingLink] + ); + + const afterCallAdapterCreate = useCallback(async (adapter: CallAdapter): Promise => { + adapter.on('breakoutRoomsUpdated', (event) => { + if (event.type === 'assignedBreakoutRooms') { + console.log('Assigned breakout rooms event: ', event); + } else if (event.type === 'join') { + console.log('Breakout rooms join event: ', event); + } else if (event.type === 'breakoutRoomsSettings') { + console.log('Breakout rooms settings event: ', event); + } + }); + return adapter; + }, []); + + const leaveCall = async (adapter: CallAdapter): Promise => { + await adapter.leaveCall().catch((e) => { + console.error('Failed to leave call', e); + }); + }; + + const adapter = useAzureCommunicationCallAdapter(callAdapterArgs, afterCallAdapterCreate, leaveCall); + + if (!props.meetingLink) { + return <>Teams meeting link not provided.; + } + + if (adapter) { + return ( +
+ +
+ ); + } + if (credential === undefined) { + return <>Failed to construct credential. Provided token is malformed.; + } + return <>Initializing...; +}; diff --git a/packages/storybook8/stories/Concepts/RealTimeText/Docs.mdx b/packages/storybook8/stories/Concepts/RealTimeText/Docs.mdx index b5f413ccb36..264b3b9e8e0 100644 --- a/packages/storybook8/stories/Concepts/RealTimeText/Docs.mdx +++ b/packages/storybook8/stories/Concepts/RealTimeText/Docs.mdx @@ -1,7 +1,5 @@ -import { Stack } from '@fluentui/react'; import { Meta } from '@storybook/addon-docs'; import { SingleLineBetaBanner } from '../../BetaBanners/SingleLineBetaBanner'; -import { overviewPageImagesStackStyle } from '../../constants'; @@ -25,11 +23,26 @@ Enhancing Clarity: In noisy environments or situations with audio quality issues Microsoft is dedicated to accessibility, and the incorporation of Real-Time Text (RTT) supports this commitment by adhering to accessibility standards such as The European Accessibility Act (Directive (EU) 2019/882. This directive requires that voice and video services support RTT by June 2025, ensuring inclusive communication throughout Europe. Voice and video services will not be permitted to operate in Europe or have Europe based customers after June 2025 without RTT, making the inclusion of this feature in the UI Library critically important. -## Incorporating RTT in Your Experience +## How RTT Works in a Call Experience + +Real-Time Text (RTT) is tightly integrated into both the communication flow and the UI, ensuring that users can engage in dynamic, real-time conversations. + +When a call starts, RTT is not enabled by default. Participants can choose to activate it at any time during the call. To enable RTT, users open the call control bar—usually located at the bottom of the screen—and click on the "More" button, represented by an ellipsis (...). From the menu that appears, selecting the "Start Real-Time Text" option activates RTT for everyone in the call. A notification is displayed to inform all participants that RTT has been turned on and cannot be disabled for the rest of the call. -Real-Time Text is supported by default and are automatically included within the CallComposite and CallWithChatComposite experiences. +example of component that can be used for starting RTT -Real-Time Text is also supported for component only users. +Once RTT is enabled, participants can type messages in a dedicated text window that appears in the captions area. As each character is typed, it is immediately visible to everyone in real time, creating a natural, continuous flow of communication. This allows both the person typing and other participants to engage with the conversation without waiting for complete messages. RTT can also merge seamlessly with live captions to deliver a unified text experience. This allows users to view both real-time messages and captions in one place, ensuring accessibility and minimal UI clutter. + +Although RTT exists in the caption window, it can still be enabled without captions being enabled. Similarly, captions can still be enabled without RTT being enabled. When both captions and RTT are enabled, both captions and RTT messages are displayed in the same interface. RTT messages show a "RTT Typing" tag while they are being composed and then integrate into the captions feed once committed. The design prioritizes usability, making it easy for participants to activate and follow conversations without interruptions. + +example of Captions Banner with Real-Time Text Enabled +## Incorporating RTT in Your Experience + +RTT is automatically available in the UI Library. RTT is integrated by default within the CallComposite, CallWithChatComposite, and is available to be built using the associated Components. These components automatically manage message display states, typing indicators, and user interaction prompts to deliver a fluid, accessible experience. Developers can use these four components to build their own customer RTT experience. List of components exported for Real-Time Text: @@ -41,41 +54,6 @@ List of components exported for Real-Time Text: [CaptionsBanner](./?path=/docs/components-captions-banner--docs) is a component that combines and displays captions and Real-Time Text in one banner. Developers and use 'usePropsFor' to gather all the information required to power this component, including the list of Real-Time Text and captions messages in the call. User can also use this component for captions only or Real-Time Text only. -## How to use Real-Time Text - -Real-Time Text is automatically included within the CallComposite and CallWithChatComposite experiences. - -To turn on Real-Time Text, users need to navigate to the control bar after call is connected, and click on more button. Inside the menu pop up, click on Real-Time Text, then click on Turn on RTT for this call. - -Note that Real-Time Text will be enabled for all participants in the call once the first message is sent. It cannot be turned off. - - - - <>Using the more menu to turn on Real-Time Text - example of component that can be used for starting RTT - - - <>Real-Time Text Modal showing the disclaimer warning - example of component that can be used for showing a disclaimer warning that Real-Time Text is enabled for everyone in the call once turned on - - - <>Captions Banner with Real-Time Text Enabled - example of Captions Banner with Real-Time Text Enabled - - - ## RTT is available in these scenarios | Call Type | Supported | Notes | @@ -89,3 +67,23 @@ Note that Real-Time Text will be enabled for all participants in the call once t To read more details about the underlying infrastructure, click here: [Real Time Text (RTT) Overview - An Azure Communication Services concept document | Microsoft Learn](https://learn.microsoft.com/en-us/azure/communication-services/concepts/voice-video-calling/real-time-text) + +## FAQ + +### How can I enable RTT? + +RTT can be enabled during calls via the control bar “more” button. + +Enabling RTT opens the RTT window for everyone in the call. When one user enables RTT, other users do not need to enable it for themselves. This window cannot be closed for the duration of the call nor can RTT be disabled. + +### When I type a sentence in the RTT window, when does it get sent? + +A message is sent when the user explicitly takes an action, such as pressing "Enter," or if no additional text is typed for 3 seconds, at which point the text will automatically commit. + +Otherwise, text remains ephemeral as it is being typed, allowing users to see characters appear in real time without immediately committing to a message. + +### How does this differ from chat? + +Chat is an asynchronous form of messaging that requires a user to type out their whole sentence and commit it before anyone else sees the message. Chat can also be closed or hidden in many calls, giving it a secondary level of prominence. + +RTT is a synchronous form of messaging that shows text as it is typed in the main video gallery. The window cannot be hidden or closed, giving it the same level of prominence as speaking would in a call. RTT is also a focused accessibility feature. diff --git a/samples/CallWithChat/package.json b/samples/CallWithChat/package.json index 0743d865569..615c5f9f4f0 100644 --- a/samples/CallWithChat/package.json +++ b/samples/CallWithChat/package.json @@ -37,15 +37,15 @@ "@azure/communication-identity": "^1.3.0", "@azure/communication-calling": "1.33.2-beta.1 || ^1.33.1", "@azure/communication-chat": "1.6.0-beta.3 || ^1.5.4", - "@azure/communication-react": "1.25.0-beta.0", + "@azure/communication-react": "1.25.0-beta.1", "@azure/communication-common": "^2.3.1", "@azure/logger": "^1.0.4", "@babel/preset-react": "^7.12.7", - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/calling-component-bindings": "1.25.0-beta.0", - "@internal/calling-stateful-client": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", - "@internal/react-composites": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/calling-component-bindings": "1.25.0-beta.1", + "@internal/calling-stateful-client": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", + "@internal/react-composites": "1.25.0-beta.1", "@fluentui/react": "^8.122.9", "@fluentui/react-file-type-icons": "8.12.7", "@fluentui/react-icons": "^2.0.270", diff --git a/samples/Calling/package.json b/samples/Calling/package.json index e24dcc4e415..d5ea96eb750 100644 --- a/samples/Calling/package.json +++ b/samples/Calling/package.json @@ -33,18 +33,18 @@ "dependencies": { "@azure/abort-controller": "^1.1.0", "@azure/communication-identity": "^1.3.0", - "@azure/communication-react": "1.25.0-beta.0", + "@azure/communication-react": "1.25.0-beta.1", "@azure/communication-calling": "1.33.2-beta.1 || ^1.33.1", "@azure/communication-common": "^2.3.1", "@azure/logger": "^1.0.4", "@babel/preset-react": "^7.12.7", "@fluentui/react": "^8.122.9", "@fluentui/react-hooks": "^8.8.16", - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/calling-component-bindings": "1.25.0-beta.0", - "@internal/calling-stateful-client": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", - "@internal/react-composites": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/calling-component-bindings": "1.25.0-beta.1", + "@internal/calling-stateful-client": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", + "@internal/react-composites": "1.25.0-beta.1", "@fluentui/react-icons": "^2.0.270", "follow-redirects": "1.15.6", "merge": "^2.1.1", diff --git a/samples/Calling/src/app/views/CallScreen.tsx b/samples/Calling/src/app/views/CallScreen.tsx index 36732474b45..581c6cd0006 100644 --- a/samples/Calling/src/app/views/CallScreen.tsx +++ b/samples/Calling/src/app/views/CallScreen.tsx @@ -54,8 +54,11 @@ export const CallScreen = (props: CallScreenProps): JSX.Element => { console.log(`Call Id: ${callIdRef.current}`); } }); - adapter.on('transferAccepted', (e) => { - console.log('Call being transferred to: ' + e); + adapter.on('transferAccepted', (event) => { + console.log('Call being transferred to: ' + event); + }); + adapter.on('callEnded', (event) => { + console.log('Call ended id: ' + event.callId + ' code: ' + event.code, 'subcode: ' + event.subCode); }); }, []); diff --git a/samples/CallingStateful/package.json b/samples/CallingStateful/package.json index b6137d2e5ff..b6027085136 100644 --- a/samples/CallingStateful/package.json +++ b/samples/CallingStateful/package.json @@ -33,18 +33,18 @@ "dependencies": { "@azure/abort-controller": "^1.1.0", "@azure/communication-identity": "^1.3.0", - "@azure/communication-react": "1.25.0-beta.0", + "@azure/communication-react": "1.25.0-beta.1", "@azure/communication-calling": "1.33.2-beta.1 || ^1.33.1", "@azure/communication-common": "^2.3.1", "@azure/logger": "^1.0.4", "@babel/preset-react": "^7.12.7", "@fluentui/react": "^8.122.9", "@fluentui/react-hooks": "^8.8.16", - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/calling-component-bindings": "1.25.0-beta.0", - "@internal/calling-stateful-client": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", - "@internal/react-composites": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/calling-component-bindings": "1.25.0-beta.1", + "@internal/calling-stateful-client": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", + "@internal/react-composites": "1.25.0-beta.1", "@fluentui/react-icons": "^2.0.270", "follow-redirects": "1.15.6", "merge": "^2.1.1", diff --git a/samples/Chat/package.json b/samples/Chat/package.json index 989e982d23a..affef49c71b 100644 --- a/samples/Chat/package.json +++ b/samples/Chat/package.json @@ -35,13 +35,13 @@ "@azure/communication-chat": "1.6.0-beta.3 || ^1.5.4", "@azure/communication-common": "^2.3.1", "@azure/communication-identity": "^1.3.0", - "@azure/communication-react": "1.25.0-beta.0", + "@azure/communication-react": "1.25.0-beta.1", "@azure/logger": "^1.0.4", - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/chat-stateful-client": "1.25.0-beta.0", - "@internal/chat-component-bindings": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", - "@internal/react-composites": "1.25.0-beta.0", + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/chat-stateful-client": "1.25.0-beta.1", + "@internal/chat-component-bindings": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", + "@internal/react-composites": "1.25.0-beta.1", "@fluentui/react": "^8.122.9", "@fluentui/react-file-type-icons": "8.12.7", "@fluentui/react-icons": "^2.0.270", diff --git a/samples/ComponentExamples/package.json b/samples/ComponentExamples/package.json index ec2d3627bf5..83b025fb061 100644 --- a/samples/ComponentExamples/package.json +++ b/samples/ComponentExamples/package.json @@ -28,7 +28,7 @@ "@azure/communication-chat": "1.6.0-beta.3 || ^1.5.4", "@azure/communication-common": "^2.3.1", "@azure/communication-identity": "^1.3.0", - "@azure/communication-react": "1.25.0-beta.0", + "@azure/communication-react": "1.25.0-beta.1", "@fluentui/react": "^8.122.9", "react": "18.3.1", "react-dom": "18.3.1", diff --git a/samples/StaticHtmlComposites/package.json b/samples/StaticHtmlComposites/package.json index 6546d1bc53e..9937dfbc802 100644 --- a/samples/StaticHtmlComposites/package.json +++ b/samples/StaticHtmlComposites/package.json @@ -23,7 +23,7 @@ }, "license": "MIT", "dependencies": { - "@azure/communication-react": "1.25.0-beta.0", + "@azure/communication-react": "1.25.0-beta.1", "@azure/communication-common": "^2.3.1", "@azure/communication-calling": "1.33.2-beta.1 || ^1.33.1", "@azure/communication-chat": "1.6.0-beta.3 || ^1.5.4", diff --git a/tools/check-treeshaking/CHANGELOG.json b/tools/check-treeshaking/CHANGELOG.json index a1c52d8e5db..a102249a7f2 100644 --- a/tools/check-treeshaking/CHANGELOG.json +++ b/tools/check-treeshaking/CHANGELOG.json @@ -1,6 +1,63 @@ { "name": "@internal/check-treeshaking", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "0.1.0", + "tag": "@internal/check-treeshaking_v0.1.0", + "comments": { + "undefined": [ + { + "author": "beachball", + "package": "@internal/check-treeshaking", + "comment": "Bump @internal/acs-ui-common to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/check-treeshaking", + "comment": "Bump @internal/react-components to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/check-treeshaking", + "comment": "Bump @internal/chat-stateful-client to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/check-treeshaking", + "comment": "Bump @internal/calling-stateful-client to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/check-treeshaking", + "comment": "Bump @internal/chat-component-bindings to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/check-treeshaking", + "comment": "Bump @internal/calling-component-bindings to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/check-treeshaking", + "comment": "Bump @internal/react-composites to v1.25.0-beta.1", + "commit": "not available" + }, + { + "author": "beachball", + "package": "@internal/check-treeshaking", + "comment": "Bump @internal/acs-ui-javascript-loaders to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "0.1.0", diff --git a/tools/check-treeshaking/package.json b/tools/check-treeshaking/package.json index dbadfd1ccb9..ede707231cd 100644 --- a/tools/check-treeshaking/package.json +++ b/tools/check-treeshaking/package.json @@ -20,14 +20,14 @@ }, "license": "MIT", "dependencies": { - "@internal/acs-ui-common": "1.25.0-beta.0", - "@internal/react-components": "1.25.0-beta.0", - "@internal/chat-stateful-client": "1.25.0-beta.0", - "@internal/calling-stateful-client": "1.25.0-beta.0", - "@internal/chat-component-bindings": "1.25.0-beta.0", - "@internal/calling-component-bindings": "1.25.0-beta.0", - "@internal/react-composites": "1.25.0-beta.0", - "@internal/acs-ui-javascript-loaders": "1.25.0-beta.0" + "@internal/acs-ui-common": "1.25.0-beta.1", + "@internal/react-components": "1.25.0-beta.1", + "@internal/chat-stateful-client": "1.25.0-beta.1", + "@internal/calling-stateful-client": "1.25.0-beta.1", + "@internal/chat-component-bindings": "1.25.0-beta.1", + "@internal/calling-component-bindings": "1.25.0-beta.1", + "@internal/react-composites": "1.25.0-beta.1", + "@internal/acs-ui-javascript-loaders": "1.25.0-beta.1" }, "devDependencies": { "@babel/core": "^7.25.2", diff --git a/tools/check-typescript-regression/CHANGELOG.json b/tools/check-typescript-regression/CHANGELOG.json index d1342c2d382..bfde98309c7 100644 --- a/tools/check-typescript-regression/CHANGELOG.json +++ b/tools/check-typescript-regression/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@internal/check-typescript-regression", "entries": [ + { + "date": "Mon, 24 Feb 2025 23:41:48 GMT", + "version": "0.1.0", + "tag": "@internal/check-typescript-regression_v0.1.0", + "comments": { + "undefined": [ + { + "author": "beachball", + "package": "@internal/check-typescript-regression", + "comment": "Bump @azure/communication-react to v1.25.0-beta.1", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 10 Feb 2025 18:17:46 GMT", "version": "0.1.0", diff --git a/tools/check-typescript-regression/package.json b/tools/check-typescript-regression/package.json index a3bfec11956..a77f16b9c61 100644 --- a/tools/check-typescript-regression/package.json +++ b/tools/check-typescript-regression/package.json @@ -19,7 +19,7 @@ "lint:quiet": "rushx lint -- --quiet" }, "dependencies": { - "@azure/communication-react": "1.25.0-beta.0" + "@azure/communication-react": "1.25.0-beta.1" }, "devDependencies": { "eslint": "^8.57.0",