-
-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: adding contribution count #3267
feat: adding contribution count #3267
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @prathamsoni11!
Looks good to me, but not to the analyzer.
Please read my comments and feel free to ignore them (except the one about the mandatory type)
packages/smooth_app/lib/pages/preferences/user_preferences_account.dart
Outdated
Show resolved
Hide resolved
@@ -216,6 +217,33 @@ class _UserPreferencesPageState extends State<UserPreferencesSection> { | |||
); | |||
} | |||
|
|||
Future<int?> _getMyCount( | |||
final String userId, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Careful between userId
and email
: to be tested if it works in both cases.
packages/smooth_app/lib/pages/preferences/user_preferences_account.dart
Outdated
Show resolved
Hide resolved
packages/smooth_app/lib/pages/preferences/user_preferences_account.dart
Outdated
Show resolved
Hide resolved
packages/smooth_app/lib/pages/preferences/user_preferences_account.dart
Outdated
Show resolved
Hide resolved
packages/smooth_app/lib/pages/preferences/user_preferences_account.dart
Outdated
Show resolved
Hide resolved
@monsieurtanuki I completed some of your suggestions and pushed the code. |
packages/smooth_app/lib/pages/preferences/user_preferences_account.dart
Outdated
Show resolved
Hide resolved
packages/smooth_app/lib/pages/preferences/user_preferences_account.dart
Outdated
Show resolved
Hide resolved
Codecov Report
@@ Coverage Diff @@
## develop #3267 +/- ##
===========================================
- Coverage 10.53% 10.52% -0.02%
===========================================
Files 249 249
Lines 12248 12262 +14
===========================================
Hits 1290 1290
- Misses 10958 10972 +14
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks @prathamsoni11
What
Screenshot
Fixes bug(s)
Part of