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

Mobile Alpha 0.6.0 (33) #834

Merged
merged 42 commits into from
Jan 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
be1b80b
Mobile: Fix bar colours
cvarley100 Dec 13, 2018
ea38efb
Mobile: Add new receive page UI
cvarley100 Dec 14, 2018
9430a1c
Mobile: Clear timeouts on unmount
cvarley100 Dec 14, 2018
7610294
Mobile: Adjust receive page animations
cvarley100 Dec 18, 2018
b06fd61
Merge branch 'develop' into chore/mobile-bugs
cvarley100 Dec 18, 2018
5ed1008
Mobile: Rename component
cvarley100 Dec 18, 2018
4fc0596
Mobile: Fix progress bar on fingerprint authentication
cvarley100 Dec 18, 2018
c0f773d
Mobile: Fix topbar spacing
cvarley100 Dec 19, 2018
bebe5be
Mobile: Fix topbar opacity when disabled
cvarley100 Dec 19, 2018
e911885
Mobile: Fix Android alert padding when modal is open
cvarley100 Dec 19, 2018
93a2580
Shared: Localise strings
cvarley100 Dec 19, 2018
ab838dc
Mobile: Update transaction history modal buttons
cvarley100 Dec 19, 2018
72f6193
Mobile: Adjust topbar scrollable
cvarley100 Dec 20, 2018
ed56029
Node Quorum (#631)
laumair Dec 20, 2018
999a836
Mobile: Minor cleanup
cvarley100 Dec 20, 2018
fb862f5
Merge branch 'mobile-0.6.0-alpha-quorum' of https://github.com/iotale…
cvarley100 Dec 20, 2018
4b8c143
Mobile: Bump build numbers for release v0.6.0 (33) (#808)
rajivshah3 Dec 20, 2018
0686258
Merge branch 'develop' into mobile-0.6.0-alpha-quorum
cvarley100 Dec 20, 2018
8af140e
Merge branch 'mobile-0.6.0-alpha-quorum' of https://github.com/iotale…
cvarley100 Dec 20, 2018
7608dc6
Mobile: Bump build no
cvarley100 Dec 21, 2018
b42d2ab
Mobile: Bump build numbers for release 0.6.0 (35) (#844)
rajivshah3 Dec 22, 2018
566f235
Mobile: Fix account name opacity during certain tasks
cvarley100 Dec 21, 2018
3ca7990
Mobile: Adjust chart animations
cvarley100 Dec 21, 2018
ea88193
Mobile: Adjust chart timeframe order
cvarley100 Dec 21, 2018
a6c8d56
Resolve conflicts
cvarley100 Jan 3, 2019
b1fcc4a
Merge branch 'develop' into mobile-0.6.0-alpha-quorum
laumair Jan 4, 2019
c2b3bde
Mobile: Fix View Addresses scrollable area
cvarley100 Jan 4, 2019
e680cfa
Fix failing tests (#879)
laumair Jan 4, 2019
0796ec5
Mobile: Fix issues with animations in settings (#881)
cvarley100 Jan 8, 2019
6a085ec
Quorum refinements (#884)
laumair Jan 8, 2019
2141fb3
Disable quorum for getLatestInclusion (#900)
laumair Jan 9, 2019
deb050e
Merge branch 'develop' into mobile-0.6.0-alpha-quorum
rajivshah3 Jan 10, 2019
2ba229c
Mobile: Add request-specific timeouts to quorum
cvarley100 Jan 10, 2019
31274f9
Mobile: Add request-specific timeouts to quorum (#903)
cvarley100 Jan 10, 2019
27b5a04
Merge branch 'mobile-0.6.0-alpha-quorum' of https://github.com/iotale…
cvarley100 Jan 10, 2019
de617a8
Alpha 0.6.0 (36) Release (#904)
cvarley100 Jan 10, 2019
58e5ce0
Merge branch 'mobile-0.6.0-alpha-quorum' of https://github.com/iotale…
cvarley100 Jan 10, 2019
8cd9eb6
Fix findSyncedNodes implementation (#915)
laumair Jan 15, 2019
29c8734
Fix modal layout issues on Android and iPhone X (#916)
cvarley100 Jan 15, 2019
4a97025
Merge branch 'mobile-0.6.0-alpha-quorum' of https://github.com/iotale…
cvarley100 Jan 15, 2019
c176efe
Merge branch 'develop' into mobile-0.6.0-alpha-quorum
cvarley100 Jan 15, 2019
fa6648e
Merge branch 'develop' into mobile-0.6.0-alpha-quorum
rajivshah3 Jan 15, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29,703 changes: 15,243 additions & 14,460 deletions src/desktop/npm-shrinkwrap.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion src/desktop/src/ui/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,11 @@ class App extends React.Component {
<CSSTransition key={currentKey} classNames="fade" timeout={300}>
<div>
<Switch location={location}>
<Route exact path="/settings/:setting?/:subsetting?/:accountIndex?" component={Settings} />
<Route
exact
path="/settings/:setting?/:subsetting?/:accountIndex?"
component={Settings}
/>
<Route path="/wallet" component={Wallet} />
<Route path="/onboarding" component={Onboarding} />
<Route exact path="/" loop={false} component={this.Init} />
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/src/ui/views/onboarding/AccountName.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class AccountName extends React.PureComponent {

this.props.setAccountInfoDuringSetup({
name: this.state.name,
completed: !Electron.getOnboardingGenerated() && accountNames.length > 0
completed: !Electron.getOnboardingGenerated() && accountNames.length > 0,
});

if (Electron.getOnboardingGenerated()) {
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/src/ui/views/onboarding/AccountPassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class AccountPassword extends React.PureComponent {
setPassword(passwordHash);

this.props.setAccountInfoDuringSetup({
completed: true
completed: true,
});

const seedStore = await new SeedStore[additionalAccountMeta.type](passwordHash);
Expand Down
2 changes: 1 addition & 1 deletion src/desktop/src/ui/views/onboarding/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class Onboarding extends React.PureComponent {
this.props.setAccountInfoDuringSetup({
name: '',
meta: {},
completed: false
completed: false,
});

Electron.setOnboardingSeed(null);
Expand Down
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/onboarding/SeedVerify.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,4 @@ const mapDispatchToProps = {
setAccountInfoDuringSetup,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(SeedVerify));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(SeedVerify));
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/settings/Advanced.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,4 @@ const mapDispatchToProps = {
setProxy,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(Advanced));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(Advanced));
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/settings/Language.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,4 @@ const mapDispatchToProps = {
setLocale,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(LanguageSelect));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(LanguageSelect));
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/settings/Mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,4 @@ const mapDispatchToProps = {
setMode,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(Mode));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(Mode));
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/settings/Password.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,4 @@ const mapDispatchToProps = {
setPassword,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(PasswordSettings));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(PasswordSettings));
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/settings/Theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,4 @@ const mapDispatchToProps = {
updateTheme,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(Theme));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(Theme));
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/settings/TwoFA.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,4 @@ const mapDispatchToProps = {
generateAlert,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(TwoFA));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(TwoFA));
11 changes: 2 additions & 9 deletions src/desktop/src/ui/views/settings/account/Name.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ class AccountName extends PureComponent {
newAccountName,
});

const seedStore = await new SeedStore[account.meta.type](
password,
account.accountName,
account.meta,
);
const seedStore = await new SeedStore[account.meta.type](password, account.accountName, account.meta);
await seedStore.renameAccount(newAccountName);
}

Expand Down Expand Up @@ -129,7 +125,4 @@ const mapDispatchToProps = {
generateAlert,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(AccountName));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(AccountName));
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/settings/account/Remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,4 @@ const mapDispatchToProps = {
deleteAccount,
};

export default connect(
null,
mapDispatchToProps,
)(withI18n()(Remove));
export default connect(null, mapDispatchToProps)(withI18n()(Remove));
4 changes: 1 addition & 3 deletions src/desktop/src/ui/views/settings/account/Seed.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ class Seed extends PureComponent {
confirm:
action === 'view'
? t('accountManagement:viewSeed')
: action === 'export'
? t('seedVault:exportSeedVault')
: t('paperWallet'),
: action === 'export' ? t('seedVault:exportSeedVault') : t('paperWallet'),
}}
/>
);
Expand Down
5 changes: 1 addition & 4 deletions src/desktop/src/ui/views/settings/account/Tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,4 @@ const mapDispatchToProps = {
setBalanceCheckFlag,
};

export default connect(
mapStateToProps,
mapDispatchToProps,
)(withI18n()(Tools));
export default connect(mapStateToProps, mapDispatchToProps)(withI18n()(Tools));
2 changes: 1 addition & 1 deletion src/mobile/__tests__/ui/components/CtaButton.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('Testing CtaButton component', () => {
});

it('should require a text string as a prop', () => {
expect(CtaButton.propTypes.text).toEqual(PropTypes.string.isRequired);
expect(CtaButton.propTypes.text).toEqual(PropTypes.string);
});

it('should accept a ctaWidth number as a prop', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('Testing TransactionHistoryModal component', () => {
const props = getProps();

const wrapper = shallow(<TransactionHistoryModal {...props} />);
expect(wrapper.name()).toEqual('View');
expect(wrapper.name()).toEqual('Connect(ModalViewComponent)');
});

it('should return a ScrollView component', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ describe('Testing SetAccountName component', () => {
expect(props.setAccountInfoDuringSetup).toHaveBeenCalledWith({
name: 'foo',
meta: { type: 'keychain' },
completed: true
completed: true,
});
});

Expand Down
10 changes: 10 additions & 0 deletions src/mobile/__tests__/ui/views/wallet/Balance.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ const getProps = (overrides) =>
conversionRate: 1,
isRefreshing: false,
onRefresh: noop,
animateChartOnMount: true,
setAnimateChartOnMount: noop,
},
overrides,
);
Expand Down Expand Up @@ -94,6 +96,14 @@ describe('Testing Balance component', () => {
it('should require an onRefresh function as a prop', () => {
expect(Balance.propTypes.onRefresh).toEqual(PropTypes.func.isRequired);
});

it('should require an setAnimateChartOnMount function as a prop', () => {
expect(Balance.propTypes.setAnimateChartOnMount).toEqual(PropTypes.func.isRequired);
});

it('should require an animateChartOnMount bool as a prop', () => {
expect(Balance.propTypes.animateChartOnMount).toEqual(PropTypes.bool.isRequired);
});
});

describe('when renders', () => {
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ android {
buildToolsVersion '27.0.3'
defaultConfig {
applicationId "com.iota.trinity"
versionCode 31
versionCode 36
versionName "0.6.0"
minSdkVersion 21
targetSdkVersion 26
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/ios/iotaWallet-tvOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>31</string>
<string>36</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/ios/iotaWallet-tvOSTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>31</string>
<string>36</string>
</dict>
</plist>
4 changes: 2 additions & 2 deletions src/mobile/ios/iotaWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -2841,7 +2841,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 31;
CURRENT_PROJECT_VERSION = 36;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = YES;
Expand Down Expand Up @@ -3231,7 +3231,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 31;
CURRENT_PROJECT_VERSION = 36;
DEVELOPMENT_TEAM = "";
ENABLE_BITCODE = YES;
FRAMEWORK_SEARCH_PATHS = (
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/ios/iotaWallet/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>31</string>
<string>36</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
2 changes: 1 addition & 1 deletion src/mobile/ios/iotaWalletTests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>31</string>
<string>36</string>
</dict>
</plist>
2 changes: 1 addition & 1 deletion src/mobile/ios/iotaWalletUITests/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<key>CFBundleShortVersionString</key>
<string>0.6.0</string>
<key>CFBundleVersion</key>
<string>31</string>
<string>36</string>
</dict>
</plist>
Loading