-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
npm-debug.log
Outdated
@@ -0,0 +1,24 @@ | |||
0 info it worked if it ends with ok |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove.
Small sanitasion grumbles - Remove Will play a bit, excited to have this in. |
FIXED! Good eye! I added to I'll definitely refactor the code when the edit button comes in. |
js/src/ui/TxList/TxRow/txRow.js
Outdated
|
||
if (canceled) { | ||
return ( | ||
<div className={ styles.pending }>CANCELED</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FormattedMessage?
js/src/ui/TxList/TxRow/txRow.js
Outdated
if (!isCancelOpen) { | ||
return ( | ||
<div className={ styles.pending }> | ||
<div>SCHEDULED</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FormattedMessage?
js/src/ui/TxList/TxRow/txRow.js
Outdated
<div>SCHEDULED</div> | ||
<a | ||
className={ styles.cancel } | ||
onClick={ () => this.setState({ isCancelOpen: true }) } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would prefer not using in-line closures, aligning with the codebase. (I actually thought we had a linting rule that warns about these, weird that it wasn't picked up)
js/src/ui/TxList/TxRow/txRow.js
Outdated
<a onClick={ () => this.cancelTransaction(parity, hash) }>Cancel</a> | ||
<span> | </span> | ||
<a onClick={ () => this.setState({ isCancelOpen: false }) }>Nevermind</a> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FormattedMessage & inline closures.
js/src/ui/TxList/txList.css
Outdated
line-height: 1.5em; | ||
opacity: 0.5; | ||
color: grey; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not 100% sure we use this anywhere, would prefer to keep it where it was to keep consistent (We really need to externalise all colours and just pull in CSS variables - no duplication, consistency is maintained)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is, if opacity is dropped, the "cancel" button will also be 50% opacity LOL. Also, all font is either black or white, 0.5 opacity for both black and white revert to grey anyways.
js/src/jsonrpc/interfaces/parity.js
Outdated
], | ||
returns: { | ||
type: Boolean, | ||
desc: 'returns `true` if the upgrade to the new release was successfully executed, `false` if not.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description needs updating
@@ -100,7 +100,7 @@ class RequestsPage extends Component { | |||
<div className={ styles.noRequestsMsg }> | |||
<FormattedMessage | |||
id='signer.requestsPage.noPending' | |||
defaultMessage='There are no requests requiring your confirmation.' | |||
defaultMessage='There are no transactions or requests requiring your confirmation.' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if I 100% agree with this, although getting heavily into bikeshed territory :)
Transaction signing requests are still signer requests. "transactions or requests" implies that they aren't.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tiny typo in removeHash
function causing the blocks to leak, but otherwise looks good.
This should do it. 👍 |
js/src/ui/TxList/TxRow/txRow.js
Outdated
block = blockNumber.minus(block); | ||
return (block.toNumber() < 0) | ||
? block.abs().toFormat(0) + ' blocks left' | ||
: 'submitting'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just make the strings here translatable. (Also line 247 is still, as part of the value for which
, non-translatable)
Couple of last i18n issues, but apart from that looking good. |
Let me know 💃 |
One last conflict. |
DONE. |
Can we have this backported to beta? It's causing a support nightmare :) |
* Remove transaction RPC * Bumping multihash and libc * Updating nanomsg * bump nanomsg * cancel tx * cancel-tx-js * cancel-tx-js * cancel-tx-js * cancel-tx-hs * cancel-tx-js * cancel-tx-js * cancel-tx-js * small fixes * edit & time till submit * edit & time till submit * updates * updates * udpates * udpates * grumbles * step 1 * Wonderful updates * ready * small refact * small refact * grumbles 1 * ffx2 * good ol' fashioned updates * latest and greatest * removeHash * removeHash * spec * fix 1 * fix 1 * fix 2 * fix 2 * ff * ff * ff * updates
* option to disable persistent txqueue (#5544) * option to disable persistent txqueue * New option goes with kin * Remove transaction RPC (#4949) * Cancel tx JS (#4958) * Remove transaction RPC * Bumping multihash and libc * Updating nanomsg * bump nanomsg * cancel tx * cancel-tx-js * cancel-tx-js * cancel-tx-js * cancel-tx-hs * cancel-tx-js * cancel-tx-js * cancel-tx-js * small fixes * edit & time till submit * edit & time till submit * updates * updates * udpates * udpates * grumbles * step 1 * Wonderful updates * ready * small refact * small refact * grumbles 1 * ffx2 * good ol' fashioned updates * latest and greatest * removeHash * removeHash * spec * fix 1 * fix 1 * fix 2 * fix 2 * ff * ff * ff * updates * Updating documentation for RPCs (#5392) * Removing minBlocks occurrencies * Docs for new RPCs. * Fixing linting issues, updating *withToken documentatiojn. * Adding missing RPCs. Fixing tests. * Fixing lint issues.
Javascript updates from #4949