How to customize the lobby experience #1530
alkwa-msft
started this conversation in
Show and tell
Replies: 2 comments 5 replies
-
Is there a way to use different customized react components in lobby |
Beta Was this translation helpful? Give feedback.
1 reply
-
@alkwa-msft Excellent work! Is it possible to play custom music while user wait in the lobby? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today I will be going through how to customize the lobby experience when joining a Teams call.
A great use case for using Azure Communication Services is the ability to customize the composite experience. We wanted to make sure everything we build with can be customized to fit your needs. Localization and Icons can be a particular area that can help customers drive their own unique experiences.
We have exposed our icons and locales so you can use them in your own Azure Communication Services experiences or can be overridden with your own. Locales and Icons are both exposed as objects which need to be imported. These objects leverage a key/value system to map correct assets to the correct areas of our code. Today I will be demonstrating how to override specific assets to create a customized experience.
There are 3 main steps to customize the lobby screen.
I imported the locales (COMPOSITE_LOCALE_EN_US) and icons (DEFAULT_COMPOSITE_ICONS).
For strings we just need to remap the correct string. Please consider setting an appropriate
string for the correct locale. (e.g if you only override English but you are using French)
locale.strings.call.lobbyScreenWaitingToBeAdmittedTitle = "Please wait for the next available agent"
Icons are a little more complicated. The value needs to be a JSX.Element. This means it could
be anything but today lets just put in an emoji.
icons.LobbyScreenWaitingToBeAdmitted = <>👋</>
Apply the customized objects as props into the CallComposite.
If you want to try this out.
https://gist.github.com/alkwa-msft/cc4866710ac90c0f5dd4c41e76ce024b
Here is what it would look like
If you would like to know more about localization and icons please check out our storybook
Beta Was this translation helpful? Give feedback.
All reactions