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

docs: Update JSDoc to deprecate Text Component Usage #7021

Merged
merged 8 commits into from
Oct 10, 2023

Conversation

kshavp
Copy link
Contributor

@kshavp kshavp commented Aug 19, 2023

scrnshot_TextDepricate
Updated deprecation JSDoc to deprecated code in Text.tsx

Development & PR Process

  1. Follow MetaMask Mobile Coding Standards
  2. Add release-xx label to identify the PR slated for a upcoming release (will be used in release discussion)
  3. Add needs-dev-review label when work is completed
  4. Add the appropiate QA label when dev review is completed
    • needs-qa: PR requires manual QA.
    • No QA/E2E only: PR does not require any manual QA effort. Prior to merging, ensure that you have successful end-to-end test runs in Bitrise.
    • Spot check on release build: PR does not require feature QA but needs non-automated verification. In the description section, provide test scenarios. Add screenshots, and or recordings of what was tested.
  5. Add QA Passed label when QA has signed off (Only required if the PR was labeled with needs-qa)
  6. Add your team's label, i.e. label starting with team- (or external-contributor label if your not a MetaMask employee)

Description

Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions,
1. What is the reason for the change?
2. What is the improvement/solution?

Screenshots/Recordings

If applicable, add screenshots and/or recordings to visualize the before and after of your change

Issue

fixes #6888
Checklist

  • There is a related GitHub issue
  • Tests are included if applicable
  • Any added code is fully documented

Updated deprecation JSDoc to deprecated code in Text.tsx
@kshavp kshavp requested a review from a team as a code owner August 19, 2023 10:13
@github-actions
Copy link
Contributor

github-actions bot commented Aug 19, 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.

@kshavp
Copy link
Contributor Author

kshavp commented Aug 19, 2023

I have read the CLA Document and I hereby sign the CLA

@georgewrmarshall georgewrmarshall added the team-design-system All issues relating to design system in Mobile label Aug 23, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 23, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (5dd296c) 32.82% compared to head (0f5c4e4) 32.82%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7021   +/-   ##
=======================================
  Coverage   32.82%   32.82%           
=======================================
  Files         998      998           
  Lines       26671    26671           
  Branches     2091     2091           
=======================================
  Hits         8755     8755           
  Misses      17498    17498           
  Partials      418      418           
Files Changed Coverage Δ
app/components/Base/Text/Text.tsx 78.57% <ø> (ø)

☔ 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.

LGTM! 💯 Thanks for your contribution @kshavp 🙏

@georgewrmarshall
Copy link
Contributor

georgewrmarshall commented Sep 7, 2023

Hey @kshavp, we recently updated SonarCloud settings so external contributor PRs would pass but I think you may have to close this PR and create a new one. Would you mind doing that and we should be able to get this in

@kshavp kshavp closed this Sep 7, 2023
@kshavp kshavp reopened this Sep 7, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 7, 2023
@georgewrmarshall georgewrmarshall merged commit 20cc041 into MetaMask:main Oct 10, 2023
23 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
external-contributor team-design-system All issues relating to design system in Mobile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecate Text in favor of Text
4 participants