-
Notifications
You must be signed in to change notification settings - Fork 84
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
[MM-35] Update plugin with respect to phase 1 upgrades #428
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #428 +/- ##
=======================================
Coverage 33.53% 33.53%
=======================================
Files 22 22
Lines 3996 3996
=======================================
Hits 1340 1340
Misses 2523 2523
Partials 133 133 ☔ View full report in Codecov by Sentry. |
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.
Thanks for these updates @ayusht2810 👍 I have two remaining requests on this. I've updated the doc to reflect this as well https://docs.google.com/document/d/12IoQTHxFHc7yvM-oxPrBTx_LWW6lDVVego8TWkBOQE0/edit
@mickmister fixed the review comments. Please re-review. |
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.
Awesome LGTM 👍
Makefile
Outdated
@@ -40,6 +46,7 @@ all: check-style test dist | |||
check-style: webapp/node_modules | |||
@echo Checking for style guide compliance | |||
|
|||
## TODO: Add check-types as well |
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.
What's the result when we run npm run check-types
right now? Maybe the errors we can take care of while this is open? That way the project is ready to be worked on with other typescript contributions. No worries if you think it doesn't make sense to do that in this PR
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.
@mickmister On adding the above script, we were getting various errors. So I think we can do that in another PR.
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.
Tested for all the basic features and functionalities, working fine for all of them. Nothing seems to break, approved.
@ayusht2810 Heads up that there are linting issues to resolve here Note that for the mattermost-plugin-gitlab/webapp/.eslintrc.json Lines 380 to 387 in ee780c1
to
I think we can modify the The For the |
@mickmister fixed the lint errors and typescript errors.
Regarding the camelcase issue in the plugin, I tried to fix it by applying the above rule, but I was still getting camelcase lint errors in the plugin. For now, I have disabled the rule. Let me know your thoughts on this issue. |
@ayusht2810 Disabling the |
Are we able to include the latest PRs from the starter template like mattermost/mattermost-plugin-starter-template#192, or would you prefer to do them in a separate PR? A separate PR probably makes sense to minimize scope and get these merged. I wonder if we can have an automated process to cherry-pick starter template PRs into plugin projects. That would make keeping things up-to-date a lot easier. We could batch them with multiple cherry-picks in one PR if we wanted to as well. |
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.
LGTM, great work @ayusht2810 🚀
Summary
Updated plugin with respect to phase 1 upgrades
nvmrc
file and updatepackage-lock.json
file.Ticket Link