desmos-labs / mooncake

The first decentralized social app based on Desmos
MIT License
47 stars 14 forks source link

update postitem display #127

Closed ryuash closed 3 years ago

ryuash commented 3 years ago

Description

relates to #55 I updated post item to only list the posts with errors if specified. We can remove it completely in the future but I think profile currently currently uses it.

This PR adds an optional displayErrorPost to PostItem with a default value of false

Checklist

codecov[bot] commented 3 years ago

Codecov Report

Merging #127 into master will increase coverage by 0.01%. The diff coverage is 85.71%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #127      +/-   ##
==========================================
+ Coverage   61.76%   61.78%   +0.01%     
==========================================
  Files         266      266              
  Lines        6711     6714       +3     
==========================================
+ Hits         4145     4148       +3     
  Misses       2566     2566              
Impacted Files Coverage Δ
lib/ui/screens/user_details_screen/index.dart 82.14% <0.00%> (ø)
.../screens/home_screen/widgets/posts_list/index.dart 69.86% <85.71%> (+0.41%) :arrow_up:
lib/ui/blocs/posts_list/posts_list_state.dart 70.58% <100.00%> (+2.84%) :arrow_up:
lib/ui/widgets/posts_list_item/index.dart 65.62% <100.00%> (-1.05%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a5a26d3...27a47a0. Read the comment docs.