Skip to content

Commit 3f8ab8c

Browse files
authored
Merge pull request #184 from GetStream/develop
2 parents d3b87a6 + c68f16f commit 3f8ab8c

File tree

267 files changed

+13927
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+13927
-97
lines changed

.github/workflows/pana.yaml

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,47 @@ jobs:
5353
then
5454
echo Score too low!
5555
exit 1
56-
fi
56+
fi
57+
stream_feed_flutter_core:
58+
runs-on: ubuntu-latest
59+
steps:
60+
- uses: actions/checkout@v2
61+
- uses: axel-op/dart-package-analyzer@v3
62+
id: analysis
63+
with:
64+
githubToken: ${{ secrets.GITHUB_TOKEN }}
65+
relativePath: packages/stream_feed_flutter_core
66+
- name: Check scores
67+
env:
68+
# NB: "analysis" is the id set above. Replace it with the one you used if different.
69+
TOTAL: ${{ steps.analysis.outputs.total }}
70+
TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
71+
run: |
72+
PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
73+
if (( $PERCENTAGE < 90 ))
74+
then
75+
echo Score too low!
76+
exit 1
77+
fi
78+
# stream_feed_flutter:
79+
# runs-on: ubuntu-latest
80+
# steps:
81+
# - uses: actions/checkout@v2
82+
# - uses: axel-op/dart-package-analyzer@v3
83+
# id: analysis
84+
# with:
85+
# githubToken: ${{ secrets.GITHUB_TOKEN }}
86+
# relativePath: packages/stream_feed_flutter
87+
# - name: Check scores
88+
# env:
89+
# # NB: "analysis" is the id set above. Replace it with the one you used if different.
90+
# TOTAL: ${{ steps.analysis.outputs.total }}
91+
# TOTAL_MAX: ${{ steps.analysis.outputs.total_max }}
92+
# run: |
93+
# PERCENTAGE=$(( $TOTAL * 100 / $TOTAL_MAX ))
94+
# if (( $PERCENTAGE < 90 ))
95+
# then
96+
# echo Score too low!
97+
# exit 1
98+
# fi
99+

example/lib/activity_item.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import 'package:example/app_user.dart';
21
import 'package:flutter/foundation.dart';
32
import 'package:flutter/material.dart';
43
import 'package:stream_feed/stream_feed.dart';
4+
import 'package:stream_feed_example/app_user.dart';
55
import 'package:timeago/timeago.dart' as timeago;
66

77
//ignore: public_member_api_docs

example/lib/extension.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import 'package:example/client_provider.dart';
21
import 'package:flutter/material.dart';
32
import 'package:stream_feed/stream_feed.dart';
3+
import 'package:stream_feed_example/client_provider.dart';
44

55
//ignore: public_member_api_docs
66
extension ProviderX on BuildContext {

example/lib/home.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import 'package:example/people_screen.dart';
2-
import 'package:example/profile_screen.dart';
3-
import 'package:example/timeline_screen.dart';
41
import 'package:flutter/foundation.dart';
52
import 'package:flutter/material.dart';
63
import 'package:stream_feed/stream_feed.dart';
4+
import 'package:stream_feed_example/people_screen.dart';
5+
import 'package:stream_feed_example/profile_screen.dart';
6+
import 'package:stream_feed_example/timeline_screen.dart';
77

88
//ignore: public_member_api_docs
99
class HomeScreen extends StatefulWidget {

example/lib/main.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import 'package:example/app_user.dart';
2-
import 'package:example/client_provider.dart';
3-
import 'package:example/extension.dart';
4-
import 'package:example/home.dart';
51
import 'package:flutter/material.dart';
62
import 'package:stream_feed/stream_feed.dart';
3+
import 'package:stream_feed_example/app_user.dart';
4+
import 'package:stream_feed_example/client_provider.dart';
5+
import 'package:stream_feed_example/extension.dart';
6+
import 'package:stream_feed_example/home.dart';
77

88
//ignore_for_file: public_member_api_docs
99

example/lib/people_screen.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import 'package:example/app_user.dart';
2-
import 'package:example/extension.dart';
31
import 'package:flutter/cupertino.dart';
42
import 'package:flutter/foundation.dart';
53
import 'package:flutter/material.dart';
64
import 'package:stream_feed/stream_feed.dart';
5+
import 'package:stream_feed_example/app_user.dart';
6+
import 'package:stream_feed_example/extension.dart';
77

88
// ignore_for_file: public_member_api_docs
99

example/lib/profile_screen.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import 'package:example/activity_item.dart';
2-
import 'package:example/add_activity_dialog.dart';
3-
import 'package:example/extension.dart';
41
import 'package:flutter/foundation.dart';
52
import 'package:flutter/material.dart';
63
import 'package:stream_feed/stream_feed.dart';
4+
import 'package:stream_feed_example/activity_item.dart';
5+
import 'package:stream_feed_example/add_activity_dialog.dart';
6+
import 'package:stream_feed_example/extension.dart';
77

88
//ignore: public_member_api_docs
99
class ProfileScreen extends StatefulWidget {

example/lib/timeline_screen.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import 'package:example/activity_item.dart';
2-
import 'package:example/extension.dart';
31
import 'package:flutter/foundation.dart';
42
import 'package:flutter/material.dart';
53
import 'package:stream_feed/stream_feed.dart';
4+
import 'package:stream_feed_example/activity_item.dart';
5+
import 'package:stream_feed_example/extension.dart';
66

77
// ignore_for_file: public_member_api_docs
88

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: example
1+
name: stream_feed_example
22
description: A new Flutter application.
33

44
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

packages/stream_feed/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
## 0.4.0+2: 22/12/2021
1+
## 0.4.0+3: 27/12/2021
2+
3+
- fix: call profile in setUser, so that currentUser data is not null
4+
5+
## 0.4.0+2: 22/12/2021
26

37
- fix: export image_storage_client.dart
48

0 commit comments

Comments
 (0)