CollActionteam / collaction_app

CollAction cross-platform mobile application for iOS and Android
https://collaction.org
GNU General Public License v3.0
33 stars 12 forks source link

Feat/badge integration #353

Open andre-tm-hui opened 1 year ago

andre-tm-hui commented 1 year ago

Created Badge and BadgeDto entities, and updated tests to ensure JSONs from the API are parsed correctly.

codecov[bot] commented 1 year ago

Codecov Report

Merging #353 (14d984e) into development (db8283d) will decrease coverage by 0.12%. The diff coverage is 12.94%.

:exclamation: Current head 14d984e differs from pull request most recent head f7df4ee. Consider uploading reports for the commit f7df4ee to get more accurate results

@@               Coverage Diff               @@
##           development     #353      +/-   ##
===============================================
- Coverage        65.65%   65.53%   -0.12%     
===============================================
  Files              161      162       +1     
  Lines             4067     4074       +7     
===============================================
  Hits              2670     2670              
- Misses            1397     1404       +7     
Impacted Files Coverage Δ
lib/domain/crowdaction/crowdaction.dart 94.73% <ø> (ø)
lib/domain/profile/profile.dart 100.00% <ø> (ø)
.../infrastructure/auth/firebase_auth_repository.dart 40.20% <0.00%> (-4.96%) :arrow_down:
lib/presentation/auth/auth_screen.dart 2.00% <0.00%> (ø)
...rowdaction_details/crowdaction_details_screen.dart 0.00% <0.00%> (ø)
...ction_details/widgets/crowdaction_description.dart 0.00% <0.00%> (ø)
...on_details/widgets/crowdaction_details_banner.dart 84.37% <ø> (-0.92%) :arrow_down:
lib/presentation/home/widgets/password_modal.dart 80.59% <0.00%> (ø)
...ation/shared_widgets/expandable_markdown_text.dart 0.00% <0.00%> (ø)
lib/presentation/themes/markdown_stylesheet.dart 0.00% <0.00%> (ø)
... and 4 more

... and 3 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

wizlif commented 1 year ago

@andre-tm-hui Please fix conflicts and merge.

andre-tm-hui commented 1 year ago

Conflicts fixed and ready for merge. Had to change the class name from Badge to CollActionBadge since a Badge class already exists in flutter.