-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Connect free trial start with marketplace account creation #22088
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
Conversation
@mneudert when an invalid email is added, the value in the error message has escaped quotes showing as words. Screenshot added to JIRA. |
054a827
to
b4a4c23
Compare
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.
} as unknown as ModalOptions; | ||
|
||
if (immediateTransition) { | ||
modalOptions.inDuration = 0; |
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.
The previous construction with the ternary operator was breaking the onOpenEnd callback causing it to never be called for the undefined value, so it's best if the config option is not set at all when not needed.
@mneudert I've added a small tweak to focus the email field when the modal is open and also allow submitting it by Enter key. Have updated the UI test screenshots accordingly. |
Description:
If a Matomo instance has no license key, and the user is a super user, the "start free trial" CTA will currently show an informational dialog how to obtain a license manually.
This PR changes that dialog to allow direct creation of a new marketplace account from within an instance. After the account was created, the new license key will automatically be added to the instance, and then the requested free trial will be started.
In addition to this new workflow, the visuals of the existing "wait while we start your free trial" loading modal have been update to match the "create an account and start your free trial" modal.
Uses DEV-17921
Refs DEV-17920
Refs DEV-17922
Review