Commit Graph
63 Commits
Author SHA1 Message Date
Salvatore Giordano 9834660679 Merge branch 'develop' into perf 2021-06-07 15:36:47 +02:00
Salvatore Giordano 6df1e111cb add skippush to merge 2021-06-07 10:59:35 +02:00
Salvatore Giordano 06bf2cdfe5 fix rebuild message list view 2021-06-01 15:42:45 +02:00
Salvatore Giordano 5d4b2d33fa add doc comment 2021-05-17 13:28:40 +02:00
Salvatore Giordano 26e1c21e70 add filter.raw 2021-05-17 12:53:37 +02:00
Salvatore Giordano 6088c0bd99 operator can be null in certain cases 2021-05-17 12:27:22 +02:00
Salvatore Giordano 3bd11d0c45 fix reaction extradata 2021-05-14 13:39:49 +02:00
Salvatore Giordano 0ab428ce2e use Map<String, Object?> for extradata 2021-05-14 11:24:05 +02:00
Salvatore Giordano 18ce268e48 use common analysis options 2021-05-06 11:48:26 +02:00
Salvatore Giordano 34888d0fff migrate ui 2021-04-30 14:58:50 +02:00
Sahil Kumar 75b59f0b51 add doc comments
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-28 15:45:08 +05:30
Sahil Kumar 697e14457e cleanup
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-27 15:47:00 +05:30
Sahil Kumar 8c666caa52 refactor (core <-> ui <-> persistence) with the new filter changes.
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-27 15:41:00 +05:30
Sahil KumarandGitHub f683961581 Update packages/stream_chat/lib/src/models/filter.dart 2021-04-26 20:39:17 +05:30
Sahil Kumar ac995b2fc9 feat(llc): add support for type safe filters
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-26 19:55:50 +05:30
Salvatore GiordanoandGitHub 7efe7de9f2 Merge branch 'feature/null-safety' into persistence-nnbd 2021-04-21 10:06:43 +02:00
Sahil Kumar 3bb1b11ee8 migrate to nnbd
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-20 19:52:06 +05:30
Salvatore GiordanoandSahil Kumar 8f1f7b0b68 fix own user model 2021-04-20 19:07:31 +05:30
Salvatore Giordano 8f7106020f fix own user model 2021-04-20 14:53:19 +02:00
Salvatore GiordanoandGitHub 7e80071aa2 Merge branch 'feature/null-safety' into core-nnbd 2021-04-20 13:14:52 +02:00
Salvatore Giordano bc9e0d0285 migrate code 2021-04-20 12:44:22 +02:00
Salvatore Giordano 629691ad5b update user model 2021-04-20 11:07:55 +02:00
Salvatore Giordano 253715a246 add is_local to top level fields 2021-04-20 09:54:41 +02:00
Salvatore Giordano a49d99210e fix event.islocal 2021-04-20 09:53:39 +02:00
Salvatore Giordano 4a094629d1 make event model const 2021-04-20 09:50:09 +02:00
Salvatore Giordano 79769acef0 ignore islocal 2021-04-20 09:41:41 +02:00
Salvatore Giordano 7226d8c4d3 fix event 2021-04-20 09:35:11 +02:00
Salvatore Giordano d9cd6ea55f polish llc 2021-04-19 16:42:34 +02:00
Sahil Kumar 07196eab96 fix tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-19 17:43:11 +05:30
Salvatore Giordano af135ecb9c move on with the migration 2021-04-19 12:40:00 +02:00
Deven Joshi 834e29c3cc fix: generated new models, fixed reactions 2021-04-14 19:31:59 +05:30
Salvatore Giordano 2d11e32700 fix json serialization nnbd 2021-04-14 15:34:52 +02:00
Deven Joshi 88f9bcc80c feat: Converted to ios models part II 2021-04-14 14:56:04 +05:30
Salvatore Giordano 97c35371af fix models 2021-04-13 15:48:05 +02:00
Deven Joshi fe07b8dbb0 feat: Converted to ios models 2021-04-13 18:20:43 +05:30
Salvatore Giordano 391eb8c1ce fix lint 2021-04-13 10:30:06 +02:00
Deven Joshi ee617439cd merged upper branch 2021-04-12 19:01:36 +05:30
Deven Joshi 761deb197e Merge branches 'feature/null-safety' and 'llc-nnbd' of https://github.com/GetStream/stream-chat-flutter into llc-nnbd
 Conflicts:
	packages/stream_chat/lib/src/models/attachment.dart
	packages/stream_chat/pubspec.yaml
2021-04-12 18:59:28 +05:30
Deven Joshi 9ec4c83cfc fixed tests, null errors 2021-04-12 18:44:30 +05:30
Salvatore Giordano e8f673d3b3 Merge branch 'develop' into feature/null-safety 2021-04-09 09:34:26 +02:00
a42b3de6f4 test: add tests for stream chat flutter (#335)
* feat: Added tests

* feat: Added header test

* feat: Added new tests

* fix

* feat: Added test, fmt

* feat: Added delete test

* added system and unread ind tests

* fix: analysis

* added new tests

* fix: analysis

* added tests

* add attachment actions modal tests

* fix analysis

* fix analysis

* add backbutton tests

* fix analysis

* increase timeout

* add channelheader tests

* add infotile tests

* add reactions modal and channel unread indicator tests

* add golden test for reaction bubble

* add dark tests

* add system message golden

* add deletd message golden

* add message action modal tests

* update goldens

* update workflow runner

* update goldens

* remove channel unread indicator in favor of unread indicator

* move file and media screen to sample app

* add channel image tesst

* add channel_list_header test

* add thread_header test

* bump up test threashold

* fix review

Co-authored-by: Salvatore Giordano <[email protected]>
2021-04-08 17:43:08 +02:00
Deven Joshi 686dcf27e6 regenerated files and fixed errors 2021-04-08 16:23:16 +05:30
Sahil Kumar c289871a56 chore(llc): re-generate all files
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-08 15:30:57 +05:30
Deven Joshi c80fc0a6b4 added null safety for llc 2021-04-08 15:03:16 +05:30
Felix AngelovandGitHub 765e7bd542 Merge branch 'feature/null-safety' into feat/nullsafety-stream-chat 2021-03-24 00:17:58 -05:00
Felix Angelov 67f62d0692 feat(stream_chat): upgrade to null safe dependencies 2021-03-21 23:27:26 -05:00
Sahil Kumar e87a8a07a1 test(persistence): add tests for user dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 21:11:07 +05:30
Sahil Kumar 45870d7fab test(persistence): add test for read dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 20:45:11 +05:30
Sahil Kumar edc8c4d181 test(persistence): add tests for connection event dao
Signed-off-by: Sahil Kumar <[email protected]>
2021-03-16 15:51:41 +05:30
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