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

Added Picker Network Component #16340

Merged
merged 11 commits into from Nov 10, 2022
Merged

Added Picker Network Component #16340

merged 11 commits into from Nov 10, 2022

Conversation

NidhiKJha
Copy link
Member

@NidhiKJha NidhiKJha commented Nov 1, 2022

After

Screenshot 2022-11-02 at 6 58 11 PM

Manual Testing Steps

Storybook

  • Go to the latest build of the storybook in this PR
  • Search for PickerNetwork in component-library
  • Check the stories, controls, and documentation

Pre-Merge Checklist

  • PR template is filled out
  • IF this PR fixes a bug, a test that would have caught the bug has been added
  • PR is linked to the appropriate GitHub issue
  • PR has been added to the appropriate release Milestone

+ If there are functional changes:

  • Manual testing complete & passed
  • "Extension QA Board" label has been applied

@NidhiKJha NidhiKJha added team-design-system All issues relating to design system in Extension IA/NAV labels Nov 1, 2022
@NidhiKJha NidhiKJha requested a review from a team as a code owner November 1, 2022 12:58
@NidhiKJha NidhiKJha requested a review from segun November 1, 2022 12:58
@NidhiKJha NidhiKJha marked this pull request as draft November 1, 2022 12:58
@NidhiKJha NidhiKJha added the DO-NOT-MERGE Pull requests that should not be merged label Nov 1, 2022
@NidhiKJha NidhiKJha requested review from garrettbear and georgewrmarshall and removed request for segun November 1, 2022 12:59
@NidhiKJha NidhiKJha marked this pull request as ready for review November 2, 2022 13:26
@NidhiKJha NidhiKJha changed the title (WIP 👷‍♀️ ) Added Picker Network Added Picker Network Component Nov 2, 2022
@NidhiKJha NidhiKJha removed the DO-NOT-MERGE Pull requests that should not be merged label Nov 2, 2022
@metamaskbot
Copy link
Collaborator

Builds ready [03b3ef6]
Page Load Metrics (2297 ± 117 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint931901172612
domContentLoaded176627252268233112
load176627252297243117
domInteractive176627252268233112

highlights:

storybook

@metamaskbot
Copy link
Collaborator

Builds ready [2847977]
Page Load Metrics (2307 ± 364 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint972251297517248
domContentLoaded168950272290756363
load168950272307757364
domInteractive168950272290756363

highlights:

storybook

@metamaskbot
Copy link
Collaborator

Builds ready [b6c4a2e]
Page Load Metrics (2318 ± 122 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint952216228457220
domContentLoaded166128932291257123
load172428932318254122
domInteractive166128932291257123

highlights:

storybook

Copy link
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

Really great start! Have left some suggestions

@metamaskbot
Copy link
Collaborator

Builds ready [994de6c]
Page Load Metrics (2334 ± 118 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint892489237517248
domContentLoaded159227062311236113
load159227462334246118
domInteractive159227062311236113

highlights:

storybook

Copy link
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

Looking good! Couple more suggestion that I missed in my previous review. My bad!

  • Could we add a story for label prop and show it under the Label section in the MDX docs. The story could include a really long name? Should we truncate if the network name is super long? I've asked @Akatori-Design

  • Could we add a story for the src prop and show it under the Src section in MDX docs. This story could show a few PickerNetwork components with different network images

  • Add a snapshot test. Checkout @garrettbear as an example

  • Checked storybook controls ✅

  • Checked no errors in console ✅

  • Checked MDX docs ✅

  • Checked house-keeping checks 🛑 added comments for missing criteria above

@metamaskbot
Copy link
Collaborator

Builds ready [cfb9b3e]
Page Load Metrics (2094 ± 87 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint862086206431207
domContentLoaded16352289206817785
load16542356209418187
domInteractive16352289206817785

highlights:

storybook

Copy link
Contributor

@georgewrmarshall georgewrmarshall left a comment

Choose a reason for hiding this comment

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

LGTM! One suggestion non-blocking

@metamaskbot
Copy link
Collaborator

Builds ready [431b3d7]
Page Load Metrics (2378 ± 57 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint961901132110
domContentLoaded20512732235012560
load21172732237812057
domInteractive20512732235012560

highlights:

storybook

@metamaskbot
Copy link
Collaborator

Builds ready [44dbefb]
Page Load Metrics (2097 ± 96 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint85127101105
domContentLoaded16352412208018890
load16352522209720196
domInteractive16352412208018890

highlights:

storybook

@garrettbear garrettbear merged commit ce9af8a into develop Nov 10, 2022
@garrettbear garrettbear deleted the fix-15102 branch November 10, 2022 00:31
@github-actions github-actions bot locked and limited conversation to collaborators Nov 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
team-design-system All issues relating to design system in Extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Ext Nav] Create component: PickerNetwork
4 participants