-
Notifications
You must be signed in to change notification settings - Fork 361
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: [M3-8652] - TextField Component Cleanup - Part 1 #11134
Conversation
} | ||
}; | ||
}, | ||
[min, max, type, onChange] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only changes here were to wrap this in a useCallback
{helperText} | ||
</FormHelperText> | ||
)} | ||
{helperText && helperTextPosition === 'bottom' && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cleaned up this condition by setting a default for the helperTextPosition
@@ -17,7 +71,6 @@ export const Default: Story = { | |||
noMarginTop: true, | |||
placeholder: 'Placeholder', | |||
}, | |||
render: (args) => <TextField {...args} />, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
render wasn't necessary for variants
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good! Just one visual change from develop to review.
Coverage Report: ❌ |
Cloud Manager E2E Run #6763
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #6763
|
Run duration | 26m 47s |
Commit |
08b752d44f: refactor: [M3-8652] - TextField Component Cleanup - Part 1 (#11134)
|
Committer | Jaalah Ramos |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
2
|
Skipped |
0
|
Passing |
445
|
View all changes introduced in this branch ↗︎ |
Description 📝
Goal is to eventually move this to
linode/ui
package, but a little cleanup was necessary.Changes 🔄
makeStyles
forsx
proponChange
handler in auseCallback
for perfTarget release date 🗓️
N/A
Preview 📷
Should be no visual changes
How to test 🧪
Verification steps
As an Author I have considered 🤔
Check all that apply