Commit Graph
1262 Commits
Author SHA1 Message Date
Sahil KumarandGitHub 63e1b13afe Merge pull request #601 from GetStream/cds-362 2021-08-05 13:32:36 +05:30
Sahil Kumar 1f48e57160 chore(ui): address PR feedback
Signed-off-by: xsahil03x <[email protected]>
2021-08-05 13:06:11 +05:30
groovinchip 8de0eab7cb chore: update CHANGELOG.md 2021-08-04 12:24:56 -04:00
groovinchip 8a4632e6e2 chore: address PR feedback 2021-08-04 12:03:37 -04:00
groovinchip f0cf4fd6db chore: use ChannelPreviewTheme.of(context) in channel_bottom_sheet.dart 2021-08-04 11:40:10 -04:00
groovinchip 70c77e70e5 chore: use ChannelHeaderTheme.of(context) in thread_header.dart 2021-08-04 11:36:58 -04:00
groovinchip 55cb5ead04 chore: use ChannelPreviewTheme.of(context) in message_search_item.dart 2021-08-04 11:34:30 -04:00
Sahil KumarandGitHub df0a59fd5a Update packages/stream_chat/CHANGELOG.md 2021-08-03 19:30:57 +05:30
Tom BeckettandGitHub 558845aabc chore(llc): version changelog bymp 2021-08-03 14:53:19 +01:00
Tom BeckettandGitHub 5f10220bce chore(llc): Moved entry to correct heading. 2021-08-03 14:52:41 +01:00
Tom Beckett dd5b9bb256 fix(llc): channel.markAllRead 2021-08-03 14:40:53 +01:00
Tom Beckett 8ba82e8931 chore(llc): add changelog entry 2021-08-03 14:40:16 +01:00
Tom BeckettandGitHub 7aafc405f1 fix: Add missing forward slash to markAllRead url
# Submit a pull request

## CLA

- [x] I have signed the [Stream CLA](https://docs.google.com/forms/d/e/1FAIpQLScFKsKkAJI7mhCr7K9rEIOpqIDThrWxuvxnwUq2XkHyG154vQ/viewform) (required).
- [x] The code changes follow best practices
- [ ] Code changes are tested (add some information if not applicable)

## Description of the pull request

Running latest GetStream SDK (from version 2.0.0) calling `channel.markAllRead()` will throw an error similar to this:

```bash
I/flutter (10572): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (10572): StreamChatNetworkError(code: -1, message: SocketException: Failed host lookup: 'chat-us-east-1.stream-io-api.comchannels' (OS Error: No address associated with hostname, errno = 7))
I/flutter (10572): #0      StreamHttpClient.post (package:stream_chat/src/core/http/stream_http_client.dart:158:7)
I/flutter (10572): <asynchronous suspension>
I/flutter (10572): #1      ChannelApi.markAllRead (package:stream_chat/src/core/api/channel_api.dart:87:22)
I/flutter (10572): <asynchronous suspension>
I/flutter (10572): ----------------------------------------------------
```

Adding a `/` to the front of the called URL will resolve this - I've done this locally and it works.
2021-08-03 14:26:03 +01:00
groovinchip 6e6ce8c7f3 test: fix mid-lerp test in channel_header_theme_test.dart 2021-08-02 14:44:36 -04:00
groovinchip e5270e60d0 chore: merge latest dev 2021-08-02 13:15:28 -04:00
groovinchip d5f38fa545 test: fixed failing test in channel_preview_theme_test.dart 2021-08-02 12:58:31 -04:00
groovinchip 26b2bf3f18 test: add test for ChannelListHeaderTheme 2021-08-02 12:02:18 -04:00
groovinchip 34476db6f4 chore: update ChannelListHeaderTheme 2021-08-02 11:52:45 -04:00
groovinchip 51e0eb9a13 chore: use ChannelPreviewTheme.of(context) rather than StreamChatTheme.of(context).channelPreviewTheme 2021-08-02 11:02:55 -04:00
groovinchip c3d2896071 test: add tests for MessageTheme 2021-08-02 10:56:06 -04:00
groovinchip 628ef401d4 chore: update message_theme.dart
Includes Diagnosticable, more descriptive field names, lerp, ==, and hashCode
2021-08-02 10:47:38 -04:00
groovinchip 5e1eb7a320 test: add tests for ChannelPreviewTheme 2021-08-02 09:53:39 -04:00
groovinchip a06e6075d7 chore: add ChannelPreviewTheme inherited theme and documentation 2021-08-02 09:38:15 -04:00
groovinchip d8ca465b91 chore: add lerp, == and hashCode to ChannelPreviewTheme 2021-08-02 09:24:17 -04:00
groovinchip 37f4ee720e chore: rename ChannelPreviewTheme to ChannelPreviewThemeData 2021-07-30 13:52:07 -04:00
groovinchip c5d53de53c chore: rename ChannelPreviewTheme.lastMessageAt to .lastMessageAtStyle 2021-07-30 13:50:42 -04:00
groovinchip 008dc0b1df chore: add diagnosticable properties to channel_preview_theme.dart 2021-07-30 13:48:49 -04:00
groovinchip f55110c458 fix: instances where new naming wasn't applied 2021-07-30 13:45:58 -04:00
groovinchip 019bd5d5da chore: run dartfmt on changed files 2021-07-30 13:44:53 -04:00
groovinchip 6765854132 chore: rename ChannelPreviewTheme.title and .subtitle to .titleStyle and .subtitleStyle 2021-07-30 13:43:22 -04:00
groovinchip c7d399704e test: Merging two MessageInputThemeData results in the latter 2021-07-30 11:35:32 -04:00
groovinchip 5b99507db3 test: lerp halfway from light to dark 2021-07-30 11:34:46 -04:00
Sahil Kumar f0f2418e92 test(ui): fix lerp dark to light test
Signed-off-by: Sahil Kumar <[email protected]>
2021-07-30 20:39:10 +05:30
groovinchip cc89edc244 test: fix light to dark test, add dark to light test 2021-07-30 10:30:33 -04:00
Salvatore Giordano 6a32a29311 chore(ui): 2.1.2 2021-07-30 16:08:56 +02:00
Sahil Kumar 0837c5576d chore(ui): update changelog
Signed-off-by: xsahil03x <[email protected]>
2021-07-30 15:03:19 +05:30
Sahil Kumar 7561125a05 fix(ui): add null-check in currentUserMember
Signed-off-by: xsahil03x <[email protected]>
2021-07-30 14:59:52 +05:30
groovinchip 822b0ad725 test: start testing MessageInputTheme 2021-07-29 13:59:02 -04:00
groovinchip 1aa6298799 chore: use MessageInputTheme in message_input.dart 2021-07-29 11:07:17 -04:00
groovinchip 700ce9a775 chore: add a MessageInputTheme inherited theme 2021-07-29 11:02:29 -04:00
Salvatore GiordanoandGitHub 7f589edeb1 Merge pull request #587 from GetStream/docs/addingLocalization
docs(localization): polishing
2021-07-29 16:58:30 +02:00
groovinchip 8fb45ec4d1 chore: rename MessageInputTheme to MessageInputThemeData 2021-07-29 10:50:03 -04:00
groovinchip 5afc274a6d chore: add lerp, hashcode, ==, and diagnosticable to message_input_theme.dart 2021-07-29 10:48:52 -04:00
GordonandGitHub 276f6a1efc docs: spelling and grammar 2021-07-29 16:34:57 +02:00
GordonandGitHub afc636bcda docs: move header 2021-07-29 15:56:44 +02:00
GordonandGitHub f159f4e23e docs: add image 2021-07-29 15:54:56 +02:00
groovinchip 15defc4caa chore: remove unnecessary ChannelTheme class 2021-07-29 09:23:50 -04:00
Gordon Hayes 47fe22e03d docs: additional localization examples 2021-07-29 14:54:57 +02:00
Gordon Hayes 8f7163b3a0 fix: ios build config 2021-07-29 14:50:36 +02:00
Salvatore Giordano f893d906aa fix typo 2021-07-29 14:21:01 +02:00