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

feat: add jumpstart confirmation screen #5050

Merged
merged 8 commits into from
Mar 7, 2024

Conversation

kathaypacific
Copy link
Collaborator

@kathaypacific kathaypacific commented Mar 6, 2024

Description

This PR adds:

  • a new jumpstart confirmation screen. it is just displaying information at this stage.
  • navigation to this new screen from the enter amount screen
  • some analytics
  • unit tests for the new screen

Not included: sending the transaction

Test plan

Simulator Screenshot - iPhone 14 Pro - 2024-03-07 at 10 38 04

Related issues

Backwards compatibility

Y

Network scalability

Y

@kathaypacific kathaypacific marked this pull request as ready for review March 7, 2024 10:23
Copy link

emerge-tools bot commented Mar 7, 2024

1 build increased size

Name Version Download Change Install Change Approval
Celo (test)
org.celo.mobile.test
1.79.0 (144) 24.2 MB ⬆️ 8.4 kB (0.03%) 60.3 MB ⬆️ 16.4 kB (0.03%) N/A

Celo (test) 1.79.0 (144)
org.celo.mobile.test

⚖️ Compare build
📦 Install build
⏱️ Analyze build performance

Total install size change: ⬆️ 16.4 kB (0.03%)
Total download size change: ⬆️ 8.4 kB (0.03%)

Largest size changes

Item Install Size Change
main.jsbundle ⬆️ 16.4 kB

🛸 Powered by Emerge Tools

Copy link
Member

@jeanregisser jeanregisser left a comment

Choose a reason for hiding this comment

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

🚀

@@ -330,11 +330,6 @@ export enum SendEvents {
send_select_recipient_recent_press = 'send_select_recipient_recent_press',
}

export enum JumpstartEvents {
Copy link
Member

Choose a reason for hiding this comment

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

Interesting that TS lets us export the same name twice 🤔

}

return (
<ScrollView contentContainerStyle={styles.container}>
Copy link
Member

@jeanregisser jeanregisser Mar 7, 2024

Choose a reason for hiding this comment

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

nit: maybe we should pad the bottom with the safe area? for when the content can grow big due to a large font for instance

<SafeAreaView edges={['bottom']}>

Copy link

codecov bot commented Mar 7, 2024

Codecov Report

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

Project coverage is 85.53%. Comparing base (5bab44d) to head (b00c37d).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5050      +/-   ##
==========================================
+ Coverage   85.46%   85.53%   +0.07%     
==========================================
  Files         719      722       +3     
  Lines       29199    29415     +216     
  Branches     5038     5083      +45     
==========================================
+ Hits        24955    25161     +206     
- Misses       4014     4021       +7     
- Partials      230      233       +3     
Files Coverage Δ
src/analytics/Events.tsx 100.00% <100.00%> (ø)
src/analytics/Properties.tsx 100.00% <ø> (ø)
src/navigator/Screens.tsx 100.00% <100.00%> (ø)
src/jumpstart/JumpstartEnterAmount.tsx 91.42% <77.77%> (+9.46%) ⬆️
src/jumpstart/JumpstartSendConfirmation.tsx 94.44% <94.44%> (ø)

... and 12 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 5bab44d...b00c37d. Read the comment docs.

@kathaypacific kathaypacific added this pull request to the merge queue Mar 7, 2024
Merged via the queue into main with commit 99f92a2 Mar 7, 2024
16 checks passed
@kathaypacific kathaypacific deleted the kathy/escrow-confirm-screen branch March 7, 2024 14:23
shottah pushed a commit to zed-io/kolektivo that referenced this pull request May 15, 2024
### Description

This PR adds:
- a new jumpstart confirmation screen. it is just displaying information
at this stage.
- navigation to this new screen from the enter amount screen
- some analytics 
- unit tests for the new screen

Not included: sending the transaction

### Test plan

![Simulator Screenshot - iPhone 14 Pro - 2024-03-07 at 10 38
04](https://github.com/valora-inc/wallet/assets/20150449/6600ffba-23f1-4a33-b00d-fe4c901e071b)


### Related issues

- Related to RET-994

### Backwards compatibility

Y

### Network scalability

Y
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.

None yet

2 participants