Skip to content

Commit 0a7f776

Browse files
Move custom branding out of in-progress and into beta builds (#3968)
1 parent 4082eb0 commit 0a7f776

5 files changed

Lines changed: 38 additions & 18 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "Custom Branding",
5+
"comment": "Include ability to set background image and logo in CallComposites in beta packages",
6+
"packageName": "@azure/communication-react",
7+
"email": "2684369+JamesBurnside@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"type": "prerelease",
3+
"area": "feature",
4+
"workstream": "Custom Branding",
5+
"comment": "Include ability to set background image and logo in CallComposites in beta packages",
6+
"packageName": "@azure/communication-react",
7+
"email": "2684369+JamesBurnside@users.noreply.github.com",
8+
"dependentChangeType": "patch"
9+
}

common/config/babel/features.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ module.exports = {
9999
"gallery-layout-composite",
100100
// feature for hiding attendee name in the teams meeting
101101
"hide-attendee-name",
102-
// custom branding for the composites
103-
"custom-branding",
104102
// Feature for sounds during different calling events
105103
"calling-sounds",
106104
// Feature for end of call survey

packages/storybook/stories/CallComposite/CallCompositeDocs.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ const callParticipantsLocatorSnippet = `
3535

3636
const customBrandingSnippet = `
3737
<CallComposite options={{
38-
logo: {
39-
url: 'https://...',
40-
alt: 'My company logo',
41-
shape: 'circle'
42-
},
43-
backgroundImage: {
44-
url: 'https://...'
38+
branding: {
39+
logo: {
40+
url: 'https://...',
41+
alt: 'My company logo',
42+
shape: 'circle'
43+
},
44+
backgroundImage: {
45+
url: 'https://...'
46+
}
4547
}
4648
}} />
4749
`;
@@ -190,7 +192,7 @@ export const Docs: () => JSX.Element = () => {
190192
</div>
191193

192194
<Heading>Custom Branding</Heading>
193-
<SingleLineBetaBanner version="1.12.0-beta.1" />
195+
<SingleLineBetaBanner version="1.13.0-beta.1" />
194196
<Description>
195197
Along with applying a Fluent Theme to style the composites, you can also inject your own custom branding. You
196198
can inject a background and logo into the Composite configuration page to present to your users. This is done by

packages/storybook/stories/CallWithChatComposite/CallWithChatCompositeDocs.tsx

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,15 @@ options={{
3232

3333
const customBrandingSnippet = `
3434
<CallWithChatComposite options={{
35-
logo: {
36-
url: 'https://...',
37-
alt: 'My company logo',
38-
shape: 'circle'
39-
},
40-
backgroundImage: {
41-
url: 'https://...'
35+
branding: {
36+
logo: {
37+
url: 'https://...',
38+
alt: 'My company logo',
39+
shape: 'circle'
40+
},
41+
backgroundImage: {
42+
url: 'https://...'
43+
}
4244
}
4345
}} />
4446
`;
@@ -146,7 +148,7 @@ export const Docs: () => JSX.Element = () => {
146148
</Description>
147149

148150
<Heading>Custom Branding</Heading>
149-
<SingleLineBetaBanner version="1.12.0-beta.1" />
151+
<SingleLineBetaBanner version="1.13.0-beta.1" />
150152
<Description>
151153
Along with applying a Fluent Theme to style the composites, you can also inject your own custom branding. You
152154
can inject a background and logo into the Composite configuration page to present to your users. This is done by

0 commit comments

Comments
 (0)