This repository was archived by the owner on Jun 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 120
Mobile: Reenable and refactor deep linking #1143
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Implement quorum for wereAddressesSpentFrom * Simply #findSyncedNodes implementation * Add quorum support for getBalances IRI endpoint * Minor updates - Add quorum support for getTrytes IRI endpoint - Minor clean up in quorum methods * Add quorum support for findTransactions IRI endpoint * Rename quorum methods for better readability * Integrate quorum methods with extended api * Remove findTransactions & getTrytes endpoints from quorum * Refactor quorum implementation and do minor fixes - Update JSDoc typos - Simplify quorum implementation (Remove duplications) - Add a timeout for network request to each node - Fix issues in findSyncedNodes implementation - Update error messages * Add coverage - Add coverage for #determineQuorumResult - Add coverage for #fallbackToSafeResult - Add coverage for #findSyncedNodes * Add empty payload checks in quorum methods * Wrap percentage calculation in parentheses for clarity Co-Authored-By: laumair <[email protected]> * Use develop branch of iota.lib.js * Enforce quorum (by default) on supported methods * Fix tests failing because of quorum enforcement * Add code documentation and rename parameters & variables for clarity - Related discussion #631 (comment) * [Security] Bump cryptiles from 3.1.2 to 3.1.4 (#829) * [Security] Bump nokogiri from 1.8.4 to 1.9.1 in /src/mobile/android (#828) * Make sure accounts are always iterated in correct order (by account index) (#824) Object.keys(<object>) function does not always preseve the order, especially if the object key starts with a number. This causes an issue when Object.keys is used for iterating on account names. #715 adds account indexes to state to make sure the order of accounts is always intact. However, some components in desktop use Object.keys directly on accounts object, which leads to certain issues of incorrect references to accounts. This commit fixes this issue by replacing Object.keys implementation on accounts with getAccountNamesFromState selector that guarantees the accounts order. Fixes #811 Note that the issues Object.keys create are not always noticeable. Steps to reproduce these issues are: - Add account with name "M" - Add another account with name "0" - Notice account names order in sidebar (Instead of "0" being the second account, it becomes the first) - Generate receive address from account "M" (Instead of generating receive address for account "M", it generates receive address for account "0") * New Crowdin translations [ci skip] (#826) * New translations translation.json (Czech) * New translations translation.json (Czech) * New translations translation.json (Japanese) * New translations translation.json (Spanish) * Mobile: Update findSyncedNodes * Update quorum.js * Improve parameters and variable names * Include custom nodes in quorum nodes * Reduce node request timeout for getNodeInfo api calls (in quorum)
…dger/trinity-wallet into mobile-0.6.0-alpha-quorum
…dger/trinity-wallet into mobile-0.6.0-alpha-quorum
…n array instead of an object
- Remove manual state rehydration from src/desktop/src/index.js - Pass in theme object to UnitInfoModal - Fix JSDocs for addCustomNodeSuccess action creator - Fix notificationFn trigger in syncAccount - Relocate mapNormalisedTransactions util
@cvarley100 Is this only awaiting migrations? |
@laumair No, it also needs settings UI and associated checks. |
This was referenced Apr 3, 2019
Closed
rajivshah3
suggested changes
Apr 8, 2019
rajivshah3
reviewed
Apr 8, 2019
Co-Authored-By: cvarley100 <[email protected]>
rajivshah3
approved these changes
Apr 8, 2019
rihardsgravis
pushed a commit
that referenced
this pull request
Apr 12, 2019
* develop: (155 commits) Bump electron from 3.1.6 to 3.1.8 in /src/desktop (#1294) Bump react-transition-group from 2.7.1 to 2.9.0 in /src/desktop (#1273) Bump css-loader from 2.1.0 to 2.1.1 in /src/desktop (#1262) Bump electron-builder from 20.38.5 to 20.39.0 in /src/desktop (#1261) Bump @ledgerhq/hw-transport-node-hid in /src/desktop (#1290) Bump snyk from 1.149.0 to 1.150.0 (#1289) Bump fastlane from 2.119.0 to 2.120.0 in /src/mobile/ios (#1288) Bump fastlane from 2.119.0 to 2.120.0 in /src/mobile/android (#1287) Bump snyk from 1.148.0 to 1.149.0 (#1286) Shared: Add node request timeouts for getTransactionsToApprove endpoint (#1284) Mobile: Wait for SeedStore constructor promise to resolve before making a retry attempt (#1283) Bump snyk from 1.147.4 to 1.148.0 (#1279) Mobile: Minor changes to seed text input (#1244) New Crowdin translations (#1252) Mobile: Reenable and refactor deep linking (#1143) Only convert transactions to normalised transactions if notification function is defined (#1276) feat: add realm migration from v1 to v2 (#1274) Mobile: Fix AsyncStorage migration (#1272) Bump webpack-dev-middleware from 3.6.0 to 3.6.2 in /src/desktop (#1264) Bump snyk from 1.147.3 to 1.147.4 (#1270) ... # Conflicts: # package.json # src/desktop/native/Entangled.js # src/desktop/package.json # src/desktop/src/index.js # src/desktop/src/libs/crypto.js # src/desktop/src/ui/components/Balance.js # src/desktop/src/ui/components/List.js # src/desktop/src/ui/global/Theme.js # src/desktop/src/ui/views/settings/account/Addresses.js # src/desktop/src/ui/views/wallet/Sidebar.js # src/shared/libs/currency.js
This was referenced Apr 16, 2019
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
To do:
deepLinking
settingType of change
How Has This Been Tested?
Checklist:
mobile
that include native code (including React Native modules): I have verified that both iOS and Android successfully build in bothDebug
andRelease
modesshared
: If applicable, I have verified that my changes are implemented correctly indesktop
andmobile