Commit Graph
48 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
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
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
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 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 23feabe85e rename Client to StreamChatClient 2021-02-01 15:30:46 +01:00
Sahil Kumar e05097a914 fix tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-01 14:58:46 +05:30
Sahil Kumar 206f63ff84 [StreamChatCore] Move EventHandler into typedef.dart
Signed-off-by: Sahil Kumar <[email protected]>
2021-02-01 14:50:01 +05:30
Sahil Kumar c80e7cc049 Merge branches 'feature/new-ui' and 'llc-independence' of https://github.com/GetStream/stream-chat-flutter into llc-independence
 Conflicts:
	packages/stream_chat_flutter_core/lib/src/lazy_load_scroll_view.dart
	packages/stream_chat_flutter_core/lib/src/stream_chat_core.dart
2021-02-01 14:44:58 +05:30
Neevash Ramdial 992a0f5569 remove new line 2021-01-29 21:24:49 -04:00
Neevash Ramdial a4b7a4441a Add assert checks for required parameters. 2021-01-29 21:16:07 -04:00
Neevash Ramdial f7d1e480c7 [Core] sort constructor first across package 2021-01-29 21:04:14 -04:00
Neevash Ramdial 00b24113c3 [Core] Update documentation with API links 2021-01-29 21:02:31 -04:00
Sahil Kumar 2a9ff5778f Merge branches 'feature/new-ui' and 'llc-independence' of https://github.com/GetStream/stream-chat-flutter into llc-independence 2021-01-29 20:12:14 +05:30
Neevash Ramdial e5829c3c83 update formatting 2021-01-29 10:34:18 -04:00
Neevash Ramdial c09f24d945 migrate error builder callback using typedef 2021-01-29 10:19:18 -04:00
Neevash Ramdial b08940bd61 extract typedef to file 2021-01-29 10:18:41 -04:00
Sahil Kumar 5ced4f9c68 Merge branches 'feature/new-ui' and 'llc-independence' of https://github.com/GetStream/stream-chat-flutter into llc-independence
 Conflicts:
	packages/stream_chat_flutter_core/lib/src/stream_chat_core.dart
2021-01-29 17:28:34 +05:30
Sahil Kumar 5310287fdd Transfer showLocalNotification, backgroundKeepAlive from LLC to Core
Signed-off-by: Sahil Kumar <[email protected]>
2021-01-29 17:23:00 +05:30
Sahil Kumar 4b9a7d6837 [Core -> LazyLoadScrollView] Remove isLoading property
Signed-off-by: Sahil Kumar <[email protected]>
2021-01-29 15:22:19 +05:30
Neevash Ramdial 935a38f089 remove @tool annotation 2021-01-28 20:44:55 -04:00
Neevash Ramdial e537c0e78a Update docs 2021-01-28 20:24:55 -04:00
Salvatore Giordano ee745af2d9 remove screenshots 2021-01-28 14:25:26 +01:00
Deven Joshi c741a86c3e feat: Added better README.md for both packages, added LICENSE 2021-01-28 17:22:44 +05:30
Salvatore Giordano 1c4115280d Merge branch 'feature/ui-split' into nash/message-core-error-builder 2021-01-28 12:03:33 +01:00
Neevash Ramdial e7d68aa36a expose error builder in message list core 2021-01-27 22:30:37 -04:00
Salvatore Giordano 3e9734133d add streamchatcore tests 2021-01-27 14:11:58 +01:00
Deven Joshi 6983b05a72 fix: analysis and text 2021-01-26 22:59:52 +05:30
Deven Joshi 29837e23f5 fix: analysis issues 2021-01-26 21:37:20 +05:30
Deven Joshi ec858e4973 doc: Added some docs for core code 2021-01-26 18:44:02 +05:30
Deven Joshi a79f551332 feat: Converted message_list_view.dart 2021-01-25 20:59:50 +05:30
Deven Joshi 5594a9a116 feat: Added fixes and user_list_view.dart 2021-01-25 20:24:22 +05:30
Deven Joshi 0f7a16dc6d feat: Added channel_list new implementation, fixed upper repo 2021-01-25 19:29:32 +05:30
Deven Joshi 1cbdbf5d6f rfac: Changed names according to convention 2021-01-25 18:39:06 +05:30
Deven Joshi e9fd5c96f5 feat: Added load data to controllers 2021-01-25 17:29:25 +05:30
Deven Joshi 72b9141a0f Merge branch 'feature/ui-split' of https://github.com/GetStream/stream-chat-flutter into feature/ui-split 2021-01-25 12:55:22 +05:30
Deven Joshi c5caf5bfc3 rfac: Added core prefixes 2021-01-25 12:54:55 +05:30
Salvatore Giordano 1bb6b04381 fix analyze 2021-01-22 17:35:30 +01:00
Deven Joshi 844f3c3277 feat: Added exports 2021-01-22 17:25:03 +05:30
Deven Joshi c0ebd9efe4 feat: Removed theme and added new widgets 2021-01-22 17:14:48 +05:30
Deven Joshi cf3e1b8363 feat: Added new widgets 2021-01-22 14:54:45 +05:30
Deven Joshi e0474b8ded feat: Added first widgets 2021-01-21 17:55:31 +05:30
Deven Joshi 803b42307b feat: Added new ui package 2021-01-21 14:02:00 +05:30