Commit Graph
2945 Commits
Author SHA1 Message Date
Salvatore GiordanoandGitHub 48399a0f1b Merge pull request #529 from GetStream/docusaurus
docs: docusaurus docs
2021-07-16 17:28:01 +02:00
Salvatore GiordanoandGitHub 2472e0f265 Merge pull request #553 from GetStream/mig-guide
feat: Added mig guide (scf)
2021-07-16 17:27:33 +02:00
Salvatore Giordano d1466bae8f update docusaurus action 2021-07-16 17:26:04 +02:00
Salvatore Giordano f54e7ebfda update docusaurus action 2021-07-16 17:24:59 +02:00
Salvatore GiordanoandGitHub 2554b3f80d Merge pull request #552 from GetStream/remove-sync
fix: sync events only in case persistence is enabled
2021-07-16 17:19:28 +02:00
Deven JoshiandGitHub 95febb00cf Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx 2021-07-16 20:47:37 +05:30
Deven JoshiandGitHub 9a36b961ba Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx 2021-07-16 20:45:22 +05:30
cb5db2796c Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Gordon <[email protected]>
2021-07-16 20:44:40 +05:30
Salvatore Giordanoandxsahil03x 5c12521a69 fix analyzer 2021-07-16 20:44:21 +05:30
c513bd06ff Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Gordon <[email protected]>
2021-07-16 20:44:00 +05:30
60cddfc091 Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Gordon <[email protected]>
2021-07-16 20:43:55 +05:30
3c394362cc Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:43:46 +05:30
695760637b Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:42:07 +05:30
816f9ab7fa Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:41:59 +05:30
00b1f21c63 Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:41:49 +05:30
ac27b9bc2b Update docusaurus/docs/Flutter/guides/migration_guide_2_0.mdx
Co-authored-by: Reuben Turner <[email protected]>
2021-07-16 20:41:33 +05:30
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
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 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