Commit Graph
38 Commits
Author SHA1 Message Date
Sahil Kumar 2be51c0c01 chore(core): fix MockClientState
Signed-off-by: xsahil03x <[email protected]>
2021-07-26 15:25:15 +05:30
Sahil Kumar f7b9511adb refactor(llc, core, ui): Deprecate .user, .userStream in favor of .currentUser, .currentUserStream
Signed-off-by: xsahil03x <[email protected]>
2021-07-26 14:57:29 +05:30
Salvatore Giordano 6c08c5a784 add test 2021-07-19 12:11:34 +02:00
Salvatore Giordano 57594c403c add test 2021-07-19 12:10:20 +02:00
Salvatore Giordano e0153b4852 fix analyzer 2021-07-16 13:15:50 +02:00
Sahil KumarandGitHub 633bcb750d Merge pull request #548 from GetStream/hotfix/backgroundDisconnection
fix: use inactive as a foreground state
2021-07-16 16:16:29 +05:30
Reuben TurnerandGitHub b306978da6 chore: apply linter to the various example and test directories (#550)
* chore: remove examples and tests from analysis exclusion

* chore: apply linter fixes to stream_chat_flutter_core/example/main.dart

* chore: apply linter fixes to stream_chat_flutter/example/main.dart

* chore: apply linter fixes to stream_chat_persistence/example/main.dart

* chore: apply linter fixes to stream_chat/example/main.dart

* chore: apply linter fixes to stream_chat_flutter/example/split_view.dart

* chore: renamte tutorial files per linter

* chore: apply linter fixes to tutorial_part_1.dart

* chore: apply linter fixes to tutorial_part_2.dart

* chore: apply linter fixes to tutorial_part_3.dart

* chore: apply linter fixes to tutorial_part_4.dart

* chore: apply linter fixes to tutorial_part_5.dart

* chore: make a widget const in tutorial_part_5.dart

* chore: apply linter fixes to tutorial_part_6.dart

* chore: sort and update dependencies in stream_chat_persistence/example/pubspec.yaml

* chore: sort and update dependencies in stream_chat_flutter_core/example/pubspec.yaml

* chore: sort and update dependencies in stream_chat_flutter/example/pubspec.yaml

* chore: sort dependencies in stream_chat_flutter/example/pubspec.yaml

* chore: apply linter fixes to channel_test.dart

* chore: apply linter fixes to client_test.dart

* chore: apply linter fixes to client_test.dart, stream_http_client_test.dart, and token_manager_test.dart

* chore: apply linter fixes to filter_test.dart

* chore: apply linter fixes to reaction_test.dart

* chore: apply linter fixes to chat_persistence_client_test.dart

* chore: apply linter fixes to channel_image_test.dart

* chore: apply linter fixes to deleted_message_test.dart

* chore: apply linter fixes to full_screen_media_test.dart

* chore: apply linter fixes to gallery_footer_theme_test.dart

* chore: apply linter fixes to gallery_header_theme_test.dart

* chore: apply linter fixes to message_text_test.dart

* chore: apply linter fixes to reaction_bubble_test.dart

* chore: apply linter fixes to system_message_test.dart

* chore: apply linter fixes to typing_indicator_test.dart

* chore: apply linter fixes to channel_list_core_test.dart

* chore: apply linter fixes to channels_bloc_test.dart

* chore: apply linter fixes to lazy_load_scroll_view_test.dart

* chore: apply linter fixes to channel_matcher.dart

* chore: apply linter fixes to message_matcher.dart

* chore: apply linter fixes to users_matcher.dart

* chore: apply linter fixes to message_list_core_test.dart

* chore: apply linter fixes to message_search_bloc_test.dart

* chore: apply linter fixes to message_search_list_core_test.dart

* chore: apply linter fixes to stream_channel_test.dart

* chore: apply linter fixes to stream_chat_core_test.dart

* chore: apply linter fixes to user_list_core_test.dart

* chore: apply linter fixes to channel_query_dao_test.dart, message_mapper_test.dart, user_mapper_test.dart, and users_bloc_test.dart

* chore: apply some missed dartfmt

* test: regenerate failinggolden test
2021-07-16 10:49:51 +02:00
Salvatore Giordano e99c66be99 add tests 2021-07-15 13:15:22 +02:00
Salvatore GiordanoandGitHub 6ff2dc7089 Merge pull request #520 from GetStream/feat/connectionLessClient
feat!: connection less client [CDS-335]
2021-07-08 10:38:07 +02:00
Salvatore Giordano c617b3040a add connectWebsocket property to connectUser calls 2021-07-02 11:58:23 +02:00
Salvatore Giordano 8ceff3ab62 fix test and example 2021-07-01 10:47:30 +02:00
Salvatore Giordano 8052edf09c fix tests 2021-06-28 15:20:50 +02:00
Sahil Kumar 0860acb61e fix tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-17 14:35:20 +05:30
Sahil Kumar 7c9bc3b950 merge origin/develop into ref/segregate-api-layer
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-15 17:32:09 +05:30
Salvatore Giordano a6ff8e7039 fix tests 2021-06-10 12:33:20 +02:00
Sahil Kumar eac8093b22 merge fixes
Signed-off-by: Sahil Kumar <[email protected]>
2021-06-02 18:03:22 +05:30
Sahil Kumar 839ced618b major refactoring
Signed-off-by: Sahil Kumar <[email protected]>
2021-05-27 19:59:34 +05:30
Salvatore Giordano 4f5958a067 implement connectivity plus 2021-05-27 11:04:30 +02:00
Salvatore Giordano 2b9f20a04d add small test 2021-05-12 16:36:44 +02:00
Salvatore Giordano 5f010ce82d fix tests 2021-05-12 13:52:02 +02:00
Salvatore Giordano fff82c8455 fix tests 2021-05-06 14:52:38 +02:00
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
Salvatore Giordano 4c4473d4b5 migrate sample app 2021-04-20 13:14:07 +02:00
Salvatore Giordano 987da10cba migrate code 2021-04-20 12:44:11 +02:00
Deven JoshiandSalvatore Giordano 74fb9d8dd8 added non-nullability for core 2021-04-20 10:35:40 +02:00
Sahil Kumar 3ec389bd71 fix tests
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-02 19:19:20 +05:30
Sahil KumarandGitHub 63705693dc fix: fix channel list pagination spinner (#375)
Signed-off-by: Sahil Kumar <[email protected]>
2021-04-01 13:25:12 +02:00
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
Deven Joshi 4fa6581f19 fix: tests 2021-02-03 14:31:25 +05:30
Salvatore Giordano 23feabe85e rename Client to StreamChatClient 2021-02-01 15:30:46 +01:00
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
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
Salvatore Giordano 1bb6b04381 fix analyze 2021-01-22 17:35:30 +01:00
Salvatore Giordano 88777da2a7 fix formatting 2021-01-22 17:23:50 +01:00
Deven Joshi 844f3c3277 feat: Added exports 2021-01-22 17:25:03 +05:30
Deven Joshi 803b42307b feat: Added new ui package 2021-01-21 14:02:00 +05:30