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
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
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 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
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 and GitHub
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
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
Sahil Kumar
201a510bf0
fix ChannelListView not retrying error on connection recovered [ #504 ]( https://github.com/GetStream/stream-chat-flutter/issues/504 )
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-13 16:51:22 +05:30
Salvatore Giordano
dc005ed86d
fix nextMessage index
2021-07-09 10:37:16 +02:00
Salvatore Giordano and GitHub
bcccef7328
Merge pull request #517 from GetStream/fix/messageListView
...
fix!: remove proxy properties from `MessageListView` [CDS-341]
2021-07-08 09:42:07 +02:00
Salvatore Giordano
404b9ff89e
add color name details
2021-07-08 09:36:10 +02:00
Salvatore Giordano
184a00b195
update changelogs and pubspecs
2021-07-07 17:39:55 +02:00
Salvatore Giordano
0379a17767
add video compress options (frame and quality) to message input
2021-07-06 13:20:34 +02:00
Salvatore Giordano
495351b756
remove proxy props from MessageListView
2021-07-01 10:27:44 +02:00
Salvatore Giordano
bc0a70ad25
rename colors
2021-06-29 16:12:51 +02:00
Salvatore Giordano and GitHub
9d4564151e
Merge pull request #509 from GetStream/release/v2.0.0-nullsafety-8
...
chore: v2.0.0 nullsafety.8
2021-06-29 13:36:45 +02:00
Sahil Kumar
be76d25aa3
update changelogs
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-29 16:20:29 +05:30
Salvatore Giordano
418c9ae64e
use late
2021-06-29 11:45:59 +02:00
Salvatore Giordano
a9c7abb0d6
use getters
2021-06-29 11:43:28 +02:00
Salvatore Giordano
81b69e95bf
accept list controllers as params in ui package listviews
2021-06-29 11:29:42 +02:00
Sahil Kumar and GitHub
5cb87d2df5
Merge pull request #511 from GetStream/hotfix/userListErrors
2021-06-29 14:51:05 +05:30
Salvatore Giordano
29f234f69b
update error builder
2021-06-29 11:09:27 +02:00
Salvatore Giordano
cd4892683b
update changelogs
2021-06-29 10:27:54 +02:00
Salvatore Giordano and GitHub
3885f0e407
Merge pull request #506 from GetStream/feat/userAvatarBuilder
...
feat: userAvatarBuilder in MessageWiget
2021-06-29 10:26:56 +02:00
Salvatore Giordano
afb7b1f3ad
update changelogs
2021-06-29 10:15:08 +02:00
Salvatore Giordano
bde9061894
update changelogs
2021-06-29 10:10:47 +02:00
Salvatore Giordano
9641926f07
add golden test
2021-06-28 15:31:36 +02:00
Sahil Kumar
6017a184d6
chore(stream_chat_flutter): prepare for v2.0.0-nullsafety.8
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-28 16:50:42 +05:30
Salvatore Giordano
a3a88aead1
fix user list error handling
2021-06-28 13:08:51 +02:00
Sahil Kumar
5e7891e523
remove unused showScrollToBottom property from MessageListCore
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-28 16:04:25 +05:30
Salvatore Giordano
5912edc611
add doc comment
2021-06-28 12:32:58 +02:00
Salvatore Giordano
b8fd33a629
fix new lines in list
2021-06-28 11:54:23 +02:00
Salvatore Giordano
ea8ee7ac6f
add userAvatarBuilder
2021-06-28 10:57:07 +02:00
Salvatore Giordano
1c3dbb1595
move messagewidget in the builder
2021-06-25 14:18:56 +02:00
Salvatore Giordano
155706c8fd
remove unnecessary late
2021-06-25 14:01:35 +02:00
Salvatore Giordano
f3a5db1594
fix tests
2021-06-25 12:02:33 +02:00
Salvatore Giordano
e1a9e4d878
use MessageWidget.copyWith in parentMessageBuilder
2021-06-25 11:30:19 +02:00
Salvatore Giordano
8b71b32bdb
use MessageWidget.copyWith in messagelistview
2021-06-25 11:23:52 +02:00
Salvatore Giordano
1ceabb90f1
use MessageWidget.copyWith in actions modal
2021-06-25 10:44:28 +02:00
Salvatore Giordano
dd7fafb3cf
use MessageWidget.copyWith in reactions modal
2021-06-25 10:39:03 +02:00
Salvatore Giordano
87568235d5
add copyWith to Messagewidget
2021-06-25 10:22:49 +02:00
Salvatore Giordano and GitHub
751fa51194
Merge pull request #493 from GetStream/feat/message-list-header-footer
...
feat: add support for messageListView header/footer
2021-06-24 17:12:11 +02:00
Sahil Kumar
5325b7cb5e
fix analyzer warning
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-24 18:25:59 +05:30