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

refactor: Convert Form stories #7349

Merged
merged 7 commits into from
Oct 25, 2023
Merged

refactor: Convert Form stories #7349

merged 7 commits into from
Oct 25, 2023

Conversation

brianacnguyen
Copy link
Contributor

@brianacnguyen brianacnguyen commented Sep 28, 2023

Description

  • Convert Label, HelpText, TextField, and TextFieldSearch stories
  • Add Input story

Screenshots/Recordings

Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 46 57
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 46 58
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 47 05
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 47 13
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 51 22
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 51 25
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 51 41
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 51 46
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 51 57
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 08 51 58

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained:
    • What problem this PR is solving.
    • How this problem was solved.
    • How reviewers can test my changes.
  • I’ve indicated what issue this PR is linked to: Fixes #???
  • I’ve included tests if applicable.
  • I’ve documented any added code.
  • I’ve applied the right labels on the PR (see labeling guidelines).
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@brianacnguyen brianacnguyen added the team-design-system All issues relating to design system in Mobile label Sep 28, 2023
@brianacnguyen brianacnguyen requested a review from a team as a code owner September 28, 2023 02:52
@brianacnguyen brianacnguyen self-assigned this Sep 28, 2023
@github-actions
Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@codecov-commenter
Copy link

codecov-commenter commented Sep 28, 2023

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (46b493b) 34.59% compared to head (5c2ce08) 34.61%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7349      +/-   ##
==========================================
+ Coverage   34.59%   34.61%   +0.01%     
==========================================
  Files        1017     1018       +1     
  Lines       27150    27137      -13     
  Branches     2211     2210       -1     
==========================================
  Hits         9393     9393              
+ Misses      17268    17255      -13     
  Partials      489      489              
Files Coverage Δ
...ary/components/Form/HelpText/HelpText.constants.ts 100.00% <100.00%> (ø)
.../components/Form/TextField/TextField.constants.tsx 100.00% <ø> (ø)
...nt-library/components/Form/TextField/TextField.tsx 63.15% <ø> (ø)
...mponents/Form/TextField/foundation/Input/Input.tsx 66.66% <100.00%> (ø)
.../Form/TextFieldSearch/TextFieldSearch.constants.ts 85.71% <ø> (ø)
...rary/components/Form/HelpText/HelpText.stories.tsx 0.00% <0.00%> (ø)
...nt-library/components/Form/Label/Label.stories.tsx 0.00% <0.00%> (ø)
.../Form/TextField/foundation/Input/Input.stories.tsx 0.00% <0.00%> (ø)
...s/Form/TextFieldSearch/TextFieldSearch.stories.tsx 0.00% <0.00%> (ø)
...ry/components/Form/TextField/TextField.stories.tsx 0.00% <0.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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! A couple comments. Also one suggestion to make PRs easier to read I would suggest using screen casts instead of screenshots e.g.

after.mov

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.

TextFieldSearch working for me now. Must have been an issue on my side only. LGTM

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

15.4% 15.4% Coverage
0.0% 0.0% Duplication

@brianacnguyen brianacnguyen merged commit 7d3f7a6 into main Oct 25, 2023
25 checks passed
@brianacnguyen brianacnguyen deleted the morph/convert-form branch October 25, 2023 19:50
@github-actions github-actions bot locked and limited conversation to collaborators Oct 25, 2023
@metamaskbot metamaskbot added the release-7.11.0 Issue or pull request that will be included in release 7.11.0 label Oct 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-7.11.0 Issue or pull request that will be included in release 7.11.0 team-design-system All issues relating to design system in Mobile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants