wallet icon indicating copy to clipboard operation
wallet copied to clipboard

feat: earn transaction feed items

Open MuckT opened this issue 1 year ago • 1 comments

Description

Adds the EarnFeedItem.tsx, types and associated GraphQL queries to populate the transaction feed.

Screenshots

iOS transaction Feed iOS Details

Test plan

  • [x] Tested locally on iOS
  • [x] Tested locally on Android
  • [x] Unit tests added

Related issues

  • Fixes ACT-1182

Backwards compatibility

Yes

Network scalability

If a new NetworkId and/or Network are added in the future, the changes in this PR will:

  • [x] Continue to work without code changes, OR trigger a compilation error (guaranteeing we find it when a new network is added)

MuckT avatar May 15 '24 05:05 MuckT

Codecov Report

Attention: Patch coverage is 82.55814% with 15 lines in your changes are missing coverage. Please review.

Project coverage is 86.26%. Comparing base (99d3822) to head (8075033).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5414      +/-   ##
==========================================
- Coverage   86.27%   86.26%   -0.02%     
==========================================
  Files         753      754       +1     
  Lines       30700    30785      +85     
  Branches     5238     5257      +19     
==========================================
+ Hits        26487    26557      +70     
- Misses       3986     4001      +15     
  Partials      227      227              
Files Coverage Δ
src/analytics/Events.tsx 100.00% <100.00%> (ø)
src/analytics/Properties.tsx 100.00% <ø> (ø)
src/icons/UpwardGraph.tsx 100.00% <100.00%> (+33.33%) :arrow_up:
src/transactions/feed/EarnFeedItem.tsx 100.00% <100.00%> (ø)
src/transactions/feed/TransactionFeedItemImage.tsx 94.28% <100.00%> (+0.53%) :arrow_up:
src/transactions/feed/queryHelper.ts 95.10% <ø> (ø)
src/transactions/types.ts 97.72% <100.00%> (+0.16%) :arrow_up:
src/transactions/feed/TransactionFeed.tsx 87.30% <20.00%> (-5.81%) :arrow_down:
src/transactions/feed/TransactionDetailsScreen.tsx 80.61% <0.00%> (-10.20%) :arrow_down:

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

codecov[bot] avatar May 15 '24 15:05 codecov[bot]