Skip to content
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.

[WIP] Mobile visual cleanup #669

Merged
merged 20 commits into from
Dec 10, 2018
Merged

Conversation

cvarley100
Copy link
Contributor

@cvarley100 cvarley100 commented Nov 29, 2018

Description

  • Fixes various visual issues on Mobile
  • Adds node options animations on login

Type of change

  • Bug fix (a non-breaking change which fixes an issue)
  • Enhancement (a non-breaking change which adds functionality)

How Has This Been Tested?

Checklist:

Please delete items that are not relevant.

  • My code follows the style guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • For changes to mobile that include native code (including React Native modules): I have verified that both iOS and Android successfully build in both Debug and Release modes

@cvarley100 cvarley100 changed the title Mobile visual cleanup [WIP] Mobile visual cleanup Dec 6, 2018
@rajivshah3 rajivshah3 added C - Mobile E - UI/UX Epic - Improving user interface/user experience labels Dec 6, 2018
if (isAndroid) {
this.keyboardWillShowSub = Keyboard.addListener('keyboardDidShow', this.keyboardDidShow);
this.keyboardWillHideSub = Keyboard.addListener('keyboardDidHide', this.keyboardDidHide);
}
Copy link
Member

Choose a reason for hiding this comment

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

Couldn't we just use if-else here instead of two if statements?

if (!this.props.isModalActive && newProps.isModalActive) {
if (this.props.isKeyboardActive && !isAndroid) {
Keyboard.dismiss();
return timer.setTimeout('test', () => this.setState({ isModalActive: true }), 2800);
Copy link
Member

Choose a reason for hiding this comment

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

Does this timer need to be cleared on unmount?

@cvarley100 cvarley100 changed the base branch from feat/dashboard-animations to feat/animations December 10, 2018 15:28
@cvarley100 cvarley100 merged commit dd3aeca into feat/animations Dec 10, 2018
@rajivshah3 rajivshah3 deleted the chore/visual-cleanup branch December 11, 2018 05:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C - Mobile E - UI/UX Epic - Improving user interface/user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants