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

Connect Screen Multi Select #8078

Merged
merged 39 commits into from
Apr 2, 2020
Merged

Connect Screen Multi Select #8078

merged 39 commits into from
Apr 2, 2020

Conversation

danjm
Copy link
Contributor

@danjm danjm commented Feb 20, 2020

Add UI for selecting multiple accounts on the first permissions connect screen.

Demo of multiple account selection: https://streamable.com/nd3wt

Demo of adding new account via modal: https://streamable.com/qvqao

Screenshots of latest designs:

Screenshot from 2020-02-25 10-01-38

Screenshot from 2020-02-25 10-01-30

There are two pieces of remaining work. First is to add the notification pictured here:

Screenshot from 2020-02-25 10-09-04

Doing so will be trivial once #8071 is merged. An issue for this is here: #8102

Second is to add the tooltip with the list of accounts when there are multiple accounts selected on the second screen. This is blocked by being about to pass components as substitutions to our translation helper (#6848, in particular see comment #6848 (comment)). An issue for this tooltip: #8101.

@metamaskbot
Copy link
Collaborator

Builds ready [0446c09]
Page Load Metrics (630 ± 31 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeNotificationfirstPaint34105502110
domContentLoaded3757046296431
load3777066306431
domInteractive3757046286431

@danjm danjm force-pushed the connect-screen-browser-routing branch 2 times, most recently from 35e8d17 to d4a15bb Compare February 27, 2020 13:24
@Gudahtt
Copy link
Member

Gudahtt commented Feb 27, 2020

The browser routing PR has been merged, so this is ready to be rebased and pointed at develop

@metamaskbot
Copy link
Collaborator

Builds ready [84fe79c]
Page Load Metrics (602 ± 33 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeNotificationfirstPaint33553953
domContentLoaded3337156016833
load3347166026833
domInteractive3337146006833

@Gudahtt Gudahtt changed the base branch from connect-screen-browser-routing to develop March 11, 2020 13:17
@danjm danjm force-pushed the connect-screen-multi-select branch from 84fe79c to 0675530 Compare March 11, 2020 15:40
@metamaskbot
Copy link
Collaborator

Builds ready [0675530]
Page Load Metrics (640 ± 46 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeNotificationfirstPaint37105572311
domContentLoaded3427836389646
load3437856409646
domInteractive3417836389646

@danjm danjm force-pushed the connect-screen-multi-select branch from 0675530 to 2c736d3 Compare March 11, 2020 16:07
@metamaskbot
Copy link
Collaborator

Builds ready [2c736d3]
Page Load Metrics (643 ± 60 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeNotificationfirstPaint35112552512
domContentLoaded34577764112560
load34777964312460
domInteractive34577764112560

@rekmarks
Copy link
Member

This may be out of scope, but I just wanted to bring it up:
image

The eth_accounts permissions description has already been updated to View the addresses of the user's chosen accounts..

However, what about the account icon? You mention a tooltip to indicate multiple accounts being selected, but should we display something entirely different to make that clear to the user?

@danjm danjm mentioned this pull request Mar 30, 2020
18 tasks
@danjm danjm force-pushed the connect-screen-multi-select branch 2 times, most recently from 98cfd18 to 763cdbd Compare March 31, 2020 11:52
@metamaskbot
Copy link
Collaborator

Builds ready [3f0a82e]
Page Load Metrics (611 ± 32 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeNotificationfirstPaint338344168
domContentLoaded3436946096632
load3456966116632
domInteractive3436936096632

@danjm danjm force-pushed the connect-screen-multi-select branch from 3f0a82e to 863b911 Compare March 31, 2020 12:52
@danjm
Copy link
Contributor Author

danjm commented Mar 31, 2020

The comment from #8078 (comment) will be resolved in a future PR that will take care of all remaining updates to designs

@metamaskbot
Copy link
Collaborator

Builds ready [863b911]
Page Load Metrics (701 ± 58 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeNotificationfirstPaint39127612613
domContentLoaded42585669912058
load42685870112158
domInteractive42485569812058

danjm added 23 commits April 2, 2020 00:18
@danjm danjm force-pushed the connect-screen-multi-select branch from 11350e4 to 8e31e1f Compare April 2, 2020 02:48
@metamaskbot
Copy link
Collaborator

Builds ready [8e31e1f]
Page Load Metrics (774 ± 18 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeNotificationfirstPaint379850136
domContentLoaded7158597723818
load7178617743818
domInteractive7148587723818

@danjm danjm merged commit d8179ff into develop Apr 2, 2020
@rekmarks rekmarks deleted the connect-screen-multi-select branch April 2, 2020 15:14
@Gudahtt Gudahtt mentioned this pull request Apr 3, 2020
2 tasks
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.

4 participants