-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Deprecating FormField and fixing console error #19739
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
georgewrmarshall
force-pushed
the
fix/18891/deprecate-form-field
branch
from
June 23, 2023 19:24
cfd9f13
to
41865c4
Compare
georgewrmarshall
added
the
team-design-system
All issues relating to design system in Extension
label
Jun 23, 2023
georgewrmarshall
force-pushed
the
fix/18891/deprecate-form-field
branch
from
June 23, 2023 21:02
41865c4
to
0923ce0
Compare
Builds ready [0923ce0]
Page Load Metrics (1577 ± 47 ms)
Bundle size diffs
|
Codecov Report
@@ Coverage Diff @@
## develop #19739 +/- ##
===========================================
- Coverage 69.83% 69.83% -0.00%
===========================================
Files 980 980
Lines 36886 36886
Branches 9890 9890
===========================================
- Hits 25757 25756 -1
- Misses 11129 11130 +1
|
georgewrmarshall
requested review from
garrettbear and
Gudahtt
and removed request for
PeterYinusa
June 23, 2023 22:16
brad-decker
approved these changes
Jun 26, 2023
darkwing
approved these changes
Jun 26, 2023
metamaskbot
added
the
release-10.34.0
Issue or pull request that will be included in release 10.34.0
label
Jun 26, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
release-10.34.0
Issue or pull request that will be included in release 10.34.0
team-design-system
All issues relating to design system in Extension
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Explanation
Currently there are multiple component for form input fields. This PR deprecates the old
FormField
in favour of the newFormTextField
component by adding a deprecation message that points to good-first-issue. It also replaces some deprecated components and constants in favor of enums as well as fixes a console errorFormField
in favour of appropriateFormTextField
#18891Screenshots/Screencaps
Before
before.mov
After
after.mov
Manual Testing Steps
FormField
in the code basePre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.