Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: update colors of transaction feed and points history icons #6450

Merged
merged 4 commits into from
Jan 31, 2025

Conversation

kathaypacific
Copy link
Collaborator

Description

This is planned for the transaction feed work but it also affects beefy, so I thought I'd just do it now. Kayla confirmed she is confident that she wants to go through with these changes (they're also in the demo designs) - rationale being taking away some color will bring more emphasis to the network icons.

Test plan

Simulator Screenshot - iPhone 15 Pro - 2025-01-24 at 16 54 16
Simulator Screenshot - iPhone 15 Pro - 2025-01-24 at 16 52 59

Related issues

Backwards compatibility

Y

Network scalability

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

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

Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.05%. Comparing base (a733bde) to head (9a99613).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             main    #6450    +/-   ##
========================================
  Coverage   89.05%   89.05%            
========================================
  Files         730      730            
  Lines       31895    31890     -5     
  Branches     5792     6107   +315     
========================================
- Hits        28405    28401     -4     
+ Misses       3443     3292   -151     
- Partials       47      197   +150     
Files with missing lines Coverage Δ
src/components/ContactCircle.tsx 100.00% <100.00%> (ø)
src/icons/Activity.tsx 100.00% <100.00%> (ø)
src/icons/MagicWand.tsx 100.00% <100.00%> (ø)
src/points/cardDefinitions.tsx 76.27% <ø> (ø)
src/transactions/feed/TransactionFeedItemImage.tsx 95.91% <ø> (ø)

... and 68 files 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 a733bde...9a99613. Read the comment docs.

Copy link
Contributor

@sviderock sviderock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@@ -186,7 +186,7 @@ exports[`SendConfirmation renders correctly 1`] = `
"justifyContent": "center",
},
{
"backgroundColor": "hsl(0, 53%, 93%)",
"backgroundColor": "#F8F9F9",
Copy link
Contributor

@sviderock sviderock Jan 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file was removed with the new Review screen changes so this will probably become unnecessary after merging the main in

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh yeah sorry, i didn't realise there were conflicts! should have resolved them before i nagged for reviews 🙈

Copy link
Contributor

@bakoushin bakoushin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

So we are getting rid of different icon colors depending on contact addresses?

@kathaypacific
Copy link
Collaborator Author

LGTM!

So we are getting rid of different icon colors depending on contact addresses?

yes correct - the reasoning is to keep the icons more muted and consistent, since the network icons are colorful already and this would draw more attention to them

@kathaypacific kathaypacific added this pull request to the merge queue Jan 31, 2025
Merged via the queue into main with commit 8935871 Jan 31, 2025
15 checks passed
@kathaypacific kathaypacific deleted the kathy/tx-feed-colors branch January 31, 2025 13:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants