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
To override pre-defined library styles, follow this simple process:
15
+
16
+
-ImportourbundledCSSintoyourrootstylesheet. Wemaintainaseparaterepository, [stream-chat-css](https://github.com/GetStream/stream-chat-css), which houses all of the SCSS files for the components.
-Additionallyyoucanoverrive [thefollowingCSSvariables](https://github.com/GetStream/stream-chat-css/blob/main/src/styles/_variables.scss) to better customize the chat UI
To override pre-defined library styles, follow this simple process:
62
-
63
-
-ImportourbundledCSSintoyourrootstylesheet. Wemaintainaseparaterepository, [stream-chat-css](https://github.com/GetStream/stream-chat-css), which houses all of the SCSS files for the components.
Copy file name to clipboardExpand all lines: projects/stream-chat-angular/README.md
+44-12Lines changed: 44 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,15 +30,38 @@ The best way to get started is to follow the [Angular Chat Tutorial](https://get
30
30
Stream is free for most side and hobby projects. To qualify, your project/company must have no more than 5 team members and earn less than $10k in monthly revenue.
31
31
For complete pricing and details visit our [Chat Pricing Page](https://getstream.io/chat/pricing/).
32
32
33
+
## Docs
34
+
35
+
The [docs](https://getstream.io/chat/docs/sdk/angular/) provide a brief description about the components and services in the library.
36
+
37
+
The Angular library is created using the [stream-chat-js](https://github.com/getstream/stream-chat-js) library. For the most common use cases our services should give a nice abstraction over this library, however you might need it for more advanced customization, the [documentation](https://getstream.io/chat/docs/js/) is on our website.
38
+
39
+
## Contributing
40
+
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
+
43
+
## We are hiring!
44
+
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
+
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.
47
+
48
+
Check out our current openings and apply via [Stream's website](https://getstream.io/team/#jobs).
**Important note** If you are using **Angular 12** you will need to add `--legacy-peer-deps` flag as `@ngx-translate/core`'s newest version only supports Angular 13.
@@ -56,19 +79,28 @@ STREAM_USER_TOKEN=<Your user token>
56
79
57
80
Run `npm start` and navigate to `http://localhost:4200/`.
58
81
59
-
## Docs
82
+
## Customization examples
60
83
61
-
The [docs](https://getstream.io/chat/docs/sdk/angular/) provide a brief description about the components and services in the library.
84
+
This repository includes a sample app that showcases how you can provide your own template for different components within the SDK:
62
85
63
-
The Angular library is created using the [stream-chat-js](https://github.com/getstream/stream-chat-js) library. For the most common use cases our services should give a nice abstraction over this library, however you might need it for more advanced customization, the [documentation](https://getstream.io/chat/docs/js/) is on our website.
86
+
To run the app:
64
87
65
-
## Contributing
88
+
Create a file named `.env` in the root directory with the following content:
66
89
67
-
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.
90
+
```
91
+
STREAM_API_KEY=<Your API key>
92
+
STREAM_USER_ID=<Your user ID>
93
+
STREAM_USER_TOKEN=<Your user token>
94
+
```
68
95
69
-
## We are hiring!
96
+
Run `npm start:customizations-example` and navigate to `http://localhost:4200/`.
70
97
71
-
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.
72
-
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.
98
+
## Local development
73
99
74
-
Check out our current openings and apply via [Stream's website](https://getstream.io/team/#jobs).
100
+
Run `npm install` in the root of the project. You can use the `npm run start:dev` command to start the SampleApp with automatic reloading.
101
+
102
+
A note about the documentation:
103
+
104
+
- Documentations for Angular services are generated from doc comments in the source files (not under source control)
105
+
- Documentations for inputs and outputs of Angular components are generated from doc comments in the source files (not under source control)
106
+
- Everything else in the documentation is written in `mdx` files located in the `docusaurus` folder
0 commit comments