Migrate components to TS: TextFieldSearch
Description
Migrate TextFieldSearch component in ui/components/component-library to TypeScript
Dependencies
- https://github.com/MetaMask/metamask-extension/issues/19239
- https://github.com/metamask/metamask-extension/issues/19122
- #19990
- https://github.com/metamask/metamask-extension/issues/19127
Technical Details
- Convert Objects in
SNAKE_CASEto enums inPascalCase(name and keys) - Ensure enums use singular not plural e.g.
SizenotSizes - Update file name from
component-name.contants.jstocomponent-name.types.tsand add types - Update file name from
component-name.jstocomponent-name.tsxand add types - Update file name from
component-name.test.jstocomponent-name.test.tsx - Update file name from
component-name.stories.jstocomponent-name.stories.tsx - Update all instances of component objects to enums
- Update all documentation
Acceptance Criteria
- Component has been converted to TypeScript
- Stories, documentation and tests have been updated inside of the
component-namefolder - Before/After screen cast of component stories in storybook to show no visual regression after migration
Difficulty: Intermediate
Good first issue for: External contributors who are familiar with TypeScript and want to contribute to improving the stability of the extension
hi @georgewrmarshall i want to work on it
Hey @nazrul7711, thanks for your interest this issue has a dependency on https://github.com/MetaMask/metamask-extension/issues/19122 to be completed first
Most interesting 🥳 I would like to help. Please assign this issue to me, I will wait on #19122 first. 👍🏼
Removing good-first-issue label until we close the Box dependency https://github.com/MetaMask/metamask-extension/issues/19239
Missing release label release-11.8.0 on issue. Adding release label release-11.8.0 on issue, as issue is linked to PR #22158 which has this release label.