Commit Graph
100 Commits
Author SHA1 Message Date
Sahil KumarandGitHub 420d6384c4 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]>
2021-03-30 10:16:12 +02:00
cba0b1a391 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]>
2021-03-22 09:49:27 +01:00
Salvatore Giordano b77c4dfc5d remove useless dependencies 2021-03-17 11:50:01 +01:00
Salvatore Giordano 37772f247a bump versions 2021-03-16 15:28:40 +01:00
Salvatore Giordano 16d09babb5 Merge branch 'master' into develop 2021-03-10 09:43:17 +01:00
4488fa6c3a Release/1.4.0 beta (#318)
* fix: fixed long system messages overflowing

* fix: fixed long system messages overflowing

* [UI-Kit] Refactor, add support for downloading attachments.

Signed-off-by: Sahil Kumar <[email protected]>

* fix: header casing

* [UI-Kit] Disable attachment download dialog pop using back button

Signed-off-by: Sahil Kumar <[email protected]>

* stream_chat_flutter fix svg on web

* [UI-Kit] Pop attachment download dialog in case of any error.

Signed-off-by: Sahil Kumar <[email protected]>

* restore svg

* feat: add pr title linter

* fix test

* fix client headers

* update system message design

* update gh token env var

* add scopes

* expose systemMessageBuilder in messagelistview

* fix(ui): fix button size

* add dispatch workflow

* add dispatch workflow

* update dispatch acton

* add runson

* fix ref

* fix ref

* update secret

* specify repo

* fix: list scroll keyboard behaviour  (#304)

* fix: Keyboard now closes by clicking on space or scrolling.

* fix: Exposed system and normal message tap builders

* fmt: dartfmt

* feat: Add support for messages filter in `MessageListView` and `MessageListCore` (#303)

* [MessageListView, MessageListCore] Add support for message filter

Signed-off-by: Sahil Kumar <[email protected]>

* [UI-Kit -> Pubspec] Remove `stream_chat_flutter_core` relative import

Signed-off-by: Sahil Kumar <[email protected]>

* add relative import

* add relative import

* remove svg for web

* remove badge logic on web

* style: Update for team lint (#297)

* Update for team lint

* fix tests

* remove pedantic and sort deps

* remove jiffy from system message

Co-authored-by: Salvatore Giordano <[email protected]>

* add section highlighting sample app repo (#307)

Co-authored-by: Salvatore Giordano <[email protected]>

* add null check to debounce

* fix messagelistview loading errors

* remove core relative import

* fix: fixes message newline issue (#308)

* fix: minor

* fix: generate image thumbnails and use transparent image as placeholder for cached network images (#310)

* update cdn handling

* fix image attachment with new cdn

* fix(ui): Fix message input permission request crash (#311)

Signed-off-by: Sahil Kumar <[email protected]>

* fix(llc): update member presence and add skip_push to message (#314)

* update member presence

* add skip_push to message

* fix tests

* fix: Fixed shimmer overflow (#316)

* fix dialogs

* fix(llc): Fix attachment upload state uneven progress. (#315)

* feat(llc): Add rate limiter functions.
fix(llc): Fix attachment upload state uneven progress.

Signed-off-by: Sahil Kumar <[email protected]>

* feat(llc): Export `async.dart` and `rate_limit.dart`

Signed-off-by: Sahil Kumar <[email protected]>

* refactor(llc): Replace our `rate_limit` implementation with the dart port of js `lodash` to better handlw `cancel` and `flush` functions.

Signed-off-by: Sahil Kumar <[email protected]>

* fix(UI-Kit): Make android example run on real devices

Signed-off-by: Sahil Kumar <[email protected]>

* fix offline behaviour

Co-authored-by: Salvatore Giordano <[email protected]>

* feat: Introduce onAttachmentTap on messages attachment (#309)

* introdce onAttachmentTap on message

* correct indent

* sdfsd

Co-authored-by: Salvatore Giordano <[email protected]>

* feat: added customization options in main widgets (#312)

* polish channelpreview customization options

* polish channelheader customization options

* polish messageinput customization options

* polish threadheader customization options

* polish channellistheader customization options

* show the parent message if no messages in thread

* fix edit message

* fix channelinfo textstyle

* fix review

* fix useravatar

* add ontitle tap to thread header

* add custom message actions

* add borderradius and button builder

* add ontap to messageinput custom send button

* fix bottom sheet

* add doc

* use placeholder image

* add doc

* fix listtile density

* remove subtitle from ChannelListHeaderTheme.copyWith

* add InputDecoration.merge extension

* fix: use shimmer in images

* fix: remove notification badge logic from the sdk and move it to sample app

* fix import

* fix: Method being called during build (#317)

* method call bug fix

* dartfmt

* fix: show error messages as system and keep them in the message input (#319)

* fix: pre release (#324)

* use share_plus plugin

* bump dependency versions

* fix ui for web

* unfocus messageinput only on commands

* fix default error for messagesearchlistview

* fix thumbnail animation

* fix lint

* ignore example in linter

* update changelogs

* fix lint

* fix lint

* update stream_chat pana min

* add doc

Co-authored-by: Sahil Kumar <[email protected]>
Co-authored-by: Deven Joshi <[email protected]>
Co-authored-by: Neevash Ramdial (Nash) <[email protected]>
Co-authored-by: Nelson Nunes <[email protected]>
2021-03-09 18:58:23 +01:00
Salvatore GiordanoandGitHub 5080203c1b feat: added customization options in main widgets (#312)
* polish channelpreview customization options

* polish channelheader customization options

* polish messageinput customization options

* polish threadheader customization options

* polish channellistheader customization options

* show the parent message if no messages in thread

* fix edit message

* fix channelinfo textstyle

* fix review

* fix useravatar

* add ontitle tap to thread header

* add custom message actions

* add borderradius and button builder

* add ontap to messageinput custom send button

* fix bottom sheet

* add doc

* use placeholder image

* add doc

* fix listtile density

* remove subtitle from ChannelListHeaderTheme.copyWith

* add InputDecoration.merge extension
2021-03-08 15:27:52 +01:00
e60294dc92 fix(llc): Fix attachment upload state uneven progress. (#315)
* feat(llc): Add rate limiter functions.
fix(llc): Fix attachment upload state uneven progress.

Signed-off-by: Sahil Kumar <[email protected]>

* feat(llc): Export `async.dart` and `rate_limit.dart`

Signed-off-by: Sahil Kumar <[email protected]>

* refactor(llc): Replace our `rate_limit` implementation with the dart port of js `lodash` to better handlw `cancel` and `flush` functions.

Signed-off-by: Sahil Kumar <[email protected]>

* fix(UI-Kit): Make android example run on real devices

Signed-off-by: Sahil Kumar <[email protected]>

* fix offline behaviour

Co-authored-by: Salvatore Giordano <[email protected]>
2021-03-08 12:35:43 +01:00
Salvatore Giordano b28ae12597 fix: minor 2021-03-03 12:47:19 +01:00
Salvatore Giordano 3f912d7acb remove core relative import 2021-03-03 11:11:38 +01:00
Salvatore Giordano 131eb9cbe1 fix messagelistview loading errors 2021-03-03 11:10:21 +01:00
Sahil KumarandGitHub c5a9a42c45 feat: Add support for messages filter in MessageListView and MessageListCore (#303)
* [MessageListView, MessageListCore] Add support for message filter

Signed-off-by: Sahil Kumar <[email protected]>

* [UI-Kit -> Pubspec] Remove `stream_chat_flutter_core` relative import

Signed-off-by: Sahil Kumar <[email protected]>
2021-03-02 16:27:58 +01:00
Salvatore Giordano c0271b2cb2 bump version 2021-03-01 12:56:27 +01:00
Salvatore Giordano b25c30d8f1 update changelogs 2021-03-01 12:04:07 +01:00
Salvatore Giordano 8d307e1185 bump version 2021-03-01 12:01:49 +01:00
Salvatore Giordano ecb559f687 reduce calls to offlinestorage while uploading attachments using debounce 2021-03-01 11:52:32 +01:00
Salvatore Giordano b8e29cd88c update changelogs 2021-02-26 16:25:08 +01:00
Salvatore Giordano 7a1c470997 bump version 2021-02-26 16:21:09 +01:00
Sahil Kumar 46410ede50 [UI-Kit -> ChannelListCore] Replace ChannelListController function signature with AsyncCallback for better refreshIndicator support.
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-26 18:48:46 +05:30
Sahil Kumar 623d48e32b Add custom sort support for offline channels
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-26 18:30:22 +05:30
Salvatore Giordano 925817383f fix example 2021-02-24 10:48:04 +01:00
Salvatore Giordano 69fa71a381 fix core example ios 2021-02-22 12:34:38 +01:00
Salvatore Giordano ffd68c0dc4 [core] bump version 2021-02-19 17:32:32 +01:00
Salvatore GiordanoandGitHub 65d69cecce Merge branch 'master' into fix-attachment-upload-state 2021-02-19 16:52:45 +01:00
Sahil KumarandGitHub 7b70372f46 Merge branch 'master' into feat/pin-message 2021-02-19 20:04:05 +05:30
Sahil Kumar 4b18bf8f54 Add preparing state to attachment upload state
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-19 20:01:08 +05:30
Salvatore Giordano 6f60bb8abb [core] update example 2021-02-19 14:28:07 +01:00
Sahil KumarandGitHub 26250dfa47 Merge branch 'master' into feat/pin-message 2021-02-19 18:11:12 +05:30
Sahil Kumar 24d7866456 [Core->MessageSearchBloc] Align with the new changes
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-19 18:10:47 +05:30
Salvatore Giordano 08bd5a8ca8 [core] add default pagination value + implement pagination in example 2021-02-19 13:14:31 +01:00
Salvatore Giordano e6fcd9bfea version bp 2021-02-18 12:50:19 +01:00
Sahil Kumar f6075bd933 Merge branch 'master' of https://github.com/GetStream/stream-chat-flutter into feat/custom-attachment-upload
 Conflicts:
	packages/stream_chat_flutter/pubspec.yaml
	packages/stream_chat_flutter_core/pubspec.yaml
	packages/stream_chat_persistence/pubspec.yaml
2021-02-16 21:25:48 +05:30
Salvatore Giordano da7e024276 add if condition 2021-02-16 13:19:13 +01:00
Salvatore Giordano 3f10382929 fixes #265: StreamChannel can not handle initialMessageId parameter changes 2021-02-16 12:43:26 +01:00
Salvatore Giordano e4d278fbbe bump version of packages 2021-02-09 10:45:47 +01:00
Sahil Kumar 628542f99b [LLC, UI-KIT] Add support for custom attachment upload delegate
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-05 14:57:17 +05:30
Salvatore Giordano 4998ac2042 add changelog links 2021-02-04 15:14:10 +01:00
Sahil KumarandGitHub 3167db033f Merge branch 'master' into hotfix/readmes 2021-02-04 18:16:51 +05:30
Salvatore Giordano 2e6af62b64 update changelogs 2021-02-04 13:34:37 +01:00
Salvatore Giordano 27e5bb595f update examples using latest llc version 2021-02-04 13:11:57 +01:00
Salvatore Giordano d8d795d03f update readmes 2021-02-04 10:59:37 +01:00
Deven Joshi 4fa6581f19 fix: tests 2021-02-03 14:31:25 +05:30
Salvatore Giordano bed1e23441 update dependencies 2021-02-01 18:24:25 +01:00
Salvatore Giordano 80196c5a7a update dependencies 2021-02-01 18:19:46 +01:00
Salvatore Giordano 3a6dd5e2cc fix dependencies 2021-02-01 16:16:06 +01:00
Salvatore Giordano 38a1b880e5 update deps 2021-02-01 16:11:29 +01:00
Salvatore Giordano 23feabe85e rename Client to StreamChatClient 2021-02-01 15:30:46 +01:00
Salvatore Giordano 1751cd6092 change rc to beta 2021-02-01 15:15:28 +01:00
Sahil Kumar fe45b2ef6e Update README.md
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-01 19:11:57 +05:30
Sahil Kumar e05097a914 fix tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-01 14:58:46 +05:30