* lint(persistence): Apply team linter Signed-off-by: Sahil Kumar <[email protected]> * style: flutter format Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): Add tests for channel dao Signed-off-by: Sahil Kumar <[email protected]> * refactor(persistence): remove dummy comments Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): Add test for channel query dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for connection event dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for member dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for message dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for pinned message dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for reaction dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for read dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): minor improvement in update function tests Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for user dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for list converter Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for map converter Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for message sending status converter Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for channel mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add test for event mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for member mapper Signed-off-by: Sahil Kumar <[email protected]> * remove useless dependencies * test(persistence): add tests for message mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for pinned message mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for reaction mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for read mapper Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for user mapper Signed-off-by: Sahil Kumar <[email protected]> * refactor(persistence): remove redundant UsersTable getter from ConnectionEventDao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests for stream chat persistence client Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add tests moor chat database Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add moor schemas for future migration tests Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add clear queryCache test in channel query dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add getThreadMessagesByParentId along with pagination test in message, pinned message dao. Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add getMessagesByCid along with pagination test in message, pinned message dao. Signed-off-by: Sahil Kumar <[email protected]> * update ci * apply locale to jiffy * fix test * test(persistence): add getMessagesByCid along with quotedMessage test in message, pinned message dao. Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add extra checks in getMessagesByCid along with pagination test in message, pinned message dao. Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add return channel with pagination applies test in channel query dao Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): improve message mapper, pinned message mapper test Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add client constructor test in stream chat persistence client Signed-off-by: Sahil Kumar <[email protected]> * test(persistence): add coverage:ignore-file for entities and db/shared directory Signed-off-by: Sahil Kumar <[email protected]> * skip pub publish --dry-run for develop branch Signed-off-by: Sahil Kumar <[email protected]> * add remove from coverage script Signed-off-by: Sahil Kumar <[email protected]> * fix Signed-off-by: Sahil Kumar <[email protected]> * fix Signed-off-by: Sahil Kumar <[email protected]> * fix Signed-off-by: Sahil Kumar <[email protected]> * fix Signed-off-by: Sahil Kumar <[email protected]> * fix locale * fix message input _parseExistingMessage * fix(UI-Kit): Show selected attachment file as file in message input widget Signed-off-by: Sahil Kumar <[email protected]> * fix: ws disconnection (#345) * update ws removing custom implementation; fixed disconnection while connecting * add test * feat: Apply team lints to core package (#334) * Add analyzer file to core package * Apply team lint rules to core package * clean up analyzer warnings in stream chat flutter * remove unused line * add ignore * sync analysis options * [Core -> MessageWidget] Fix variable dynamic types Signed-off-by: Sahil Kumar <[email protected]> Co-authored-by: Salvatore Giordano <[email protected]> Co-authored-by: Sahil Kumar <[email protected]> * test: add tests for stream chat flutter core (#354) * test(core): add tests for channels bloc Signed-off-by: Sahil Kumar <[email protected]> * test(core): refactor some tests due to changes in channels bloc Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for channel list core Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for users bloc, minor improvements Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for user list core, minor improvements Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for message search bloc, refactor Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for message search list core, refactor Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for lazy load scroll view Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for stream chat core Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for message list core Signed-off-by: Sahil Kumar <[email protected]> * test(core): add tests for stream channel Signed-off-by: Sahil Kumar <[email protected]> * Fix merge conflicts Signed-off-by: Sahil Kumar <[email protected]> * flutter format Signed-off-by: Sahil Kumar <[email protected]> * fixes Signed-off-by: Sahil Kumar <[email protected]> * update workflow Signed-off-by: Sahil Kumar <[email protected]> * chore(core): fix analyzer issues Signed-off-by: Sahil Kumar <[email protected]> * chore(ui-kit): fix analyzer issues Signed-off-by: Sahil Kumar <[email protected]> * refactor(ui-kit): update giphy interaction (#361) * refactor(ui-kit): update giphy interaction Signed-off-by: Sahil Kumar <[email protected]> * fix overflow Co-authored-by: Salvatore Giordano <[email protected]> * fix: Fixed sendingbutton.outside case (#355) * fix: Fixed sendingbutton.outside case * fix: Fixed all actionbutton cases * fix review Co-authored-by: Salvatore Giordano <[email protected]> * fix(ui-kit): fix accessibility text size scaling in message widget Signed-off-by: Sahil Kumar <[email protected]> * fix(ui-kit): fix message widget long username overflow Signed-off-by: Sahil Kumar <[email protected]> * fix(ui-kit): fix message input dm checkbox accessibility scaling issue Signed-off-by: Sahil Kumar <[email protected]> * feat: exposed textbuilder callback (#367) * exposed textbuilder callback * exposed textbuilder callback * fixes Signed-off-by: Sahil Kumar <[email protected]> * check if user.mutes is null * check if user.mutes is null * fixes #370: remove all controls on full screen media if message is of type ephemeral (#373) * fix: fix channel list pagination spinner (#375) Signed-off-by: Sahil Kumar <[email protected]> * fix: attachments upload when size exceeds (#377) * fix: Fixed file upload error * fix: Fixed file upload error * fix coverage script Signed-off-by: Sahil Kumar <[email protected]> * fix: message input (#382) * feat: Added mentions suffix builder * feat: Added builders for mentions and theme element for message input expanded button * refactor: refactored PR to suit other style * fix: fixes trailing commas and changes names * doc: added documentation to new elements * doc: added documentation to new elements * bump version * add meta dep to core * sort deps Co-authored-by: Sahil Kumar <[email protected]> Co-authored-by: Neevash Ramdial (Nash) <[email protected]> Co-authored-by: Deven Joshi <[email protected]>
9.6 KiB
1.5.2
- Fix accessibility text size overflows
- Updated Giphy attachment ui
- Minor fixes and improvements
1.5.1
- Fixed unread count not updating while the chat is open
1.5.0
- Fixed swipeable visible on navigation back
- Fixed video upload
MessageInput: added more actions locations, merge actions and addshowCommandsButtonproperty- 🛑 BREAKING Updated AttachmentBuilder signature
- Fixed image reloading on reaction.new
1.4.0-beta
- Unfocus
MessageInputonly when sending commands - Updated default error for
MessageSearchListView - Show error messages as system and keep them in the message input
- Remove notification badge logic
- Use shimmer while loading images
- Polished
StreamChatThemeadding more options and a newMessageInputThemededicated toMessageInput - Add possibility to specify custom message actions using
MessageWidget.customActions - Added
MessageListView.onAttachmentTapcallback - Fixed message newline issue
- Fixed
MessageListViewscroll keyboard behaviour - Minor fixes and improvements
1.3.2-beta
- Updated
stream_chat_coredependency - Fixed minor bugs
1.3.1-beta
- Updated
stream_chat_coredependency - Fixed minor bugs
1.3.0-beta
- Added
MessageInputTheme - Fixed overflow in
MessageInputanimation - Delete only image on imagegallery
- Close keyboard after sending a command
- Exposed
customAttachmentBuildersthroughMessageListView - Updated
stream_chat_coredependency
1.2.0-beta
- Minor fixes
- Updated
stream_chat_coredependency
1.1.1-beta
- Added MessageInput button color customization options
- Fixed author theme and messageinput background
1.1.0-beta
- Update stream_chat_core dependency
- Expose common builders in ListView widgets
- Add support for asynchronous attachment upload while sending a message
- Fixed minor bugs
1.0.2-beta
- Update stream_chat_core dependency
1.0.1-beta
- Update stream_chat_core dependency
1.0.0-beta
- Refreshed widgets design
- Improved api documentation
- Updated
stream_chatdependency to^1.0.0-beta - Extracted sample app into dedicated repo
- Reimplemented existing widgets using stream_chat_flutter_core
0.2.21
- Add
loadingBuilderinMessageListView - Add
messageFilterproperty inMessageListView
0.2.20+4
- Fix channelPreview when the message list is empty
0.2.20+3
- Fix reaction picker score indicator
0.2.20+2
- Added
shouldAddChannelto ChannelsBloc in order to check if a channel has to be added to the list when a new message arrives
0.2.20+1
- Fixed bug that caused video attachment to show the same preview
0.2.20
- Implement shadowban
0.2.19
- Updated llc dependency
- Added loading builder in channellistview
- Added sendButtonLocation and animationduration to messageinput
0.2.18
- Updated llc dependency
0.2.17+2
- Expose ChannelsBloc.channelsComparator to sort channels on message.new event
0.2.17+1
- Fix mention tap bug
0.2.17
- Expose messageInputDecoration as part of the theme
0.2.16
- Do not wrap channel preview builder. Users will have to implement they're custom onTap/onLongPress implementation
- Make public autofocus field of the TextField of message_input
0.2.15
- Add onLongPress on channel when using custom channel builder
0.2.14
- Add onMessageTap callbacks
0.2.13+2
- Add debounce to on change messageinput listener
0.2.13+1
- Use TextEditingController.addListener instead of TextField.onChanged
0.2.13
- Update llc dependency
- Send parent_id in typing events
- Expose addition input styling options
- Expose builder for empty channel state
0.2.12
- Upgrade dependencies
- Check if user.extraData['image'] is not null before using it
0.2.11+1
- Fix error with channel query while handling background notifications
0.2.11
- Update llc dependency
- Update widget to use
channel.state.unreadCountStream
0.2.10
- Update llc dependency
- Add
separatorBuildertoChannelListView
0.2.9+1
- Update llc dependency
- Minor bug fixes
0.2.9
- Update llc dependency
- Fix example to run on Flutter web
0.2.8+4
- fix: Auto capitalize the start of sentences in MessageInput
- Update dependencies
0.2.8+3
- Add simple example of channel creation in sample app
- Add back button to the full-screen video view
- Update llc version
0.2.8+2
- Add back button to the full-screen view
0.2.8+1
- Update LLC dependency
- Update file_picker dependency
0.2.8
- Update LLC dependency
0.2.7+2
- Fix channellistview loading when client is not initialized
- Update LLC dependency
0.2.7
- Update llc dependency
- Fixed a bug that made the SDK crash if it went to background while not connected
0.2.6+1
- Update llc dependency
0.2.6
- Add
pullToRefreshproperty toChannelListView - Add
onLinkTaptoMessageWidget
0.2.5
- Implement
didUpdateWidgetinChannelListViewto react to setState
0.2.4
- Update llc dependency
0.2.3
- Add
lockChannelsOrderparameter toChannelsBloc
0.2.2+3
-
Fix
ChannelListViewchannel hidden behaviour -
Refresh
ChannelListViewon new message from hidden channel
0.2.2+1
- Fix some components to implement a splitview example
0.2.2
- Add
messageLinksproperty toMessageThemeto customize links color
0.2.1+2
- Update llc dependency
0.2.1+1
- Update llc dependency
0.2.1
- Better ui components
- Add read indicators
- Add system messages
- Use llc 0.2
- Add
ChannelsBlocwidget to manage a list of channels with pagination
0.2.1-alpha+11
- Update llc dependency
0.2.1-alpha+10
- Update llc dependency
0.2.1-alpha+9
- Add read indicators
- Update llc dependency
0.2.1-alpha+8
- User queryMembers for mentions
0.2.1-alpha+7
- Update llc dependency
0.2.1-alpha+6
- Update llc dependency
- Minor bugfix
0.2.1-alpha+4
-
Update llc dependency
-
Add system messages
0.2.1-alpha+3
-
Update llc dependency
-
Fix hero tag generation for attachment
0.2.1-alpha+2
- Fixed reactions bubble going below other messages
- Updated llc dependency
0.2.1-alpha+1
- Removed the additional
NavigatorinStreamChatwidget. It was added to make the app have theStreamChatwidget as ancestor in every route. Now the recommended way to addStreamChatto your app is using thebuilderproperty of yourMaterialAppwidget. Otherwise you can use it in the usual way, but you need to add aStreamChatwidget to every route of your app. Read this issue for more information.
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.light(),
darkTheme: ThemeData.dark(),
themeMode: ThemeMode.system,
builder: (context, widget) {
return StreamChat(
child: widget,
client: client,
);
},
home: ChannelListPage(),
);
-
Fix reaction bubble going below previous message on iOS
-
Fix message list view reloading messages even if the pagination is ended
0.2.1-alpha
- New message widget
- Moved some properties from
MessageListViewtoMessageWidget - Added
MessageDetailsproperty toMessageBuilder - Added example to customize the message using
MessageWidget(customize_message_widget.dart)
0.2.0-alpha+15
- Add background color in StreamChatTheme
0.2.0-alpha+13
- Handle channel deleted event
0.2.0-alpha+11
- Fix message builder and add messageList to it
0.2.0-alpha+10
-
Add date divider builder
-
Fix reply indicator tap
0.2.0-alpha+9
- Add
attachmentBuilderstoMessageWidgetandMessageListView
0.2.0-alpha+7
- Update llc dependency
0.2.0-alpha+5
-
Remove dependencies on notification service
-
Expose some helping method for integrate offline storage with push notifications
0.2.0-alpha+3
- Fix overflow in mentions overlay
0.2.0-alpha+2
- Add better mime detection
0.2.0-alpha+1
- Fix video loading and error
0.2.0-alpha
-
Offline storage
-
Push notifications
-
Minor bug fixes
0.1.20s
- Add message configuration properties to MessageListView
0.1.19
-
Fix video aspect ratio
-
Add property to decide whether to enable video fullscreen
-
Add property to hide the attachment button
-
Do not show send button if an attachment is still uploading
-
Unfocus and disable the TextField before opening the camera (workaround for flutter/flutter#42417)
-
Add gesture (vertical drag down) to close the keyboard
-
Add keyboard type parameters (set it to TextInputType.text to show the submit button that will even close the keyboard)
The property showVideoFullScreen was added mainly because of this issue brianegan/chewie#261
0.1.18
- Add message list date separators
0.1.17
- Add dark theme
0.1.16
- Add possibility to show the other users username next to the message timestamp
0.1.15
- Fix MessageInput overflow
0.1.14
- Add automatic keep alive to streamchat
0.1.12
- Fix dependency error on iOS using flutter_form_builder
0.1.11
- Fix bug in ChannelPreview when list of messages is empty
0.1.10
- Do not automatically dispose Client object when disposing StreamChat widget
0.1.9
- Fix message ui overflow
0.1.8
- Bug fix
0.1.7
-
Add chat commands
-
Add edit message
0.1.6+4
- Add some documentation
0.1.5
- Fix channels pagination
0.1.4
- Fix message widget builder on reaction
0.1.3
- Fix upload attachment
0.1.2
- Fix avatar shape
0.1.1
- Add ThreadHeader
0.0.1
- First release