-
Notifications
You must be signed in to change notification settings - Fork 81
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
Remove usage of model.AppError #364
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #364 +/- ##
==========================================
+ Coverage 32.17% 32.29% +0.11%
==========================================
Files 21 21
Lines 3468 3437 -31
==========================================
- Hits 1116 1110 -6
+ Misses 2242 2217 -25
Partials 110 110
... and 2 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ 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.
LGTM 👍
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.
Looks good! Only comment: there is an occurrence of model.AppError
in command.go
in the ExecuteCommand
, is this possible to be updated too or not?
Thanks @m1lt0n. Nice catch. I have updated the occurrence in ExecuteCommand function too. |
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.
Nice work, @srkgupta 👍
I left a few comments below. The most important item is to check if the slash command still works.
Nit pick:
iconData, err := command.GetIconData(&p.client.System, "assets/icon.svg") so p.API is used even less.
|
Hi @hanzei I have made all the changes based on your feedback. Requesting your re-review on this. Thanks |
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 🚀
@DHaussermann Heads up that this PR is ready for your 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.
Tested and passed
- Setup and smoke tested GitLab
- Connect and disconnect from browser and desktop
- Various commands to retrieve data
- Created subscription and ensured deliveries are working
- RHS works to show connection and subscribe options
- Lists of work items open in RHS as expected
- No changes in behavior found
- Nothing unusual in the logs
LGTM!
Summary
Remove usage of model.AppError in Gitlab plugin
Ticket Link
https://mattermost.atlassian.net/browse/MM-50986