Sahil Kumar
3e552ab4f6
chore(ui, localization): add doc-comments
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-22 17:18:51 +05:30
Salvatore Giordano
f1df4389b5
add file size limit parameter
2021-07-21 16:49:40 +02:00
xsahil03x
42ed729a87
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 17:54:32 +05:30
Sahil Kumar
ad8ddba6a7
chore(ui,localization): add translations for replyToMessageLabel
...
Signed-off-by: xsahil03x <[email protected] >
2021-07-21 17:44:51 +05:30
Salvatore Giordano
2a66fd88d0
fix nits
2021-07-21 12:32:01 +02:00
Salvatore Giordano
1db70a6eae
add null check to message search list view
2021-07-21 12:24:28 +02:00
Salvatore Giordano
f4457cb618
add null check to user list view
2021-07-21 12:23:09 +02:00
Salvatore Giordano
7d1259ce18
add null check to channel list view
2021-07-21 12:21:25 +02:00
Salvatore Giordano
9776fc5dfd
add null check to message list view
2021-07-21 12:17:58 +02:00
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
Salvatore Giordano
9e966fa46e
fix floating date not working with expanded
2021-07-21 10:27:53 +02:00
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
groovinchip
a1f0afe83f
fix: curly brace lint
2021-07-19 14:54:25 -04:00
groovinchip
ddf5d45c4a
fix: dartfmt on a couple of files
2021-07-19 14:44:04 -04:00
groovinchip
e25db48a07
chore: set MessageSeachListView bg color via theme and stop setting scaffold bg color
...
New classes:
* MessageSearchListViewTheme
* MessageSearchListViewThemeData
2021-07-19 14:20:22 -04:00
groovinchip
4d3e2bce9a
chore: theme user_list_view.dart background color from theme
2021-07-19 12:19:52 -04:00
groovinchip
423581c9d1
fix: theme channel_list_view.dart background color in the proper place
2021-07-19 12:16:48 -04:00
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
groovinchip
eb6d0ad5b0
fix: make ChannelListViewThemeData constructor const
2021-07-18 12:35:14 -04:00
groovinchip
c803b133a0
chore: allow ChannelListView background color to be themed via StreamChatThemeData
...
This commit adds the ChannelListViewTheme and ChannelListViewThemeData classes, and updates ChannelListView to set its background color accordingly
2021-07-18 12:31:21 -04:00
groovinchip
45d2f5c6b3
fix MessageListViewThemeData lerp
2021-07-16 15:08:26 -04:00
groovinchip
be804b211c
un-require backgroundColor for MessageListViewThemeData class per conventions
2021-07-16 15:03:14 -04:00
groovinchip
68db4bfee4
chore: Allow MessageListView background color to be customized via theme
...
This commit adds the MessageListViewTheme and MessageListViewTheme data classes. The customization is enabled in message_list_view.dart via the addition of a ColoredBox widget that looks up the widget tree for the background color set by MessageListViewThemeData
2021-07-16 12:15:04 -04:00
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