Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix account menu entry for imported accounts #8747

Merged
merged 1 commit into from
Jun 5, 2020

Conversation

Gudahtt
Copy link
Member

@Gudahtt Gudahtt commented Jun 5, 2020

The entry for imported accounts in the account menu looked wrong with the new connected site icon - there was no padding between the site icon and the 'imported' label. The entry was pretty crowded with these three symbols as well (the third being the 'x' used to remove the account).

The site icon has been made the right-most icon, so that it lines up with the site icons shown for other accounts, and spacing has been added between the site icon and the 'imported' label.

The 'x' used to remove accounts has been removed. Accounts can still be removed from the 'Account Options' menu on the Home screen. This seemed like the wrong place for this button to exist, as it's the only action that can be taken from that menu aside from navigation.

@Gudahtt Gudahtt force-pushed the fix-account-menu-imported-account-entry branch from ee4b0ef to 1cb6626 Compare June 5, 2020 03:58
@Gudahtt
Copy link
Member Author

Gudahtt commented Jun 5, 2020

Screenshots:

Before:

broken-imported-account-entry

After:

fixed-imported-account-entry

@Gudahtt Gudahtt force-pushed the fix-account-menu-imported-account-entry branch from 1cb6626 to 3a5092b Compare June 5, 2020 04:18
@Gudahtt Gudahtt changed the base branch from develop to fix-account-options-remove-account June 5, 2020 04:18
@Gudahtt
Copy link
Member Author

Gudahtt commented Jun 5, 2020

This depends upon #8748

@metamaskbot
Copy link
Collaborator

Builds ready [3a5092b]
Page Load Metrics (657 ± 47 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint328544157
domContentLoaded3867766559847
load3887776579847
domInteractive3867766559847

Base automatically changed from fix-account-options-remove-account to develop June 5, 2020 19:01
The entry for imported accounts in the account menu looked wrong with
the new connected site icon - there was no padding between the site
icon and the 'imported' label. The entry was pretty crowded with these
three symbols as well (the third being the 'x' used to remove the
account).

The site icon has been made the right-most icon, so that it lines up
with the site icons shown for other accounts, and spacing has been
added between the site icon and the 'imported' label.

The 'x' used to remove accounts has been removed. Accounts can still be
removed from the 'Account Options' menu on the Home screen. This seemed
like the wrong place for this button to exist, as it's the only action
that can be taken from that menu aside from navigation.
@Gudahtt Gudahtt force-pushed the fix-account-menu-imported-account-entry branch from 3a5092b to d76c109 Compare June 5, 2020 19:01
@Gudahtt Gudahtt marked this pull request as ready for review June 5, 2020 19:32
@Gudahtt Gudahtt requested a review from a team as a code owner June 5, 2020 19:32
@metamaskbot
Copy link
Collaborator

Builds ready [d76c109]
Page Load Metrics (762 ± 69 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint30126632914
domContentLoaded45586376014569
load45686576214469
domInteractive45486276014569

Copy link
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Gudahtt Gudahtt merged commit f5ec16c into develop Jun 5, 2020
@Gudahtt Gudahtt deleted the fix-account-menu-imported-account-entry branch June 5, 2020 20:24
Gudahtt added a commit that referenced this pull request Jun 10, 2020
* origin/develop: (35 commits)
  Delete unused InfuraController & tests (#8773)
  Permissions: Do not display HTTP/HTTPS URL schemes for unique hosts (#8768)
  Refactor confirm approve page (#8757)
  blocklisted -> blocked
  Update app/scripts/contentscript.js
  blacklist -> blocklist; whitelist -> safelist
  replace blacklist with blocklist
  Delete unused transaction history test state (#8769)
  fix-formatting-of-gif (#8767)
  Order accounts on connect page (#8762)
  add gif for loading dev build (#8766)
  Bump websocket-extensions from 0.1.3 to 0.1.4 (#8759)
  Fix prop type mismatch (#8754)
  use grid template to position list item (#8753)
  Fix account menu entry for imported accounts (#8747)
  Fix permissions connect close and redirect behavior (#8751)
  Refactor `TokenBalance` component (#8752)
  Fix 'Remove account' in Account Options menu (#8748)
  move activation logic into token rates controller (#8744)
  asset outdated warning inline on full screen (#8734)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants