Skip to content

Commit 1778029

Browse files
authored
Merge pull request #289516 from paulth1/communication-services-articles
[AQ] edit pass: Communication services articles
2 parents eea6b87 + e4e3c55 commit 1778029

File tree

8 files changed

+262
-266
lines changed

8 files changed

+262
-266
lines changed

articles/communication-services/concepts/ui-library/includes/mobile-ui-use-cases.md

Lines changed: 117 additions & 110 deletions
Large diffs are not rendered by default.

articles/communication-services/concepts/ui-library/includes/web-ui-use-cases.md

Lines changed: 69 additions & 71 deletions
Large diffs are not rendered by default.

articles/communication-services/concepts/ui-library/ui-library-use-cases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: UI Library use cases
33
titleSuffix: An Azure Communication Services concept document
4-
description: Learn about the UI Library and how it can help you build communication experiences
4+
description: Learn about the Azure Communication Services UI Library and how it can help you build communication experiences.
55
author: kperla97
66
manager: chrispalm
77
services: azure-communication-services

articles/communication-services/quickstarts/ui-library/get-started-chat-ui-library.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: Quickstart - Integrate chat experiences in your app by using UI Library
2+
title: 'Quickstart: Integrate chat experiences in your app by using UI Library'
33
titleSuffix: An Azure Communication Services quickstart
4-
description: Get started with Azure Communication Services UI Library composites to add Chat communication experiences to your applications.
4+
description: Get started with Azure Communication Services UI Library composites to add chat communication experiences to your applications.
55
author: dhiraj
66
ms.author: jorgegarc
77
ms.date: 11/29/2022
@@ -15,7 +15,7 @@ ms.custom: mode-other
1515

1616
Get started with Azure Communication Services UI Library to quickly integrate communication experiences into your applications. In this quickstart, learn how to integrate UI Library chat composites into an application and set up the experience for your app users.
1717

18-
Communication Services UI Library renders a full chat experience right in your application. It takes care of connecting to Azure Communication Services chat services, and updates participant's presence automatically. As a developer, you need to worry about where in your app's user experience you want the chat experience to launch and only create the Azure Communication Services resources as required.
18+
Azure Communication Services UI Library renders a full chat experience right in your application. It takes care of connecting to Azure Communication Services chat services and updates a participant's presence automatically. As a developer, you need to decide about where in your app's user experience you want the chat experience to start and create only the Azure Communication Services resources as required.
1919

2020
::: zone pivot="platform-web"
2121

@@ -37,7 +37,7 @@ Communication Services UI Library renders a full chat experience right in your a
3737

3838
## Clean up resources
3939

40-
If you want to clean up and remove a Communication Services subscription, you can delete the resource or resource group.
40+
If you want to clean up and remove an Azure Communication Services subscription, you can delete the resource or resource group.
4141

4242
Deleting the resource group also deletes any other resources associated with it.
4343

articles/communication-services/quickstarts/ui-library/includes/get-started-chat/android.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,34 +8,33 @@ ms.service: azure-communication-services
88

99
[!INCLUDE [Public Preview Notice](../../../../includes/public-preview-include.md)]
1010

11-
Get the sample Android application for this [quickstart](https://github.com/Azure-Samples/communication-services-android-quickstarts/tree/main/ui-chat) in the open source Azure Communication Services [UI Library for Android](https://github.com/Azure/communication-ui-library-android).
11+
Get the sample Android application for this [quickstart](https://github.com/Azure-Samples/communication-services-android-quickstarts/tree/main/ui-chat) in the open-source Azure Communication Services [UI Library for Android](https://github.com/Azure/communication-ui-library-android).
1212

1313
## Prerequisites
1414

1515
- An Azure account and an active Azure subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1616
- An OS running [Android Studio](https://developer.android.com/studio).
17-
- A deployed [Azure Communication Services resource](../../../create-communication-resource.md), note the endpoint URL.
17+
- A deployed [Azure Communication Services resource](../../../create-communication-resource.md). Note the endpoint URL.
1818
- An Azure Communication Services [access token](../../../identity/quick-create-identity.md) and user identifier.
19-
- An Azure Communication Services [chat thread](../../../chat/get-started.md) with above user added to it.
20-
19+
- An Azure Communication Services [chat thread](../../../chat/get-started.md) with the user from the previous step added to it.
2120

2221
## Set up the project
2322

2423
Complete the following sections to set up the quickstart project.
2524

2625
### Create a new Android project
2726

28-
In Android Studio, create a new project:
27+
In Android Studio, create a new project.
2928

30-
1. In the **File** menu, select **New** > **New Project**.
29+
1. On the **File** menu, select **New** > **New Project**.
3130

32-
1. In **New Project**, select the **Empty Activity** project template.
31+
1. On **New Project**, select the **Empty Activity** project template.
3332

3433
:::image type="content" source="../../media/composite-android-new-project.png" alt-text="Screenshot that shows the New Project dialog in Android Studio with Empty Activity selected.":::
3534

3635
1. Select **Next**.
3736

38-
1. In **Empty Activity**, name the project **UILibraryQuickStart**. For language, select **Java/Kotlin**. For the minimum SDK, select **API 23: Android 6.0 (Marshmallow)** or later.
37+
1. On **Empty Activity**, name the project **UILibraryQuickStart**. For language, select **Java/Kotlin**. For the minimum SDK, select **API 23: Android 6.0 (Marshmallow)** or later.
3938

4039
1. Select **Finish**.
4140

@@ -59,11 +58,11 @@ dependencies {
5958

6059
### Add Maven repositories
6160

62-
The Azure package repository is required to integrate the library:
61+
The Azure package repository is required to integrate the library.
6362

6463
To add the repository:
6564

66-
1. In your project Gradle scripts, ensure that the following repositories are added. For Android Studio (2020.\*), `repositories` is in `settings.gradle`, under `dependencyResolutionManagement(Gradle version 6.8 or greater)`. For earlier versions of Android Studio (4.\*), `repositories` is in the project-level `build.gradle`, under `allprojects{}`.
65+
1. In your project Gradle scripts, ensure that the following repositories are added. For Android Studio (2020.\*), `repositories` is in `settings.gradle`, under `dependencyResolutionManagement(Gradle version 6.8 or greater)`. For earlier versions of Android Studio (4.\*), `repositories` is in the project-level `build.gradle`, under `allprojects{}`.
6766

6867
```groovy
6968
// dependencyResolutionManagement
@@ -110,7 +109,7 @@ To initialize the composite:
110109

111110
1. Go to `MainActivity`.
112111

113-
1. Add the following code to initialize your composite components for calling. Replace the string values for properties (kotlin) or functions (java) for `endpoint`, `acsIdentity`, `displayName`, `accessToken` and `ThreadId`. Replace `endpoint` with the URL for your resource as provided by Azure Communication Services. Replace `acsIdentity` and `accessToken` with the values provided by Azure Communication Services when you created the access token and use a relevant displayName. Replace `ThreadId` with the value returned when you created the thread. Remember to add the user to the thread via REST API call, or the az command line interface client before you try to run the quick start sample or the client will be denied access to join the thread.
112+
1. Add the following code to initialize your composite components for calling. Replace the string values for properties (`kotlin`) or functions (`java`) for `endpoint`, `acsIdentity`, `displayName`, `accessToken`, and `ThreadId`. Replace `endpoint` with the URL for your resource as provided by Azure Communication Services. Replace `acsIdentity` and `accessToken` with the values provided by Azure Communication Services when you created the access token, and use a relevant `displayName`. Replace `ThreadId` with the value returned when you created the thread. Add the user to the thread via REST API call or the az command-line interface client before you try to run the quickstart sample. Otherwise, the client is denied access to join the thread.
114113

115114
#### [Kotlin](#tab/kotlin)
116115

@@ -335,10 +334,10 @@ public class MainActivity extends AppCompatActivity {
335334

336335
## Run the code
337336

338-
In Android Studio, build and start the application:
337+
In Android Studio, build and start the application.
339338

340339
1. Select **Start Experience**.
341-
1. The chat client will join the chat thread and you can start typing and sending messages
342-
1. If the client is not able to join the thread, and you see chatJoin failed errors, verify that your user's access token is valid and that the user has been added to the chat thread by REST API call, or by using the `az` command line interface.
340+
1. The chat client joins the chat thread, and you can start typing and sending messages.
341+
1. If the client can't join the thread and you see `chatJoin` failed errors, verify that your user's access token is valid and that the user was added to the chat thread by REST API call or by using the `az` command-line interface.
343342

344343
:::image type="content" source="../../media/quickstart-chat.gif" alt-text="GIF animation that shows an example of how the project runs on an Android device.":::

articles/communication-services/quickstarts/ui-library/includes/get-started-chat/ios.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@ ms.service: azure-communication-services
88

99
[!INCLUDE [Public Preview Notice](../../../../includes/public-preview-include.md)]
1010

11-
Get the sample iOS application for this [quickstart](https://github.com/Azure-Samples/communication-services-ios-quickstarts/tree/main/ui-chat) in the open source Azure Communication Services [UI Library for iOS](https://github.com/Azure/communication-ui-library-ios).
11+
Get the sample iOS application for this [quickstart](https://github.com/Azure-Samples/communication-services-ios-quickstarts/tree/main/ui-chat) in the open-source Azure Communication Services [UI Library for iOS](https://github.com/Azure/communication-ui-library-ios).
1212

1313
## Prerequisites
1414

1515
- An Azure account and an active Azure subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
1616
- A Mac running [Xcode](https://go.microsoft.com/fwLink/p/?LinkID=266532) 13 or later and a valid developer certificate installed in your keychain. [CocoaPods](https://cocoapods.org/) must also be installed to fetch dependencies.
17-
- A deployed [Azure Communication Services resource](../../../create-communication-resource.md), note the endpoint URL.
17+
- A deployed [Azure Communication Services resource](../../../create-communication-resource.md). Note the endpoint URL.
1818
- An Azure Communication Services [access token](../../../identity/quick-create-identity.md) and user identifier.
19-
- An Azure Communication Services [chat thread](../../../chat/get-started.md) and now add the user you created in the last step to this chat thread.
19+
- An Azure Communication Services [chat thread](../../../chat/get-started.md). Add the user you created in the previous step to this chat thread.
2020

2121
## Set up the project
2222

2323
Complete the following sections to set up the quickstart project.
2424

2525
### Create a new Xcode project
2626

27-
In Xcode, create a new project:
27+
In Xcode, create a new project.
2828

29-
1. In the **File** menu, select **New** > **Project**.
29+
1. On the **File** menu, select **New** > **Project**.
3030

31-
1. In **Choose a template for your new project**, select the **iOS** platform and select the **App** application template. The quickstart uses the UIKit storyboards.
31+
1. On **Choose a template for your new project**, select the **iOS** platform and select the **App** application template. The quickstart uses the UIKit storyboards.
3232

3333
:::image type="content" source="../../media/xcode-new-project-template-select.png" alt-text="Screenshot that shows the Xcode new project dialog, with iOS and the App template selected.":::
3434

35-
1. In **Choose options for your new project**, for the product name, enter **UILibraryQuickStart**. For the interface, select **Storyboard**. The quickstart doesn't create tests, so you can clear the **Include Tests** checkbox.
35+
1. On **Choose options for your new project**, for the product name, enter **UILibraryQuickStart**. For the interface, select **Storyboard**. The quickstart doesn't create tests, so you can clear the **Include Tests** checkbox.
3636

3737
:::image type="content" source="../../media/xcode-new-project-details.png" alt-text="Screenshot that shows setting new project options in Xcode.":::
3838

@@ -69,7 +69,7 @@ To initialize the composite:
6969

7070
1. Go to `ViewController`.
7171

72-
2. Add the following code to initialize your composite components for a chat. Replace `<USER_ID>` with user identifier. Replace `<USER_ACCESS_TOKEN>` with your access token. Replace `<ENDPOINT_URL>` with your endpoint URL. Replace `<THREAD_ID>` with your chat thread ID. Replace `<DISPLAY_NAME>` with your name. (The string length limit for `<DISPLAY_NAME>` is 256 characters).
72+
1. Add the following code to initialize your composite components for a chat. Replace `<USER_ID>` with user identifier. Replace `<USER_ACCESS_TOKEN>` with your access token. Replace `<ENDPOINT_URL>` with your endpoint URL. Replace `<THREAD_ID>` with your chat thread ID. Replace `<DISPLAY_NAME>` with your name. (The string length limit for `<DISPLAY_NAME>` is 256 characters).
7373

7474
```swift
7575
import UIKit
@@ -149,14 +149,14 @@ To initialize the composite:
149149
150150
```
151151

152-
3. If you choose to put chat view in a frame that is smaller than the screen size, the recommended minimum width is 250 and the recommended minimum height is 300.
152+
1. If you choose to put chat view in a frame that's smaller than the screen size, we recommend the minimum width of 250 and the minimum height of 300.
153153
154154
## Run the code
155155
156-
To build and run your app on the iOS simulator, select **Product** > **Run** or use the (&#8984;-R) keyboard shortcut. Then, try out the chat experience on the simulator:
156+
To build and run your app on the iOS simulator, select **Product** > **Run**. You can also use the (&#8984;-R) keyboard shortcut. Then, try out the chat experience on the simulator.
157157
158158
1. Select **Start Experience**.
159-
2. The chat client will join the chat thread and you can start typing and sending messages.
160-
3. If the client isn't able to join the thread, and you see `chatJoin` failed errors, verify that your user's access token is valid and that the user has been added to the chat thread by REST API call, or by using the az command line interface.
159+
1. The chat client joins the chat thread, and you can start typing and sending messages.
160+
1. If the client can't join the thread and you see `chatJoin` failed errors, verify that your user's access token is valid and that the user was added to the chat thread by REST API call or by using the az command-line interface.
161161
162162
:::image type="content" source="../../media/quick-start-chat-composite-running-ios.gif" alt-text="GIF animation that demonstrates the final look and feel of the quickstart iOS app.":::
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: In this tutorial, you learn how to use the Chat composite on Web
2+
description: In this tutorial, you learn how to use the chat composite on the web.
33
author: garchiro7
44
ms.author: jorgegarc
55
ms.date: 5/1/2023
@@ -8,22 +8,22 @@ ms.service: azure-communication-services
88
---
99

1010
> [!NOTE]
11-
> For detailed documentation and quickstarts about the Web UI Library visit the [**Web UI Library Storybook**](https://aka.ms/acsstorybook).
11+
> For detailed documentation and quickstarts about the web UI Library, see the [web UI Library storybook](https://aka.ms/acsstorybook).
1212
1313
## Prerequisites
1414

1515
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
16-
- A deployed Communication Services resource. [Create a Communication Services resource](../../../create-communication-resource.md).
17-
- Azure Communication Services Token. See [example](../../../identity/quick-create-identity.md)
16+
- A deployed Azure Communication Services resource. [Create an Azure Communication Services resource](../../../create-communication-resource.md).
17+
- An Azure Communication Services token. See [this example](../../../identity/quick-create-identity.md).
1818

19-
### You can access the following quickstarts
19+
### Access these quickstarts
2020

21-
- [UI Components](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/ui-library-quickstart-ui-components)
21+
- [UI components](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/ui-library-quickstart-ui-components)
2222
- [Composites](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/ui-library-quickstart-composites)
23-
- [Stateful Client (Chat)](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/ui-library-starting-with-chat-stateful)
23+
- [Stateful client (chat)](https://github.com/Azure-Samples/communication-services-javascript-quickstarts/tree/main/ui-library-starting-with-chat-stateful)
2424

25-
### You can access the following storybooks
25+
### Access these storybooks
2626

27-
- [UI Components](https://azure.github.io/communication-ui-library/?path=/docs/components-get-started--docs)
27+
- [UI components](https://azure.github.io/communication-ui-library/?path=/docs/components-get-started--docs)
2828
- [Composites](https://azure.github.io/communication-ui-library/?path=/docs/composites-get-started--docs)
29-
- [Stateful Client (Chat)](https://azure.github.io/communication-ui-library/?path=/docs/stateful-client-get-started-chat--docs)
29+
- [Stateful client (chat)](https://azure.github.io/communication-ui-library/?path=/docs/stateful-client-get-started-chat--docs)

0 commit comments

Comments
 (0)