Skip to content
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

chore: more app updates for UK compliance #6221

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kathaypacific
Copy link
Collaborator

@kathaypacific kathaypacific commented Nov 11, 2024

Description

This PR contains all the requested changes described in the task. Some features that were required to be hidden to UK users could be done through existing feature flags, but I opted to consolidate the UK changes under the SHOW_UK_COMPLIANT_VARIANT flag for readability.

Test plan

User with activity:

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-11-12.at.11.36.42.mp4

User with no activity:

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-11-11.at.17.15.50.mp4

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)

@kathaypacific kathaypacific marked this pull request as ready for review November 12, 2024 11:11
Copy link

codecov bot commented Nov 12, 2024

Codecov Report

Attention: Patch coverage is 97.82609% with 1 line in your changes missing coverage. Please review.

Project coverage is 88.97%. Comparing base (c9bc051) to head (4c8d63a).

Files with missing lines Patch % Lines
src/dappsExplorer/DiscoverDappsCard.tsx 83.33% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##             main    #6221    +/-   ##
========================================
  Coverage   88.97%   88.97%            
========================================
  Files         736      737     +1     
  Lines       31407    31434    +27     
  Branches     5809     5821    +12     
========================================
+ Hits        27944    27969    +25     
- Misses       3265     3421   +156     
+ Partials      198       44   -154     
Files with missing lines Coverage Δ
src/dapps/DappsScreen.tsx 98.33% <100.00%> (+0.07%) ⬆️
src/earn/EarnEntrypoint.tsx 100.00% <100.00%> (ø)
src/images/Celebration.tsx 100.00% <100.00%> (ø)
src/points/PointsDiscoverCard.tsx 100.00% <100.00%> (ø)
src/transactions/NoActivity.tsx 100.00% <100.00%> (ø)
src/transactions/apiTestHelpers.ts 100.00% <100.00%> (ø)
src/transactions/feed/TransactionFeed.tsx 76.92% <100.00%> (+0.51%) ⬆️
src/transactions/feed/TransactionFeedV2.tsx 89.62% <100.00%> (+0.08%) ⬆️
src/dappsExplorer/DiscoverDappsCard.tsx 98.30% <83.33%> (-1.70%) ⬇️

... and 66 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 c9bc051...4c8d63a. Read the comment docs.

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.

💂

@kathaypacific kathaypacific added this pull request to the merge queue Nov 13, 2024
github-merge-queue bot pushed a commit that referenced this pull request Nov 13, 2024
### Description

This PR contains all the requested changes described in the task. Some
features that were required to be hidden to UK users could be done
through existing feature flags, but I opted to consolidate the UK
changes under the `SHOW_UK_COMPLIANT_VARIANT` flag for readability.

### Test plan

User with activity:


https://github.com/user-attachments/assets/e294569d-1165-45d1-be25-b810014468a5


User with no activity:


https://github.com/user-attachments/assets/d61054df-7445-4753-a804-7de065554e2c


### Related issues

- Fixes RET-1239

### 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)
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Nov 13, 2024
@kathaypacific kathaypacific added this pull request to the merge queue Nov 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants