Repository: mattermost/mattermost

Issue #21139: Migrate "components/advanced_create_post/advanced_create_post.test.jsx" to Typescript
Created: 2022-09-27T10:45:25Z
We are plan to migrate the mattermost-webapp over to TypeScript to facilitate better code quality. This Help Wanted issue is to modify the above mentioned file and associate test files (if the file exists).
Below is a checklist of items you should be doing to migrate:

Rename the files to their associated TypeScript extensions (ie. js to ts, jsx to tsx).
Add relevant types in the component(s) code.
Update any components using those to the correct imports.
Fix any errors generated by the TypeScript compiler. You can run rpm run check-types to display any errors.

We are aiming to be as strict as possible for the time being, but if you run into any issues where the file cannot be successfully migrated without significant change in other libraries, or our tsconfig.json, please feel free to raise them as we are aiming to keep this process smooth and gradual, while enforcing as much as we can.
Some examples of already migrated files can be found here:

mattermost/mattermost-webapp#10826
mattermost/mattermost-webapp#10931


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please  join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-47055

Duplicate issue #21141: Migrate "components/advanced_create_post/advanced_create_post.test.jsx" and its associated tests to Typescript
Created: 2022-09-27T10:45:30Z
We are plan to migrate the mattermost-webapp over to TypeScript to facilitate better code quality. This Help Wanted issue is to modify the above mentioned file and associate test files (if the file exists).
Below is a checklist of items you should be doing to migrate:

Rename the files to their associated TypeScript extensions (ie. js to ts, jsx to tsx).
Add relevant types in the component(s) code.
Update any components using those to the correct imports.
Fix any errors generated by the TypeScript compiler. You can run rpm run check-types to display any errors.

We are aiming to be as strict as possible for the time being, but if you run into any issues where the file cannot be successfully migrated without significant change in other libraries, or our tsconfig.json, please feel free to raise them as we are aiming to keep this process smooth and gradual, while enforcing as much as we can.
Some examples of already migrated files can be found here:

mattermost/mattermost-webapp#10826
mattermost/mattermost-webapp#10931


If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please  join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-47048

Closing comment (2022-09-28T12:48:38Z): It looks like this is a duplicate of #21139. Is this issue supposed to be a different file?

cc @M-ZubairAhmed