-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
feat(forms): Migrate to react-textarea-autosize
#83357
Conversation
by the person that does makes emotion https://www.npmjs.com/package/react-textarea-autosize seems to work about the same. The previous package we were using is archived 2024 https://github.com/buildo/react-autosize-textarea
@@ -69,7 +69,6 @@ jest | |||
.spyOn(performanceForSentry, 'VisuallyCompleteWithData') | |||
.mockImplementation(props => props.children as ReactElement); | |||
jest.mock('scroll-to-element', () => jest.fn()); | |||
jest.mock('sentry/utils/search/searchBoxTextArea'); |
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.
i don't think this is being used anymore?
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.
yes it seems it is no longer used.
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #83357 +/- ##
==========================================
- Coverage 87.48% 81.91% -5.58%
==========================================
Files 9406 9406
Lines 537275 537275
Branches 21158 21158
==========================================
- Hits 470042 440088 -29954
- Misses 66876 96830 +29954
Partials 357 357 |
@@ -69,7 +69,6 @@ jest | |||
.spyOn(performanceForSentry, 'VisuallyCompleteWithData') | |||
.mockImplementation(props => props.children as ReactElement); | |||
jest.mock('scroll-to-element', () => jest.fn()); | |||
jest.mock('sentry/utils/search/searchBoxTextArea'); |
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.
yes it seems it is no longer used.
Bundle ReportChanges will increase total bundle size by 43.57kB (0.14%) ⬆️. This is within the configured threshold ✅ Detailed changes
|
by the person that does emotion https://www.npmjs.com/package/react-textarea-autosize seems to work about the same. The previous package we were using is archived and last updated 4 years ago https://github.com/buildo/react-autosize-textarea
this new version drops the prop types package and has updated peer dependencies etc