Skip to content
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

Convert rhs_sidebar component to typescript #425

Open
ayusht2810 opened this issue Dec 19, 2023 · 2 comments · May be fixed by #527
Open

Convert rhs_sidebar component to typescript #425

ayusht2810 opened this issue Dec 19, 2023 · 2 comments · May be fixed by #527
Assignees
Labels
Help Wanted Community help wanted Typescript Migration Issues that requires typescript migration

Comments

@ayusht2810
Copy link
Contributor

ayusht2810 commented Dec 19, 2023

We plan to migrate the gitlab plugin 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:

@ayusht2810 ayusht2810 changed the title Convert rhs_sidebar to typescript Convert rhs_sidebar component to typescript Dec 19, 2023
@ayusht2810 ayusht2810 added the Help Wanted Community help wanted label Dec 19, 2023
@the-illuzion
Copy link

Hi, @ayusht2810 @mickmister , please assign this ticket to me

@mickmister
Copy link
Contributor

Thanks @the-illuzion!

@ayusht2810 ayusht2810 added the Typescript Migration Issues that requires typescript migration label Jan 9, 2024
hereje added a commit to hereje/mattermost-plugin-gitlab that referenced this issue Oct 1, 2024
- convert component to ts
- update types

Fixes: mattermost#425
@hereje hereje linked a pull request Oct 1, 2024 that will close this issue
hereje added a commit to hereje/mattermost-plugin-gitlab that referenced this issue Oct 10, 2024
- convert component to ts
- update types

Fixes: mattermost#425
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Community help wanted Typescript Migration Issues that requires typescript migration
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants