Conversation
|
Thanks Luke. I haven't tested it yet. Can we make it so that it looks like on the mockup (#264)? With simple lines instead of buttons. |
Sure will do |
|
@Tbaut I've updated it so the menu items are like before but with light grey background colour transition effect applied to the item being hovered over. |
@Tbaut I've pushed commits to address your review comments. |
|
|
@Tbaut Sorry about that. I've pushed commits to address those comments (i.e. layer under menu to prevent clicking another link upon menu blur click, restore three dot icon and fix styling of menu including hover for consistency) |
|
Yes sure, Signer is priority |
|
@amaurymartiny I've pushed changes to address your review comments. I haven't had any success implementing Icon from semantic-ui. I've shared what I've tried but I could do with some help. |
| ]; | ||
|
|
||
| if (this.isParitySignerAccount() === false) { | ||
| menuItems = [backupAccountItem, ...menuItems]; |
There was a problem hiding this comment.
You can use unshift() here
| onClick: () => history.push(`/backup/${address}`) | ||
| }; | ||
|
|
||
| let menuItems = [ |
There was a problem hiding this comment.
see above comment, this can be const
| <div | ||
| className='popup-screen_item' | ||
| key={item.name} | ||
| onClick={() => item.onClick()} |
There was a problem hiding this comment.
onClick={item.onClick}
|
@amaurymartiny I've pushed commits addressing your latest comments. We can raise an issue to try and implement SUIIcon instead of using the svg's as you mentioned |
amaury1093
left a comment
There was a problem hiding this comment.
Only one tiny small nit. Sometimes these shorthands don't work well, so @ltfschoen i would appreciate if you could quickly test it. If it works, feel free to merge this PR!
|
The clickaway behavior seems to have come back again after the changes. I opened an issue: #383 |




Usage: On the "Account List" page, click and account to be taken to its "Account" page.
Then click the icon with the three dots to open the menu. Or click anywhere else to hide it.
Replaces PR feat: Relates to #264. Add drop-down menu with Backup Account and Add Tokens #318.
Previous review comments adopted for the menu:
Proposed changes to previous discussion:
for menu items instead of just ordinary text
potentially saving the user from scrolling too much if we end up having many items
Screenshots
How it looks with just the two current menu items:

How it would look if we had lots of menu items:

View of the page with just the "three dots" menu icon in the top right that a user can click on:
