Skip to content

Commit 2d49718

Browse files
Fix a couple spelling and typo errors
1 parent 2fd3a90 commit 2d49718

30 files changed

+50
-50
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The Angular library is created using the [stream-chat-js](https://github.com/get
4040

4141
We welcome code changes that improve this library or fix a problem. Please make sure to follow all best practices and add tests, if applicable, before submitting a pull request on GitHub. We are pleased to merge your code into the official repository if it meets a need. Make sure to sign our [Contributor License Agreement (CLA)](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) first. See our license file for more details.
4242

43-
## We are hiring!
43+
## We are hiring.
4444

4545
We recently closed a [$38 million Series B funding round](https://techcrunch.com/2021/03/04/stream-raises-38m-as-its-chat-and-activity-feed-apis-power-communications-for-1b-users/) and are actively growing.
4646
Our APIs are used by more than a billion end-users, and by working at Stream, you have the chance to make a huge impact on a team of very strong engineers.

docusaurus/docs/Angular/basics/upgrade-v2.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,15 @@ You can find the full list of breaking changes in stream-chat [v5](https://githu
3131

3232
#### Angular 13
3333

34-
Run the following command to updgrade if you're using Angular 13:
34+
Run the following command to upgrade if you're using Angular 13:
3535

3636
```
3737
npm install [email protected] stream-chat-angular
3838
```
3939

4040
#### Angular 12
4141

42-
Run the following command to updgrade if you're using Angular 12:
42+
Run the following command to upgrade if you're using Angular 12:
4343

4444
```
4545
npm install [email protected] stream-chat-angular@3 --legacy-peer-deps

docusaurus/docs/Angular/basics/upgrade-v3.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Upgrade from v3
55

66
## About version 4
77

8-
Version 4 of stream-chat-angular brings a new and improved theming system. To use the new system please refer to our new [theming guide](../theming/introduction.mdx).
8+
Version 4 of `stream-chat-angular` brings a new and improved theming system. To use the new system please refer to our new [theming guide](../theming/introduction.mdx).
99

1010
## Theme-v1
1111

@@ -15,7 +15,7 @@ Updating from theme-v1 to theme-v2 will require to rewrite your custom CSS code
1515

1616
Theme-v1 is now deprecated and will be removed in a future release.
1717

18-
## Theard layout
18+
## Thread layout
1919

2020
Previously you had to provide a selector for the message list and message input component projected inside the [thread component](../components/ThreadComponent.mdx).
2121

docusaurus/docs/Angular/code-examples/channel-invites.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ First we create a component that will display a pending invitation:
299299
ng g c invitation --inline-template --inline-style
300300
```
301301

302-
Here are the most importnat parts of the component:
302+
Here are the most important parts of the component:
303303

304304
- The component will be displayed inside the [`NotificationList`](../components/NotificationListComponent.mdx) component
305305
- We create an input with `Channel` type, this will be provided by the `NotificationList`
@@ -433,7 +433,7 @@ This is how the invitation notifications look like:
433433
### Channel filter
434434

435435
If a user is invited to a channel they immediately become member of the channel (the membership applies even if the invite is rejected).
436-
This means that if you use a channel filter that is based on membership (for example `{members: {$in: [<user id>]}}`), channels with pending and recejted invites will be returned and displayed in the channel list as well.
436+
This means that if you use a channel filter that is based on membership (for example `{members: {$in: [<user id>]}}`), channels with pending and rejected invites will be returned and displayed in the channel list as well.
437437
If this is not what you need, you can use the [`joined`](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript#channel-queryable-built-in-fields) flag to only list channels that the user was directly added to or the invitation was accepted by the user.
438438

439439
The channel filter can be provided to the `init` method of the [`ChannelService`](../services/ChannelService.mdx), here is an example:
@@ -475,7 +475,7 @@ this.channelService.customAddedToChannelNotificationHandler =
475475

476476
### `notification.invite_accepted` event
477477

478-
The `notification.invite_accepted` event emitted by the [`ChatClientService`](../services/ChatClientService.mdx) signals that the user accepted an invitation to a channel, we should add the channel to the channel list, we can do this by reinitializing the channel list.
478+
The `notification.invite_accepted` event emitted by the [`ChatClientService`](../services/ChatClientService.mdx) signals that the user accepted an invitation to a channel, we should add the channel to the channel list, we can do this by re-initializing the channel list.
479479

480480
Add this to the constructor of your `app.component.ts`:
481481

docusaurus/docs/Angular/code-examples/ionic-guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ npm install -g @ionic/cli native-run cordova-res
1717

1818
## Create the app
1919

20-
Next, create an Ionic Angular app using the "sidemenu" template and add Capacitor for native functionality:
20+
Next, create an Ionic Angular app using the "side menu" template and add Capacitor for native functionality:
2121

2222
```bash
2323
ionic start chat-app sidemenu --type=angular --capacitor

docusaurus/docs/Angular/code-examples/pin-messages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The [`activeChannelPinnedMessages$`](../services/ChannelService.mdx/#activechann
2626
this.channelService.activeChannelPinnedMessages$.subscribe(console.log);
2727
```
2828

29-
- The initial value is retrived from the [channel query response](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript&q=pin#channelstate-response)
29+
- The initial value is retrieved from the [channel query response](https://getstream.io/chat/docs/javascript/query_channels/?language=javascript&q=pin#channelstate-response)
3030
- After that, all pin and unpin actions are reflected in the emitted list
3131

3232
## Pinned messages UI

docusaurus/docs/Angular/code-examples/push-guide.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ Go to the [Firebase Console](https://console.firebase.google.com/), and select t
144144

145145
Click on the gear icon next to **Project Overview** and navigate to **Project settings**.
146146

147-
Navigate to the **Service Accounts** tab. Under **Firebase Admin SDK section**, click on **Generate new private key** button that will generate a _json_ file with the Firebase Credentials.
147+
Navigate to the **Service Accounts** tab. Under **Firebase Admin SDK section**, click on **Generate new private key** button that will generate a _JSON_ file with the Firebase Credentials.
148148

149149
<img src={FirebaseConsoleScreenshot} width="500" />
150150

@@ -154,11 +154,11 @@ Select **Push notifications** from the left menu.
154154

155155
Add a new **Firebase** configuration.
156156

157-
Upload the _json_ file you created in the Firebase console.
157+
Upload the _JSON_ file you created in the Firebase console.
158158

159159
For more information about push configurations see our [Push Providers & Multi Bundle guide](https://getstream.io/chat/docs/javascript/push_providers_and_multi_bundle/?language=javascript)
160160

161-
### Push templates in Stream Dashbaord
161+
### Push templates in Stream Dashboard
162162

163163
The [Capacitor Push API has some limitations around data-only notifications](https://capacitorjs.com/docs/apis/push-notifications#silent-push-notifications--data-only-notifications). The default Firebase APN notification payload works well with the Capacitor Push API, but if you need to send notifications for Android you have to update the **Notification Template** in the **Push Notifications** settings in the **Stream Dashboard**.
164164

@@ -184,4 +184,4 @@ Add the following code to your `android/app/src/main/AndroidManifest.xml` file t
184184
</intent-filter>
185185
```
186186

187-
Add this element as a child to the `activity` element. "OPEN_ACTIVITY_1" is the "click_action" field from your Firebase Notification template.
187+
Add this element as a child to the `activity` element. "OPEN_ACTIVITY_1" is the "`click_action`" field from your Firebase Notification template.

docusaurus/docs/Angular/code-examples/responsive-layout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Provide the layout based on the menu state and hide the menu on bigger screens:
204204
}
205205
```
206206

207-
Lastly, implement autoclose behavior for the channel list:
207+
Lastly, implement auto close behavior for the channel list:
208208

209209
```html
210210
<stream-channel-list

docusaurus/docs/Angular/components/AttachmentListComponent.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The SDK will try to display images and videos with their original aspect ratio,
9191
:::danger
9292
**If you're planning to rewrite attachment sizing with your own CSS code** it's important to note that:
9393

94-
The sizing logic for images and videos inside the [`AttachmentConfigurationService`](../services/AttachmentConfigurationService.mdx) requires that host elements of images and videos (ususally `img` and `video` elements) have `max-height`/`height` and `max-width` properties defined and that these values can be computed to a valid pixel value using the [`getComputedStyle`](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle) (for more information refer to the [Maximum size](#maximum-size) section).
94+
The sizing logic for images and videos inside the [`AttachmentConfigurationService`](../services/AttachmentConfigurationService.mdx) requires that host elements of images and videos (usually `img` and `video` elements) have `max-height`/`height` and `max-width` properties defined and that these values can be computed to a valid pixel value using the [`getComputedStyle`](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle) (for more information refer to the [Maximum size](#maximum-size) section).
9595
:::
9696

9797
[//]: # "Start of generated content"

docusaurus/docs/Angular/components/AttachmentPreviewListComponent.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Screenshot from "../assets/attachment-preview-list-screenshot.png";
22

3-
The `AttachmentPreviewList` compontent displays a preview of the attachments uploaded to a message. Users can delete attachments using the preview component, or retry upload if it failed previously.
3+
The `AttachmentPreviewList` component displays a preview of the attachments uploaded to a message. Users can delete attachments using the preview component, or retry upload if it failed previously.
44

55
**Example 1** - attachment previews
66

0 commit comments

Comments
 (0)