-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Conversation
It looks like @amaurymartiny signed our Contributor License Agreement. 👍 Many thanks, Parity Technologies CLA Bot |
<div className={ [styles.signerPending].join(' ') }> | ||
<Icon name={ this.store.pending.length > 0 ? 'bell' : 'bell outline' } /> | ||
{this.store.pending.length > 0 && | ||
<Label floating color='red' size='mini' circular className={ styles.label }> |
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.
Can we keep to an attribute per-line?
size='mini' | ||
/> | ||
</List.Content> | ||
<Image avatar size='mini' verticalAlign='middle'> |
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.
As above, attribute per line
this.setState({ isOpen: false }); | ||
} | ||
|
||
renderEtherValue (value) { |
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.
This probably makes sense as a smaller component? (I know we have render*
methods all-over, but it is a bit of something that says "this really should be a component"
} | ||
</List> | ||
) : ( | ||
<Container textAlign='center' fluid className={ styles.noRequest }> |
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.
Attribute per line
|
||
render () { | ||
return ( | ||
<Popup |
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.
Generally this whole render is quite a beast - probably makes sense to try and condense it, maybe split at least the content bits (where we have a ?:
) into seperate components?
Fix #7192. Red label was not comprehensible to drive users to action, so introducing a more classic notification UX.
"View" button opens the Signer as before.