- Mar 25, 2019
-
-
Amaury Martiny authored
* Show parity/light.js's logs too * Remove txCount from withAccount * withBalance shows component immeidately * Play around * Make it work * Cleaner code * Remove 'Loading account tokens...' modal * Re-order import * Optimize code * Fix regression * Fix typo * Luke's grumbles * Put "checking..." when fetching async values * Show gas error on amount field
-
- Mar 21, 2019
-
-
Axel Chalon authored
* Parity Ethereum bundling * Grumbles; update light.js * Grumbles * Merge in PR#394 ac-upd-post: refactor sendStore post/postRaw * Download highest version matching requirement rather than latest beta * Rename RequireVersion to RequireParityVersion * Grumbles * Change Parity version requirement to ~2.4.1 * Fix --no-run-parity with Parity already running * Grumble Co-Authored-By: axelchalon <[email protected]>
-
- Mar 12, 2019
-
-
Amaury Martiny authored
-
- Feb 08, 2019
-
-
Luke Schoen authored
-
Luke Schoen authored
-
- Feb 04, 2019
-
-
Luke Schoen authored
-
- Feb 03, 2019
-
-
Luke Schoen authored
-
Luke Schoen authored
-
- Jan 23, 2019
-
-
Luke Schoen authored
-
Luke Schoen authored
-
- Jan 22, 2019
-
-
Luke Schoen authored
* Add `isEstimatingTxFee` so we can check if all values including `gas` are available without actually having to calculate the tx fee and incorporate into estimateTxFee method * Display and disable the "Checking..." button if the `isEstimatingTxFee` returns false (i.e. `gas` still undefined) * Note: The bug associated with #361 appears to be Parity Signer-specific. If the user can click "Scan" before the `gas` has been calculated, then when it tries to go to the paritytech/fether/packages/fether-react/src/Send/TxQrCode/TxQrCode.js, where it calls `getRlp()` to get the value for the rlp prop of the QrSigner component, which calls `transactionToRlp(this.tx)` to get the RLP of the unsigned tx that is provided as an argument paritytech/fether/packages/fether-react/src/stores/sendStore.js, it crashes if `this.tx` contains a `gas` property that's undefined. So we need to prevent the user from being able to click "Scan" before the `gas` property has been determined. We do this by disabling the button and displaying "Checking..." until `isEstimatingTxFee` returns true, and only then do we display "Scan" and enable the button
-
- Jan 18, 2019
-
-
Luke Schoen authored
* Remove titleOffset and add placeholder width for header nav buttons * Remove passing `screen` prop for specific pages
-
Luke Schoen authored
* Change Account screen so its header uses the Information component with a big identicon, a short address, so it is clickable, and with identicon on left of name and address. * Apply extra bottom margin between name and account address when Information component used in the header * Update header so it uses Flexbox according to docs as intended * Since we're using Flexbox without placeholder spacing for the left and right header buttons, when the title is shown in the header it is offset if there is only a left or right button. So a `titleOffset` prop is used on pages where the Header component is used to indicate if the title needs to be offset to the left or right so it appears centered in the screen. We also pass a `screen` prop (named after the component where the Header component is being used so we can tailor the header spacing on specific screens. * Re-order props alphabetically * QUESTION - should we consider always adding placeholder spacing for where both right and left buttons in header would be as an alternative so no offset for the title is require?
-
Luke Schoen authored
* Remove titleOffset and add placeholder width for header nav buttons * Remove passing `screen` prop for specific pages
-
- Jan 16, 2019
-
-
Luke Schoen authored
* Change Account screen so its header uses the Information component with a big identicon, a short address, so it is clickable, and with identicon on left of name and address. * Apply extra bottom margin between name and account address when Information component used in the header * Update header so it uses Flexbox according to docs as intended * Since we're using Flexbox without placeholder spacing for the left and right header buttons, when the title is shown in the header it is offset if there is only a left or right button. So a `titleOffset` prop is used on pages where the Header component is used to indicate if the title needs to be offset to the left or right so it appears centered in the screen. We also pass a `screen` prop (named after the component where the Header component is being used so we can tailor the header spacing on specific screens. * Re-order props alphabetically * QUESTION - should we consider always adding placeholder spacing for where both right and left buttons in header would be as an alternative so no offset for the title is require?
-
- Jan 07, 2019
-
-
Amaury Martiny authored
-
Thibaut Sardan authored
-
Luke Schoen authored
-
Axel Chalon authored
-
Axel Chalon authored
-
Axel Chalon authored
- Add option to import a Parity Signer account. It is then stored in local storage. - Send transactions with Parity Signer accounts - Refactor sendStore so that "token" (and chainId) is inside this.tx; avoids having to pass `token` around every function, and it makes sense to put it in the object since it is part of the tx info. - Add account type (either node or signer) to accountsInfo - Add account type to withAccount; output props are now `{account: {address, type}}` instead of `{accountAddress}`
-
- Jan 06, 2019
-
-
Luke Schoen authored
* Move toggle details buttons and associated methods and showDetails state into nav of TxForm component * Pass showDetails down as props to TxDetails * Remove previous attempt to display TxDetails like a popup above other fields (i.e. remove form-details-wrapper and -details-value styles)
-
- Jan 05, 2019
-
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
-
- Jan 04, 2019
-
-
Luke Schoen authored
* Move "Details" / "Hide" buttons into the form-nav footer section * TxDetails now appears above the footer area above other input fields without causing the screen height to increase * Background of the TxDetails darkened so it stands out from surroudings * Change "Details" arrow to point upwards since TxDetails now shown above * Change "Hide" arrow to point downward since TxDetails now shown above * Rename classnames to `_` or `-` more consistently * Note: To quickly display the 'Details' button so you can click it change TxForm.js as follows: ``` {/* {valid && this.estimatedTxFee(values) ? ( */} <TxDetails // estimatedTxFee={this.estimatedTxFee(values)} estimatedTxFee={new BigNumber('8100000')} token={token} // values={values} values={ { amount: new BigNumber('0.1'), gasPrice: new BigNumber('21000') } } /> {/* ) : null} */}
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
-
Luke Schoen authored
-
- Jan 03, 2019
-
-
Luke Schoen authored
-
- Jan 02, 2019
-
-
Luke Schoen authored
-
Luke Schoen authored
* Remove `isEstimatedTxFee` since can just use `estimatedTxFee` to achieve same functionality * Rename `newEstimatedTxFee` to `newGasEstimate` since it returns a value that's used for the `values.gas` prop * Update `estimatedTxFee` to return `null` if the amount, gas, gasPrice values provided aren't valid, instead of returning the calculated estimated tx fee * Wrap call to `estimateGas` in a try/catch block that throws error "Unable to estimate gas" when error thrown when calling `estimateGas` in TxForm.js * Move check `if (!ethBalance) {` earlier in function
-
- Jan 01, 2019
-
-
Luke Schoen authored
-
Luke Schoen authored
* Create TxDetails component and move relevant instance methods from TxForm into TxDetails * Fix linting warning `Using target="_blank" without rel="noopener noreferrer" is a security risk: see https://mathiasbynens.github.io/rel-noopener`
-
Luke Schoen authored
* Remove isCancelled * Remove estimatedTxFee from state * Sort instance methods into alphabetical order * Refactor by adding isEstimatedTxFee to check gas properties defined on form values * Add instance method estimatedTxFee to return calculation based on gas values * Move functions out of render function and change them into instance methods * Remove duplicate check for whether values.gas existed
-
Luke Schoen authored
-
- Dec 27, 2018
-
-
Luke Schoen authored
* Fixes error `Uncaught TypeError: Cannot read property 'resolve' of null at flush` that is generated after both valid amount and recipient values are entered
-
Luke Schoen authored
-
Luke Schoen authored
-