-
Notifications
You must be signed in to change notification settings - Fork 2.7k
MM-40218 - start trial from team edition, do upgrade and request license #9454
Conversation
@marianunez @nickmisasi @annelieseklein the doNotMerge label is set because I haven't been able to fully test this feature, but I would like to receive early feedback about the code implementation and the design. Thanks! |
@annelieseklein Did we confirm with legal that not including the Enterprise Edition license text on the page (but instead having it accessible via a popup modal) is okay? (The primary use case is GitLab Omnibus which ships with Mattermost Team Edition, but has the option to upgrade to Mattermost Enterprise Edition and start a trial. The Enterprise Edition license text will need to be easily accessible to these admins) |
@jasonblais @marianunez confirmed with legal this is fine! |
@annelieseklein Great 🙌 |
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.
Small nit about translation strings but otherwise LGTM
"admin.license.enterprise.upgrade.acceptTermsInitial": "By clicking **Upgrade**, I agree to the terms of the Mattermost ", | ||
"admin.license.enterprise.upgrade.eeLicenseLink": "Enterprise Edition License", | ||
"admin.license.enterprise.upgrade.upgradeAndTrialTerms": ". Upgrading will download the binary and update your team edition.", |
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.
This string isn't going to work well with localization - splitting them apart like this might look fine for english but it may not translate well to other languages
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.
ok! could you be please more specific about which part could potentially bring problems when translating to other languages?
/> | ||
</a> | ||
); | ||
if (enterpriseReady && !restartedAfterUpgradePrefs) { |
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.
Do we also need to check if they have already had a trial license or already have a license?
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.
it is checked before even rendering the component. In the license settings page.
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.
I missed that, do you have the link to where? Also, let's include these scenarios in the QA Steps for this ticket.
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.
you didn't missed it, sorry if I confused you, what I meant was that it was just added in my latest changes but it is not in the trial banner component: https://github.com/mattermost/mattermost-webapp/pull/9454/files#diff-6d72897675f79c66f992edffb30b7fdb4b43dd32487493ee787c5846ac69dde6R394
@stevemudie to test this, you will need a specific scenario required for doing the upgrade from team to enterprise. Let me know when you are ready to test and I can enable you a server for performing this tests. |
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 and works great @pablovelezvidal!
Thanks for your help earlier in getting this set up and walking me though what to expect.
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 @pablovelezvidal!
@pablovelezvidal the new v6.3 branch is ready and this should be cherry picked there after merge. |
/cherry-pick release-6.3 |
Cherry pick is scheduled. |
Error trying doing the automated Cherry picking. Please do this manually
|
@pablovelezvidal Seems that this needs a manual cherry-pick to v6.3. |
ok! on it. |
…nse (#9454) * MM-40218 - start trial from team edition, do upgrade and request license * add i18n texts * fix snapshots * show restarting text and define which button was clicked * prevent the preference to get saved * hide the update and request trial banner if normal button is clicked * fix tests and snapshots Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
done @amyblais https://github.com/mattermost/mattermost-webapp/tree/release-6.3 |
Thanks! |
…nse (#9454) * MM-40218 - start trial from team edition, do upgrade and request license * add i18n texts * fix snapshots * show restarting text and define which button was clicked * prevent the preference to get saved * hide the update and request trial banner if normal button is clicked * fix tests and snapshots Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
…nse (#9454) * MM-40218 - start trial from team edition, do upgrade and request license * add i18n texts * fix snapshots * show restarting text and define which button was clicked * prevent the preference to get saved * hide the update and request trial banner if normal button is clicked * fix tests and snapshots Co-authored-by: Pablo Velez Vidal <pablo.velez@mattermost.com>
use state.show & top level onExited for invitation modal (#9550) [MM-40407] - Do not show the Renew Now if the license id does not exist in the portal (#9544) * [MM-40407] - Do not show the Renew Now if the license id does not exist in the portal * fix translation strings * add unit test * improvements MM-40600 - use custom type and set correct value to api response (#9546) Automatic Merge MM-40218 - start trial from team edition, do upgrade and request license (#9454) * MM-40218 - start trial from team edition, do upgrade and request license * add i18n texts * fix snapshots * show restarting text and define which button was clicked * prevent the preference to get saved * hide the update and request trial banner if normal button is clicked * fix tests and snapshots MM-40114/MM-40545 Clean up MobileSidebarHeader and have it use getIsMobileView (#9512) * MM-40114 Clean up LegacySidebarHeader and remove usage of Utils.isMobile * MM-40114 Rename LegacySidebarHeader to MobileSidebarHeader and remove unused dropdown * MM-40545 Fix Account Settings shortcut in desktop view * Apply suggestions from code review Co-authored-by: Jelena Gilliam <52937121+jgilliam17@users.noreply.github.com> Co-Authored-By: Pablo Velez Vidal <pablo.velez@mattermost.com>
Summary
This PR adds changes in the licensing page Start Trial banner, so when in the team edition scenario (no enterprise binary available), the user can directly upgrade the server and start the trial with a single button click.
Ticket Link
https://mattermost.atlassian.net/browse/MM-40218
Screenshots
Normal Upgrade:
Dec-20-2021.15-52-23.mp4
Upgrade and request trial:
Dec-20-2021.16-11-562222.mp4
Release Note