@azure/communication-react 1.2.3-alpha-202205130015.0 → 1.2.3-alpha-202205140015.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/dist-cjs/communication-react/index.js +87 -22
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.d.ts.map +1 -1
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +86 -21
- package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
- package/package.json +7 -7
package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ComplianceBanner.d.ts","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/ComplianceBanner.tsx"],"names":[],"mappings":";AAMA;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC,EAAE,MAAM,CAAC;IACzC,oCAAoC,EAAE,MAAM,CAAC;IAC7C,8CAA8C,EAAE,MAAM,CAAC;IACvD,gDAAgD,EAAE,MAAM,CAAC;IACzD,gDAAgD,EAAE,MAAM,CAAC;IACzD,+BAA+B,EAAE,MAAM,CAAC;IACxC,gCAAgC,EAAE,MAAM,CAAC;IACzC,gCAAgC,EAAE,MAAM,CAAC;IACzC,oCAAoC,EAAE,MAAM,CAAC;IAC7C,mCAAmC,EAAE,MAAM,CAAC;IAC5C,oCAAoC,EAAE,MAAM,CAAC;IAC7C,oCAAoC,EAAE,MAAM,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACnC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,wBAAwB,CAAC;CACnC,CAAC;
|
1
|
+
{"version":3,"file":"ComplianceBanner.d.ts","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/ComplianceBanner.tsx"],"names":[],"mappings":";AAMA;;;GAGG;AACH,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,gCAAgC,EAAE,MAAM,CAAC;IACzC,oCAAoC,EAAE,MAAM,CAAC;IAC7C,8CAA8C,EAAE,MAAM,CAAC;IACvD,gDAAgD,EAAE,MAAM,CAAC;IACzD,gDAAgD,EAAE,MAAM,CAAC;IACzD,+BAA+B,EAAE,MAAM,CAAC;IACxC,gCAAgC,EAAE,MAAM,CAAC;IACzC,gCAAgC,EAAE,MAAM,CAAC;IACzC,oCAAoC,EAAE,MAAM,CAAC;IAC7C,mCAAmC,EAAE,MAAM,CAAC;IAC5C,oCAAoC,EAAE,MAAM,CAAC;IAC7C,oCAAoC,EAAE,MAAM,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,oBAAY,sBAAsB,GAAG;IACnC,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,wBAAwB,CAAC;CACnC,CAAC;AAoBF;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,UAAW,sBAAsB,KAAG,WAsEjE,CAAC"}
|
@@ -3,6 +3,7 @@
|
|
3
3
|
import React, { useRef, useState } from 'react';
|
4
4
|
import { Link, MessageBar, MessageBarType } from '@fluentui/react';
|
5
5
|
import { computeVariant } from './Utils';
|
6
|
+
const BANNER_OVERWRITE_DELAY_MS = 3000;
|
6
7
|
/**
|
7
8
|
* A component that displays banners to notify the user when call recording and
|
8
9
|
* transcription is enabled or disabled in a call.
|
@@ -13,10 +14,6 @@ import { computeVariant } from './Utils';
|
|
13
14
|
* @internal
|
14
15
|
*/
|
15
16
|
export const _ComplianceBanner = (props) => {
|
16
|
-
//set variant when incoming state is different from current state
|
17
|
-
//when variant change, return message bar
|
18
|
-
//when message bar is dismissed,set variant to default nostate and if current state is stopped, set to off
|
19
|
-
const [variant, setVariant] = useState('NO_STATE');
|
20
17
|
const cachedProps = useRef({
|
21
18
|
latestBooleanState: {
|
22
19
|
callTranscribeState: false,
|
@@ -25,39 +22,46 @@ export const _ComplianceBanner = (props) => {
|
|
25
22
|
latestStringState: {
|
26
23
|
callTranscribeState: 'off',
|
27
24
|
callRecordState: 'off'
|
28
|
-
}
|
25
|
+
},
|
26
|
+
lastUpdated: Date.now()
|
29
27
|
});
|
30
28
|
// Only update cached props and variant if there is _some_ change in the latest props.
|
31
29
|
// This ensures that state machine is only updated if there is an actual change in the props.
|
32
|
-
|
33
|
-
props.callTranscribeState !== cachedProps.current.latestBooleanState.callTranscribeState
|
30
|
+
const shouldUpdateCached = props.callRecordState !== cachedProps.current.latestBooleanState.callRecordState ||
|
31
|
+
props.callTranscribeState !== cachedProps.current.latestBooleanState.callTranscribeState;
|
32
|
+
// The following three operations must be performed in this exact order:
|
33
|
+
// [1]: Update cached state to transition the state machine.
|
34
|
+
if (shouldUpdateCached) {
|
34
35
|
cachedProps.current = {
|
35
36
|
latestBooleanState: props,
|
36
37
|
latestStringState: {
|
37
38
|
callRecordState: determineStates(cachedProps.current.latestStringState.callRecordState, props.callRecordState),
|
38
39
|
callTranscribeState: determineStates(cachedProps.current.latestStringState.callTranscribeState, props.callTranscribeState)
|
39
|
-
}
|
40
|
+
},
|
41
|
+
lastUpdated: Date.now()
|
40
42
|
};
|
41
|
-
setVariant(computeVariant(cachedProps.current.latestStringState.callRecordState, cachedProps.current.latestStringState.callTranscribeState));
|
42
|
-
// when both states are stopped, after displaying message "RECORDING_AND_TRANSCRIPTION_STOPPED", change both states to off (going back to the default state)
|
43
|
-
if (cachedProps.current.latestStringState.callRecordState === 'stopped' &&
|
44
|
-
cachedProps.current.latestStringState.callTranscribeState === 'stopped') {
|
45
|
-
cachedProps.current.latestStringState.callRecordState = 'off';
|
46
|
-
cachedProps.current.latestStringState.callTranscribeState = 'off';
|
47
|
-
}
|
48
43
|
}
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
44
|
+
// [2]: Compute the variant, using the transitioned state machine.
|
45
|
+
const variant = computeVariant(cachedProps.current.latestStringState.callRecordState, cachedProps.current.latestStringState.callTranscribeState);
|
46
|
+
// [3]: Transition the state machine again to deal with some end-states.
|
47
|
+
if (shouldUpdateCached &&
|
48
|
+
cachedProps.current.latestStringState.callRecordState === 'stopped' &&
|
49
|
+
cachedProps.current.latestStringState.callTranscribeState === 'stopped') {
|
50
|
+
// When both states are stopped, after displaying message "RECORDING_AND_TRANSCRIPTION_STOPPED", change both states to off (going back to the default state).
|
51
|
+
cachedProps.current.latestStringState.callRecordState = 'off';
|
52
|
+
cachedProps.current.latestStringState.callTranscribeState = 'off';
|
53
|
+
}
|
54
|
+
return (React.createElement(DelayedUpdateBanner, { variant: {
|
55
|
+
variant,
|
56
|
+
lastUpdated: cachedProps.current.lastUpdated
|
57
|
+
}, strings: props.strings, onDismiss: () => {
|
53
58
|
if (cachedProps.current.latestStringState.callRecordState === 'stopped') {
|
54
59
|
cachedProps.current.latestStringState.callRecordState = 'off';
|
55
60
|
}
|
56
61
|
if (cachedProps.current.latestStringState.callTranscribeState === 'stopped') {
|
57
62
|
cachedProps.current.latestStringState.callTranscribeState = 'off';
|
58
63
|
}
|
59
|
-
}
|
60
|
-
React.createElement(BannerMessage, { variant: variant, strings: props.strings })));
|
64
|
+
} }));
|
61
65
|
};
|
62
66
|
function determineStates(previous, current) {
|
63
67
|
// if current state is on, then return on
|
@@ -76,6 +80,67 @@ function determineStates(previous, current) {
|
|
76
80
|
}
|
77
81
|
}
|
78
82
|
}
|
83
|
+
/**
|
84
|
+
* Shows a {@link BannerMessage} in a {@link MessageBar} tracking `variant` internally.
|
85
|
+
*
|
86
|
+
* This component delays and combines frequent updates to `variant` such that:
|
87
|
+
* - Updates that happen within {@link BANNER_OVERWRITE_DELAY_MS} are delayed.
|
88
|
+
* - Once {@link BANNER_OVERWRITE_DELAY_MS} has passed since the last update, the _latest_ pending update is shown.
|
89
|
+
*
|
90
|
+
* This ensures that there is enough time for the user to see a banner message before it is overwritten.
|
91
|
+
* In case of multiple delayed messages, the user always sees the final message as it reflects the final state
|
92
|
+
* of recording and transcription.
|
93
|
+
*
|
94
|
+
* @private
|
95
|
+
*/
|
96
|
+
function DelayedUpdateBanner(props) {
|
97
|
+
const { variant, lastUpdated: variantLastUpdated } = props.variant;
|
98
|
+
// Tracks the variant that is currently visible in the UI.
|
99
|
+
const [visible, setVisible] = useState({
|
100
|
+
variant,
|
101
|
+
lastUpdated: Date.now()
|
102
|
+
});
|
103
|
+
const pendingUpdateHandle = useRef(null);
|
104
|
+
if (variant !== visible.variant && variantLastUpdated > visible.lastUpdated) {
|
105
|
+
// Always clear pending updates.
|
106
|
+
// We'll either update now, or schedule an update for later.
|
107
|
+
if (pendingUpdateHandle.current) {
|
108
|
+
clearTimeout(pendingUpdateHandle.current);
|
109
|
+
pendingUpdateHandle.current = null;
|
110
|
+
}
|
111
|
+
const now = Date.now();
|
112
|
+
const timeToNextUpdate = BANNER_OVERWRITE_DELAY_MS - (now - visible.lastUpdated);
|
113
|
+
if (variant === 'NO_STATE' || timeToNextUpdate <= 0) {
|
114
|
+
setVisible({
|
115
|
+
variant,
|
116
|
+
lastUpdated: now
|
117
|
+
});
|
118
|
+
}
|
119
|
+
else {
|
120
|
+
pendingUpdateHandle.current = setTimeout(() => {
|
121
|
+
// Set the actual update time, not the computed time when the update should happen.
|
122
|
+
// The actual update might be later than we planned.
|
123
|
+
setVisible({
|
124
|
+
variant,
|
125
|
+
lastUpdated: Date.now()
|
126
|
+
});
|
127
|
+
}, timeToNextUpdate);
|
128
|
+
}
|
129
|
+
}
|
130
|
+
if (visible.variant === 'NO_STATE') {
|
131
|
+
return React.createElement(React.Fragment, null);
|
132
|
+
}
|
133
|
+
return (React.createElement(MessageBar, { messageBarType: MessageBarType.warning, onDismiss: () => {
|
134
|
+
// when closing the banner, change variant to nostate and change stopped state to off state.
|
135
|
+
// Reason: on banner close, going back to the default state.
|
136
|
+
setVisible({
|
137
|
+
variant: 'NO_STATE',
|
138
|
+
lastUpdated: Date.now()
|
139
|
+
});
|
140
|
+
props.onDismiss();
|
141
|
+
}, dismissButtonAriaLabel: props.strings.close },
|
142
|
+
React.createElement(BannerMessage, { variant: visible.variant, strings: props.strings })));
|
143
|
+
}
|
79
144
|
function BannerMessage(props) {
|
80
145
|
const { variant, strings } = props;
|
81
146
|
switch (variant) {
|
package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ComplianceBanner.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/ComplianceBanner.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAA4C,cAAc,EAAE,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"ComplianceBanner.js","sourceRoot":"","sources":["../../../../../../../react-components/src/components/ComplianceBanner/ComplianceBanner.tsx"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAClC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,EAA4C,cAAc,EAAE,MAAM,SAAS,CAAC;AAiDnF,MAAM,yBAAyB,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"version": "1.2.3-alpha-202205140015.0",
|
4
4
|
"sideEffects": false,
|
5
5
|
"description": "React library for building modern communication user experiences utilizing Azure Communication Services",
|
6
6
|
"keywords": [
|
@@ -86,12 +86,12 @@
|
|
86
86
|
"@azure/core-auth": "1.3.2",
|
87
87
|
"@babel/cli": "~7.16.0",
|
88
88
|
"@babel/core": "~7.16.0",
|
89
|
-
"@internal/calling-component-bindings": "1.2.3-alpha-
|
90
|
-
"@internal/calling-stateful-client": "1.2.3-alpha-
|
91
|
-
"@internal/chat-component-bindings": "1.2.3-alpha-
|
92
|
-
"@internal/chat-stateful-client": "1.2.3-alpha-
|
93
|
-
"@internal/react-components": "1.2.3-alpha-
|
94
|
-
"@internal/react-composites": "1.2.3-alpha-
|
89
|
+
"@internal/calling-component-bindings": "1.2.3-alpha-202205140015.0",
|
90
|
+
"@internal/calling-stateful-client": "1.2.3-alpha-202205140015.0",
|
91
|
+
"@internal/chat-component-bindings": "1.2.3-alpha-202205140015.0",
|
92
|
+
"@internal/chat-stateful-client": "1.2.3-alpha-202205140015.0",
|
93
|
+
"@internal/react-components": "1.2.3-alpha-202205140015.0",
|
94
|
+
"@internal/react-composites": "1.2.3-alpha-202205140015.0",
|
95
95
|
"@microsoft/api-documenter": "~7.12.11",
|
96
96
|
"@microsoft/api-extractor": "~7.18.0",
|
97
97
|
"@rollup/plugin-json": "~4.1.0",
|