Migrate "components/app.jsx" and tests to Typescript #23439
Labels
Area/Technical Debt
Difficulty/1:Easy
Easy ticket
Good First Issue
Suitable for first-time contributors
Help Wanted
Community help wanted
Tech/TypeScript
We are commencing the migration of the mattermost-server/webapp to TypeScript in order to enhance code quality. This "Help Wanted" issue pertains to the migration of the aforementioned "JSX" files and their associated test files to TypeScript.
Below is a checklist outlining the tasks to be performed during the migration:
< ] Rename the files to their corresponding TypeScript extensions (e.g., js to ts, jsx to tsx).
[ ] Update any components that utilize these files with the correct imports.
[ ] Migrate the associated tests, if applicable.
[ > Address any errors raised by the TypeScript compiler. You can execute make check-types to view any encountered errors.
Our objective is to maintain a high level of stringency during this process. However, if you encounter any obstacles where successful migration would necessitate significant changes to other libraries or our tsconfig.json file, please raise the issues. We aim to ensure a smooth and gradual migration while enforcing as many changes as possible.
For reference, you can find examples of already migrated files in the following pull requests:
https://github.com/mattermost/mattermost-webapp/pull/3790
https://github.com/mattermost/mattermost-webapp/pull/3472
https://github.com/mattermost/mattermost-webapp/pull/4230
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-52821
The text was updated successfully, but these errors were encountered: