Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "prerelease",
"area": "feature",
"workstream": "Custom Branding",
"comment": "Include ability to set background image and logo in CallComposites in beta packages",
"packageName": "@azure/communication-react",
"email": "2684369+JamesBurnside@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"type": "prerelease",
"area": "feature",
"workstream": "Custom Branding",
"comment": "Include ability to set background image and logo in CallComposites in beta packages",
"packageName": "@azure/communication-react",
"email": "2684369+JamesBurnside@users.noreply.github.com",
"dependentChangeType": "patch"
}
2 changes: 0 additions & 2 deletions common/config/babel/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ module.exports = {
"gallery-layout-composite",
// feature for hiding attendee name in the teams meeting
"hide-attendee-name",
// custom branding for the composites
"custom-branding",
// Feature for sounds during different calling events
"calling-sounds",
// Feature for end of call survey
Expand Down
18 changes: 10 additions & 8 deletions packages/storybook/stories/CallComposite/CallCompositeDocs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,15 @@ const callParticipantsLocatorSnippet = `

const customBrandingSnippet = `
<CallComposite options={{
logo: {
url: 'https://...',
alt: 'My company logo',
shape: 'circle'
},
backgroundImage: {
url: 'https://...'
branding: {
logo: {
url: 'https://...',
alt: 'My company logo',
shape: 'circle'
},
backgroundImage: {
url: 'https://...'
}
}
}} />
`;
Expand Down Expand Up @@ -190,7 +192,7 @@ export const Docs: () => JSX.Element = () => {
</div>

<Heading>Custom Branding</Heading>
<SingleLineBetaBanner version="1.12.0-beta.1" />
<SingleLineBetaBanner version="1.13.0-beta.1" />
<Description>
Along with applying a Fluent Theme to style the composites, you can also inject your own custom branding. You
can inject a background and logo into the Composite configuration page to present to your users. This is done by
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ options={{

const customBrandingSnippet = `
<CallWithChatComposite options={{
logo: {
url: 'https://...',
alt: 'My company logo',
shape: 'circle'
},
backgroundImage: {
url: 'https://...'
branding: {
logo: {
url: 'https://...',
alt: 'My company logo',
shape: 'circle'
},
backgroundImage: {
url: 'https://...'
}
}
}} />
`;
Expand Down Expand Up @@ -146,7 +148,7 @@ export const Docs: () => JSX.Element = () => {
</Description>

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