-
Notifications
You must be signed in to change notification settings - Fork 1
Wal 123 common msg component removing all msgs #46
base: develop
Are you sure you want to change the base?
Wal 123 common msg component removing all msgs #46
Conversation
- Fixed message count entering negative values
…/github.com/PBSA/peerplays-core-gui into WAL-123-Common-msg-component-removing-all-msgs
…ixed sidebar messaging
Modify classname assignment to support true BEM.
- modify some styling Remove Sidebar|Aside|Side messages
<p onClick={ () => props.clearMessage(id) }>X</p> | ||
</span> | ||
<div className='cmn-msg__cont'> | ||
<span className='cmn-msg__cont-txt'>{pair.get('content') }</span> |
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.
if this is a modifier, shouldn't it be 'cmn-msg__cont--text'?
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.
it isn't a modifier
</span> | ||
<div className='cmn-msg__cont'> | ||
<span className='cmn-msg__cont-txt'>{pair.get('content') }</span> | ||
<p className='cmn-msg__cont-dismiss'onClick={ () => props.clearMessage(id) }>X</p> |
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.
if this is a modifier, shouldn't it be 'cmn-msg__cont--dismiss'?
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.
it isn't a modifier
// Use lodash for a deep comparison of the merged messages. | ||
if (!_.isEqual(propsMerged, prevPropsMerged)) { | ||
this.checkToAssignTimer(propsMerged); | ||
if (!_.isEqual(this.props.headerMessages, prevProps.headerMessages)) { |
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.
Common Message no longer displays under the header. Looks like something broke in this commit.
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.
good job
Depends on WAL-59