Commit Graph
4046 Commits
Author SHA1 Message Date
d62e9a81b0 Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:41:20 +05:30
8edf68b3b9 Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:40:40 +05:30
6ff32fb26c Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:40:25 +05:30
9b6c2df1d7 Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:39:30 +05:30
6afe6a83f5 Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Gordon <[email protected]>
2021-07-16 20:39:06 +05:30
Deven Joshi 18be18678b fix: details 2021-07-16 20:35:21 +05:30
Deven Joshi a7044b84a1 Merge remote-tracking branch 'origin/mig-guide' into mig-guide 2021-07-16 20:25:02 +05:30
Deven Joshi a9c9d40ba5 fix: details 2021-07-16 20:24:50 +05:30
Salvatore Giordano 1e54f1198b replace summary with bold 2021-07-16 16:48:10 +02:00
Deven Joshi 0bc3efdecc fix: details 2021-07-16 20:02:01 +05:30
Deven Joshi 4d1625c306 fix: details 2021-07-16 20:01:35 +05:30
Deven Joshi 9c4216d976 fix: fmt 2021-07-16 20:00:22 +05:30
Deven Joshi cc76c3b8ff feat: Added mig guide (sc) 2021-07-16 19:59:11 +05:30
Deven Joshi 9bf0aac3fa feat: Added mig guide (scfc) 2021-07-16 19:12:30 +05:30
Deven Joshi 5ae9933321 feat: Added mig guide (scf) 2021-07-16 18:47:02 +05:30
Sahil Kumar 9a2ec7ca84 fix: sync events only in case persistence is enabled
Signed-off-by: xsahil03x <[email protected]>
2021-07-16 18:32:38 +05:30
Salvatore Giordano e0153b4852 fix analyzer 2021-07-16 13:15:50 +02:00
Salvatore Giordano 0e9ec8600a update version.dart 2021-07-16 13:11:53 +02:00
Salvatore Giordano e0ede7abfe Merge branch 'develop' into release/2.0.0 2021-07-16 12:52:43 +02:00
Sahil KumarandGitHub 633bcb750d Merge pull request #548 from GetStream/hotfix/backgroundDisconnection
fix: use inactive as a foreground state
2021-07-16 16:16:29 +05:30
Salvatore Giordano 1d79f9aac1 update stream_chat_flutter changelog 2021-07-16 12:44:46 +02:00
Salvatore GiordanoandGitHub 3a2c50158a Merge branch 'master' into release/2.0.0 2021-07-16 12:32:27 +02:00
Salvatore Giordano 16c31231bc update stream_chat_flutter changelog 2021-07-16 12:27:54 +02:00
Salvatore Giordano 26dea38e33 update stream_chat_flutter_core changelog 2021-07-16 12:27:48 +02:00
Salvatore Giordano 0a491eed7d update stream_chat_persistence changelog 2021-07-16 12:27:39 +02:00
Salvatore Giordano 1a55ae57e4 update stream_chat changelog 2021-07-16 12:27:31 +02:00
Salvatore Giordano 35b969994e update pubspecs 2021-07-16 12:27:25 +02:00
Salvatore GiordanoandGitHub bf90f0a3b1 Merge pull request #541 from GetStream/user-list-core-fix
fix: Core fixes and category position adjustments
2021-07-16 11:57:19 +02:00
Salvatore GiordanoandGitHub 00ba6efc12 Merge pull request #549 from GetStream/fix/channel-image
fix(ui-kit)!: channel image
2021-07-16 11:56:34 +02:00
Sahil Kumar 9a3d094282 chore: fix analyzer warnings
Signed-off-by: xsahil03x <[email protected]>
2021-07-16 14:51:32 +05:30
Sahil Kumar cb0f47e02c fix: tutorial_part_3.dart
Signed-off-by: xsahil03x <[email protected]>
2021-07-16 14:48:07 +05:30
xsahil03x ec85fb962d Merge remote-tracking branch 'origin/develop' into fix/channel-image
# Conflicts:
#	packages/stream_chat_flutter/test/src/channel_image_test.dart
2021-07-16 14:46:29 +05:30
Sahil Kumar 4533828fe8 chore: fix analyzer issues
Signed-off-by: xsahil03x <[email protected]>
2021-07-16 14:42:22 +05:30
Deven Joshi 2edbfca152 feat: Added additional guide 2021-07-16 14:31:11 +05:30
Reuben TurnerandGitHub b306978da6 chore: apply linter to the various example and test directories (#550)
* chore: remove examples and tests from analysis exclusion

* chore: apply linter fixes to stream_chat_flutter_core/example/main.dart

* chore: apply linter fixes to stream_chat_flutter/example/main.dart

* chore: apply linter fixes to stream_chat_persistence/example/main.dart

* chore: apply linter fixes to stream_chat/example/main.dart

* chore: apply linter fixes to stream_chat_flutter/example/split_view.dart

* chore: renamte tutorial files per linter

* chore: apply linter fixes to tutorial_part_1.dart

* chore: apply linter fixes to tutorial_part_2.dart

* chore: apply linter fixes to tutorial_part_3.dart

* chore: apply linter fixes to tutorial_part_4.dart

* chore: apply linter fixes to tutorial_part_5.dart

* chore: make a widget const in tutorial_part_5.dart

* chore: apply linter fixes to tutorial_part_6.dart

* chore: sort and update dependencies in stream_chat_persistence/example/pubspec.yaml

* chore: sort and update dependencies in stream_chat_flutter_core/example/pubspec.yaml

* chore: sort and update dependencies in stream_chat_flutter/example/pubspec.yaml

* chore: sort dependencies in stream_chat_flutter/example/pubspec.yaml

* chore: apply linter fixes to channel_test.dart

* chore: apply linter fixes to client_test.dart

* chore: apply linter fixes to client_test.dart, stream_http_client_test.dart, and token_manager_test.dart

* chore: apply linter fixes to filter_test.dart

* chore: apply linter fixes to reaction_test.dart

* chore: apply linter fixes to chat_persistence_client_test.dart

* chore: apply linter fixes to channel_image_test.dart

* chore: apply linter fixes to deleted_message_test.dart

* chore: apply linter fixes to full_screen_media_test.dart

* chore: apply linter fixes to gallery_footer_theme_test.dart

* chore: apply linter fixes to gallery_header_theme_test.dart

* chore: apply linter fixes to message_text_test.dart

* chore: apply linter fixes to reaction_bubble_test.dart

* chore: apply linter fixes to system_message_test.dart

* chore: apply linter fixes to typing_indicator_test.dart

* chore: apply linter fixes to channel_list_core_test.dart

* chore: apply linter fixes to channels_bloc_test.dart

* chore: apply linter fixes to lazy_load_scroll_view_test.dart

* chore: apply linter fixes to channel_matcher.dart

* chore: apply linter fixes to message_matcher.dart

* chore: apply linter fixes to users_matcher.dart

* chore: apply linter fixes to message_list_core_test.dart

* chore: apply linter fixes to message_search_bloc_test.dart

* chore: apply linter fixes to message_search_list_core_test.dart

* chore: apply linter fixes to stream_channel_test.dart

* chore: apply linter fixes to stream_chat_core_test.dart

* chore: apply linter fixes to user_list_core_test.dart

* chore: apply linter fixes to channel_query_dao_test.dart, message_mapper_test.dart, user_mapper_test.dart, and users_bloc_test.dart

* chore: apply some missed dartfmt

* test: regenerate failinggolden test
2021-07-16 10:49:51 +02:00
Sahil Kumar 8dcd5cde64 refactor!: rename ChannelImage -> ChannelAvatar, GroupImage -> GroupAvatar
Signed-off-by: xsahil03x <[email protected]>
2021-07-16 13:59:28 +05:30
Sahil Kumar d2402ba3d0 fix: tests
Signed-off-by: xsahil03x <[email protected]>
2021-07-16 13:35:51 +05:30
Sahil Kumar c2563c9d5f chore: fix merge conflicts
Signed-off-by: xsahil03x <[email protected]>
2021-07-16 12:19:50 +05:30
xsahil03x 03f71595ac Merge remote-tracking branch 'origin/develop' into fix/channel-image
# Conflicts:
#	packages/stream_chat_flutter/lib/src/stream_chat_theme.dart
2021-07-16 12:19:00 +05:30
Reuben TurnerandGitHub 485e077596 feat: add GalleryHeader/GalleryFooter theme classes (#546)
* chore: Add ImageHeaderTheme and ImageHeaderThemeData to stream_chat_theme.dart

This commit adds the following classes to `stream_chat_theme.dart`:
1. `ImageHeaderTheme`, an `InheritedTheme` widget that can wrap other widgets and provide that sub-tree with an `ImageHeaderThemeData`
2. `ImageHeaderThemeData`, a class that allows for the customization of `ImageHeader` widgets

* Make ImageHeaderThemeData constructor const

* test: initial ImageHeaderThemeData tests

Tests the copyWith, ==, and hashcode functions

* test: add tests for default ImageHeaderThemeData values

Tests the default values of ImageHeaderThemeData that gets built in a StreamChatThemeData against control values.

* Update test name and add comments describing control

* fix: use ImageHeaderTheme.of(context) instead of StreamChatTheme.of(context)

This ensures that ImageHeader will always look for the closest ImageHeaderThemeData in the widget tree.

* test: add dark theme default values test

* run dartfmt on test file

* test: lerping between ImageHeaderThemeData

Added tests that lerp from one ImageHeaderThemeData to another (light to dark and dark to light)

* test: merging ImageHeaderThemeData

Added tests that merge light and dark ImageHeaderThemeData together (light + dark = dark, dark + light = light)

* test: add a half-lerp test

Added a test that lerps halway between light and dark ImageHeaderThemeData

* chore: Add ImageFooterTheme and ImageFooterThemeData to stream_chat_theme.dart

This commit adds the following classes to `stream_chat_theme.dart`:
1. `ImageFooterTheme`, an `InheritedTheme` widget that can wrap other widgets and provide that sub-tree with an `ImageFooterThemeData`
2. `ImageFooterThemeData`, a class that allows for the customization of `ImageFooter` widget

* chore: apply ImageFooterThemeData to image_footer.dart

* fix: make ImageFooterThemeData constructor const

* test: add tests for ImageFooterThemeData

* add a missing trailing comma

* chore: rename ImageHeader & ImageFooter to GalleryHeader and GalleryFooter

The respective theme classes and tests have also been renamed

* Run dartfmt on test

* test: fix failing tests due to renaming
2021-07-15 15:44:12 +02:00
Sahil Kumar 6f8dbf7e00 ChannelPreview: Minor refactoring
Signed-off-by: xsahil03x <[email protected]>
2021-07-15 19:02:15 +05:30
Sahil Kumar 769258bb53 [UI-KIT] Fix channel_image.dart, remove defaultChannelPreview from theme
Signed-off-by: xsahil03x <[email protected]>
2021-07-15 19:00:03 +05:30
Salvatore Giordano e99c66be99 add tests 2021-07-15 13:15:22 +02:00
Salvatore Giordano fb10824b14 use inactive as a foreground state 2021-07-15 12:07:48 +02:00
Salvatore GiordanoandGitHub 6399e8f2db Merge pull request #545 from GetStream/giphy-fix
fix: Giphy cancel error
2021-07-14 17:51:14 +02:00
Salvatore GiordanoandGitHub 00eb7b5838 Merge pull request #540 from GetStream/feat/channel-pagination-error-retry
fix: channel pagination error retry
2021-07-14 13:48:16 +02:00
Salvatore GiordanoandGitHub 94ebcbb432 Merge pull request #542 from GetStream/feat/message-input-error-handling
feat: message input error listener
2021-07-14 13:48:06 +02:00
Deven Joshi b93ac23fa9 fix: Giphy cancel error 2021-07-14 17:09:26 +05:30
Sahil Kumar 80c3f9d587 [UI-KIT] Add ErrorListener in message_input.dart [https://github.com/GetStream/stream-chat-flutter/issues/489]
Signed-off-by: xsahil03x <[email protected]>
2021-07-13 19:30:21 +05:30
Deven Joshi cddf466d00 fix: Corrected example 2021-07-13 19:25:01 +05:30