Sahil Kumar
f7b9511adb
refactor(llc, core, ui): Deprecate .user, .userStream in favor of .currentUser, .currentUserStream
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-26 14:57:29 +05:30
Salvatore Giordano and GitHub
171074368f
Merge pull request #560 from GetStream/replace_random_png
...
feat(ui): Replace random png
2021-07-26 09:33:19 +02:00
Salvatore Giordano
8ab1ad1a2d
fix analysis
2021-07-23 16:24:11 +02:00
Salvatore Giordano
1a5b2ddfba
fix goldens
2021-07-23 16:07:01 +02:00
Deven Joshi
8c3e8e0c12
fix: fixed tests
2021-07-23 18:39:59 +05:30
Sahil Kumar
36a13e8a2b
fix(localization): fix fileTooLargeAfterCompressionError, fileTooLargeError
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-22 20:16:36 +05:30
Sahil Kumar
937f55e67b
chore(ui): fix analysis error
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-22 20:02:36 +05:30
Sahil Kumar
af0356e5a1
test(localization): fix sentAtText, add remaining tests
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-22 19:47:54 +05:30
Salvatore Giordano
3a8480c7a4
fix analyzer
2021-07-22 15:02:58 +02:00
Salvatore Giordano
526450d4de
use custom golden comparator
2021-07-22 14:48:42 +02:00
Sahil Kumar
3e552ab4f6
chore(ui, localization): add doc-comments
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-22 17:18:51 +05:30
Deven Joshi
1e61316385
fix: update goldens
2021-07-22 15:03:25 +05:30
Deven Joshi
e8557b96e4
fix: fixed tests
2021-07-22 12:33:53 +05:30
Deven Joshi
e6e18a405c
fmt
2021-07-21 20:05:33 +05:30
Deven Joshi
c585975ab7
added tests
2021-07-21 20:05:20 +05:30
xsahil03x
253417fb0d
Merge remote-tracking branch 'origin/develop' into feat/localization
...
# Conflicts:
# packages/stream_chat_flutter/lib/src/message_list_view.dart
# packages/stream_chat_flutter/lib/src/message_search_list_view.dart
2021-07-21 15:26:06 +05:30
Deven Joshi
e74b0847ba
dartfmt
2021-07-21 15:17:42 +05:30
Deven Joshi
f8911bb6e3
feat: Added tests and minor fixes
2021-07-21 15:02:57 +05:30
groovinchip
ddf5d45c4a
fix: dartfmt on a couple of files
2021-07-19 14:44:04 -04:00
groovinchip
10d2480a00
test: add tests for MessageSearchListViewThemeData
2021-07-19 14:41:39 -04:00
groovinchip
674fc83e62
test: add tests for UserListViewThemeData
2021-07-19 13:39:17 -04:00
groovinchip
d6ef2d5a3f
fix typo in test name
2021-07-19 13:38:43 -04:00
groovinchip
f904b3ed82
remove unused import
2021-07-19 09:05:50 -04:00
Sahil Kumar
5f7b3ffae8
test: fix tests
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-19 17:42:36 +05:30
groovinchip
f7b61706cb
test: add tests for ChannelListViewThemeData
2021-07-18 12:47:02 -04:00
groovinchip
6bc70ba40a
run dartfmt on message_list_view_theme_test.dart
2021-07-18 12:45:40 -04:00
groovinchip
c427b1201b
test: add tests for MessageListViewThemeData
2021-07-16 19:24:08 -04:00
groovinchip
0eb350b756
test: remove a duplicated test in gallery_header_theme_test.dart
2021-07-16 15:00:12 -04:00
Sahil Kumar
9a3d094282
chore: fix analyzer warnings
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-16 14:51:32 +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
Reuben Turner and GitHub
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
Reuben Turner and GitHub
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
Salvatore Giordano
9641926f07
add golden test
2021-06-28 15:31:36 +02:00
Salvatore Giordano
f3a5db1594
fix tests
2021-06-25 12:02:33 +02:00
Salvatore Giordano
3eb336e93d
fix analysis
2021-06-18 11:04:53 +02:00
Salvatore Giordano
279e4f2fbf
Merge branch 'develop' into ref/segregate-api-layer
2021-06-18 10:47:46 +02:00
Salvatore Giordano
c37faddd2e
fix tests
2021-06-17 14:03:35 +02:00
Sahil Kumar
b7efe258c9
reset golden files to previous revisions
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-17 16:11:05 +05:30
Sahil Kumar
2b80611cd3
fix tests
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-17 12:52:48 +05:30
Salvatore Giordano
a6ff8e7039
fix tests
2021-06-10 12:33:20 +02:00
Salvatore Giordano
65bf45306a
fix lint and tests
2021-05-27 16:27:23 +02:00
Salvatore Giordano
2d1c99cab7
regenerate golden
2021-05-18 12:34:35 +02:00
Deven Joshi
13cc5f1c4b
fix: update goldens
2021-05-18 15:47:38 +05:30
Deven Joshi
0590fe1a76
lint
2021-05-05 19:07:32 +05:30
Deven Joshi
9b09874df1
lint test
2021-05-05 17:59:19 +05:30
Deven Joshi
f5daa8f49c
lint test
2021-05-05 17:58:50 +05:30
Deven Joshi
eb57c6eb9f
added lint changes, started migrating
2021-05-04 16:11:28 +05:30
Salvatore Giordano
5bbe82c7eb
fix review
2021-04-30 15:00:51 +02:00