Repository navigation
[MM-36] Update plugin with respect to phase 1 upgrades - #727
Conversation
|
@ayusht2810 Can you please merge master into your PR? |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #727 +/- ##
==========================================
+ Coverage 15.85% 15.93% +0.08%
==========================================
Files 15 17 +2
Lines 5778 6018 +240
==========================================
+ Hits 916 959 +43
- Misses 4820 5017 +197
Partials 42 42 ☔ View full report in Codecov by Sentry. |
|
/update-branch |
hanzei
left a comment
There was a problem hiding this comment.
One blocker, otherwise LGTM
|
Let's merge #725 first. |
arush-vashishtha
left a comment
There was a problem hiding this comment.
Tested the basic flows and slash commands, everything working fine. Approved.
cc @AayushChaudhary0001
#192) * Revert "Update main.go (#154)" This reverts commit be4a281d0cc791d10e6e5ae917b325b2f054e475. * Revert "[MM-33506] Use embed package to include plugin manifest (#145)" This reverts commit ca9ee3c17c6920a636a33f378e17395afd6f329f. * Revert "Don't generate manifest.ts (#127)" This reverts commit 18d30b50bc7ba800c9f05bfd82970781db0aea3e. * install-go-tools target, adopt gotestsum * bring back make apply + automatic versioning * Update build/manifest/main.go Co-authored-by: Michael Kochell <[email protected]> * suppress git describe error when no tags match * make version/release notes opt-in * fix whitespace in Makefile * document version management options --------- Co-authored-by: Michael Kochell <[email protected]>
Co-authored-by: Jesse Hallam <[email protected]>
…github into MM-36
|
|
||
| return { | ||
| show: state[`plugins-${pluginId}`].connected && !systemMessage, | ||
| show: state[`plugins-${manifest.id}`].connected && !systemMessage, |
There was a problem hiding this comment.
Not required for this PR, but it would be good to always use a selector for this sort of thing, and never do this plugins-(id) thing in these files. Can this be done as part of the redux store migration?
|
|
||
| connectClick = () => { | ||
| window.open('/plugins/' + pluginId + '/user/connect', '_blank'); | ||
| window.open('/plugins/' + manifest.id + '/user/connect', '_blank'); |
There was a problem hiding this comment.
This should really be using the server's SiteURL (not needed for this PR)
| import PropTypes from 'prop-types'; | ||
|
|
||
| import {id as pluginId} from '../../../manifest'; | ||
| import manifest from '../../../manifest'; |
There was a problem hiding this comment.
I see sometimes we import the manifest as 'manifest' and sometimes with the relative path. Probably should just do 'manifest'
Summary
Updated plugin with respect to phase 1 upgrades
nvmrcfile and updatepackage-lock.jsonfile.node-sasstosassTicket Link