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 Cell stories to csf format #7373

Merged
merged 13 commits into from
Oct 26, 2023
Merged

Conversation

brianacnguyen
Copy link
Contributor

@brianacnguyen brianacnguyen commented Oct 2, 2023

Description

  • Updated Cell Base's const, stories, and test files.
  • Updated Cell Display's const, stories, and test files.
  • Updated Cell MultiSelect's const, stories, and test files.
  • Updated Cell Select's const, stories, and test files.
  • Updated Cell's const, stories, and test files.
  • Updated CellVariants to CellVariant

Screenshots/Recordings

Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 19
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 26
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 28
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 38
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 39
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 43
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 46
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 47
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 54
Simulator Screen Shot - iPhone 14 Pro - 2023-10-02 at 16 11 55

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 needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) Spot Check on the Release Build If a ticket doesn't require feature QA, but does require some form of manual spot checking team-design-system All issues relating to design system in Mobile labels Oct 2, 2023
@brianacnguyen brianacnguyen requested a review from a team as a code owner October 2, 2023 23:58
@brianacnguyen brianacnguyen self-assigned this Oct 2, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2023

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.

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! Some non blocking comments

@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2023

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 1 Code Smell

75.0% 75.0% Coverage
0.0% 0.0% Duplication

@codecov-commenter
Copy link

Codecov Report

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

Comparison is base (4fb2b2b) 34.85% compared to head (45f112b) 34.95%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7373      +/-   ##
==========================================
+ Coverage   34.85%   34.95%   +0.10%     
==========================================
  Files        1028     1031       +3     
  Lines       27424    27410      -14     
  Branches     2267     2254      -13     
==========================================
+ Hits         9558     9581      +23     
+ Misses      17356    17319      -37     
  Partials      510      510              
Files Coverage Δ
...vatars/Avatar/foundation/AvatarBase/AvatarBase.tsx 75.00% <100.00%> (ø)
...rs/Avatar/variants/AvatarAccount/AvatarAccount.tsx 75.00% <100.00%> (ø)
...nt-library/components/Cells/Cell/Cell.constants.ts 100.00% <100.00%> (ø)
...lls/Cell/foundation/CellBase/CellBase.constants.ts 100.00% <100.00%> (ø)
...onents/Cells/Cell/foundation/CellBase/CellBase.tsx 100.00% <100.00%> (ø)
...Cell/variants/CellDisplay/CellDisplay.constants.ts 100.00% <100.00%> (ø)
...ts/Cells/Cell/variants/CellDisplay/CellDisplay.tsx 100.00% <100.00%> (ø)
...iants/CellMultiSelect/CellMultiSelect.constants.ts 100.00% <100.00%> (ø)
.../Cell/variants/CellMultiSelect/CellMultiSelect.tsx 100.00% <ø> (ø)
...s/Cell/variants/CellSelect/CellSelect.constants.ts 100.00% <100.00%> (ø)
... and 12 more

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

@brianacnguyen brianacnguyen merged commit 899bf54 into main Oct 26, 2023
25 checks passed
@brianacnguyen brianacnguyen deleted the morph/convert-cells branch October 26, 2023 17:14
@github-actions github-actions bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Oct 26, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Oct 26, 2023
@metamaskbot metamaskbot added the release-7.11.0 Issue or pull request that will be included in release 7.11.0 label Oct 26, 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 Spot Check on the Release Build If a ticket doesn't require feature QA, but does require some form of manual spot checking team-design-system All issues relating to design system in Mobile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants