Sahil Kumar
cdee8c9ef2
fix(Jiffy): check if locale is supported before setting it
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-20 19:47:56 +05:30
Sahil Kumar
2b36f009c2
chore: minor fixes, add support for "hi" locale
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-20 18:09:12 +05:30
Sahil Kumar
5f7b3ffae8
test: fix tests
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-19 17:42:36 +05:30
Sahil Kumar
297092802d
chore: flutter format
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-19 16:56:08 +05:30
Sahil Kumar
67a36d9c35
chore: add remaining translations
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-19 16:51:49 +05:30
xsahil03x
face836383
Merge remote-tracking branch 'origin/develop' into feat/localization
...
# Conflicts:
# packages/stream_chat_flutter/example/lib/main.dart
# packages/stream_chat_flutter/example/pubspec.yaml
# packages/stream_chat_flutter/lib/src/channel_bottom_sheet.dart
# packages/stream_chat_flutter/lib/src/channel_list_view.dart
# packages/stream_chat_flutter/lib/src/gallery_footer.dart
# packages/stream_chat_flutter/lib/src/message_input.dart
# packages/stream_chat_flutter/lib/src/message_list_view.dart
# packages/stream_chat_flutter/lib/src/user_item.dart
2021-07-19 12:49:07 +05:30
Sahil Kumar
4533828fe8
chore: fix analyzer issues
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-16 14:42:22 +05:30
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
Sahil Kumar
a48389a814
add remaining translation strings
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-12 15:01:36 +05:30
Salvatore Giordano
dc005ed86d
fix nextMessage index
2021-07-09 10:37:16 +02:00
Sahil Kumar
2691243102
Remove json translations approach, add example for adding language
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-07-08 16:43:24 +05:30
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
0379a17767
add video compress options (frame and quality) to message input
2021-07-06 13:20:34 +02:00
Sahil Kumar
d3e9bdafbd
feat(stream_chat_localizations): Initial implementation
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-07-01 20:26:01 +05:30
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
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 and GitHub
3885f0e407
Merge pull request #506 from GetStream/feat/userAvatarBuilder
...
feat: userAvatarBuilder in MessageWiget
2021-06-29 10:26:56 +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
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
Sahil Kumar
c169b887af
add docs
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-24 18:24:56 +05:30
Sahil Kumar
2816124c55
fix floatingDate, messageWidgetBuilder index
...
Signed-off-by: Sahil Kumar <[email protected] >
2021-06-24 18:19:52 +05:30
Salvatore Giordano
2ad71f16e3
fix messagelistview not rendering when user is not a member
2021-06-23 19:24:37 +02:00