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

[Wallet] Add spinner, timer, and tip text to Verification input screen #1656

Merged
merged 14 commits into from
Nov 12, 2019

Conversation

jmrossy
Copy link
Contributor

@jmrossy jmrossy commented Nov 11, 2019

Description

  • Add spinner, timer, and tip text to Verification input screen
  • Improve code organization of related components

Tested

Did verification and added new tests

Related issues

Backwards compatibility

Yes

@codecov
Copy link

codecov bot commented Nov 11, 2019

Codecov Report

Merging #1656 into master will increase coverage by 0.08%.
The diff coverage is 78.43%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1656      +/-   ##
==========================================
+ Coverage   74.29%   74.38%   +0.08%     
==========================================
  Files         278      279       +1     
  Lines        7540     7565      +25     
  Branches      944      662     -282     
==========================================
+ Hits         5602     5627      +25     
+ Misses       1825     1824       -1     
- Partials      113      114       +1
Flag Coverage Δ
#mobile 74.38% <78.43%> (+0.08%) ⬆️
Impacted Files Coverage Δ
...ages/mobile/src/verify/VerificationInputScreen.tsx 64.51% <62.5%> (+1.4%) ⬆️
packages/mobile/src/verify/VerificationCodeRow.tsx 85.71% <85.71%> (ø)

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 cc69980...17a51c7. Read the comment docs.

Copy link
Contributor

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

Looks great! 👍

style={styles.codeInput}
/>
{isCodeSubmitting && (
<ActivityIndicator size="small" color={colors.celoGreen} style={styles.codeInputSpinner} />
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't we want our custom activity indicator everywhere now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not yet but soon!

Comment on lines +101 to +102
this.keyboardDidShowListener = Keyboard.addListener('keyboardDidShow', this.onKeyboardShow)
this.keyboardDidHideListener = Keyboard.addListener('keyboardDidHide', this.onKeyboardHide)
Copy link
Contributor

Choose a reason for hiding this comment

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

If you end up needing <KeyboardSpacer /> on this screen for iOS, it has a onToggle prop that could simplify this a little.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool, I'll test iOS today and see if that's needed/helpful!

@jmrossy jmrossy merged commit cabadee into master Nov 12, 2019
@jmrossy jmrossy deleted the rossy/wa-ver-spinner-fix branch November 12, 2019 13:11
aaronmgdr added a commit that referenced this pull request Nov 14, 2019
* master: (56 commits)
  Adjust e2e transfer and governance tests to match new fee distribution and eliminate ProposerFraction (#1585)
  [Wallet] Add more local currencies (#1698)
  Switch to correct cluster when fauceting (#1687)
  [Wallet] Use the country of the phone number for determining the default local currency (#1684)
  [Wallet] Limit QR code scanner to 1 code per second (#1676)
  Update Dark backgrounds text color (#1677)
  Remove integration sync test
  Minor attestation service fixes (#1680)
  [wallet] Fixed Native phone picker Use native API instead (#1669)
  Fix token addresses for notification service (#1674)
  Add golang to setup docs
  [wallet] Hide invite education copy after invite was redeemed (#1670)
  [Wallet] Add spinner, timer, and tip text to Verification input screen (#1656)
  [Wallet] Fix app deprecation check mechanism (#1358)
  Point end-to-end governance test back to master (#1665)
  Add EpochRewards smart contract to calculate epoch rewards and payments (#1558)
  Optimized Attestation view calls and removal of the reveal TX (#1578)
  Support claim signatures and support Keybase claims (#1575)
  [Wallet] Add timestamp to top banner messages (#1657)
  Export geth metrics on VM testnet (#1351)
  ...

# Conflicts:
#	yarn.lock
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.

Verification V2 (Optional Verification)
5 participants