You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ The Angular library is created using the [stream-chat-js](https://github.com/get
40
40
41
41
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.
42
42
43
-
## We are hiring!
43
+
## We are hiring.
44
44
45
45
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.
46
46
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.
Copy file name to clipboardExpand all lines: docusaurus/docs/Angular/basics/upgrade-v3.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ title: Upgrade from v3
5
5
6
6
## About version 4
7
7
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).
9
9
10
10
## Theme-v1
11
11
@@ -15,7 +15,7 @@ Updating from theme-v1 to theme-v2 will require to rewrite your custom CSS code
15
15
16
16
Theme-v1 is now deprecated and will be removed in a future release.
17
17
18
-
## Theard layout
18
+
## Thread layout
19
19
20
20
Previously you had to provide a selector for the message list and message input component projected inside the [thread component](../components/ThreadComponent.mdx).
Copy file name to clipboardExpand all lines: docusaurus/docs/Angular/code-examples/channel-invites.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -299,7 +299,7 @@ First we create a component that will display a pending invitation:
299
299
ng g c invitation --inline-template --inline-style
300
300
```
301
301
302
-
Here are the most importnat parts of the component:
302
+
Here are the most important parts of the component:
303
303
304
304
- The component will be displayed inside the [`NotificationList`](../components/NotificationListComponent.mdx) component
305
305
- 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:
433
433
### Channel filter
434
434
435
435
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.
437
437
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.
438
438
439
439
The channel filter can be provided to the `init` method of the [`ChannelService`](../services/ChannelService.mdx), here is an example:
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.
479
479
480
480
Add this to the constructor of your `app.component.ts`:
- 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)
30
30
- After that, all pin and unpin actions are reflected in the emitted list
Copy file name to clipboardExpand all lines: docusaurus/docs/Angular/code-examples/push-guide.mdx
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,7 +144,7 @@ Go to the [Firebase Console](https://console.firebase.google.com/), and select t
144
144
145
145
Click on the gear icon next to **Project Overview** and navigate to **Project settings**.
146
146
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.
148
148
149
149
<imgsrc={FirebaseConsoleScreenshot}width="500" />
150
150
@@ -154,11 +154,11 @@ Select **Push notifications** from the left menu.
154
154
155
155
Add a new **Firebase** configuration.
156
156
157
-
Upload the _json_ file you created in the Firebase console.
157
+
Upload the _JSON_ file you created in the Firebase console.
158
158
159
159
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)
160
160
161
-
### Push templates in Stream Dashbaord
161
+
### Push templates in Stream Dashboard
162
162
163
163
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**.
164
164
@@ -184,4 +184,4 @@ Add the following code to your `android/app/src/main/AndroidManifest.xml` file t
184
184
</intent-filter>
185
185
```
186
186
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.
Copy file name to clipboardExpand all lines: docusaurus/docs/Angular/components/AttachmentListComponent.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ The SDK will try to display images and videos with their original aspect ratio,
91
91
:::danger
92
92
**If you're planning to rewrite attachment sizing with your own CSS code** it's important to note that:
93
93
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).
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.
0 commit comments