-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Update 1-click trial process to go via Markeplace e-shop #22451
Conversation
@@ -455,9 +459,15 @@ | |||
padding: 24px; | |||
height: 90px; | |||
border-top: 1px solid #aaa; | |||
margin-top: 1px; // to prevent images overflowing the border |
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.
Unrelated to the change, but I notices some of the floating images were overlapping the border, so this fixes it.
f59ee66
to
ffbafe9
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.
Generally seems to work as expected. Left a minor translation related comment.
Besides that the UI tests for starting a trial are now failing. Those need to be removed and/or adjusted to cover the new flow.
And I came across one thing that seems weird. For a plugin, which is installed, but the license is missing the super user sees a license missing warning, which is correct. But he normal user has a request trial button, while seeing the no license warning in the details modal. It will most likely not be possible at all to start a new trial in that case, as if the plugin is already installed, there most likely had been a trial or purchase before, so maybe we should simply not show the trial button in that case.
@sgiehl what combination of user access level did you use to get the screenshot? I can't reproduce it. When the plugin is installed and license is removed, a super user gets the notification that there's no license, and a regular user gets "More details" (after a tiny change), but a regular user never sees the notification as it requires "hasSomeAdminAccess" to be true. |
add9fb5
to
76860d0
Compare
@sgiehl removed the Start Free Trial UI tests for now. |
@sgiehl I've confirmed this was happening for a user that had admin access to another site ("some admin access"). After a change they see 'More details' on the plugin card, no license notification in the modal, but no 'Request trial' within the modal. |
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 previously reported things all seem fixed.
But I came across something else, but as that most likely was already the case before, it might not need to be fixed here.
When running Matomo on PHP 7.2, without a license for premium plugins, as super user it shows the More Details
button for LoginSaml
. I guess the Start Trial
isn't shown, as it requires PHP 7.3. But the modal shows this:
So it shows that it can't be installed, but the warning with the reason is missing.
I've checked how this behaved on 5.0.0 before the on-prem marketplace changes and the warning wasn't shown either for premium plugins. I'll create an internal ticket to follow that up. |
* Update 1-click trial process to go via Markeplace e-shop * Update styling and behaviour of modal footer when free trial dropdown is present * Update expected UI screenshots due to 1px shift * Use original lead-in text to leverage existing translations * Remove StartFreeTrial tests * Prevent displaying Request trial for plugins that have a missing license * Update UI test screenshot
* Update 1-click trial process to go via Markeplace e-shop * Update styling and behaviour of modal footer when free trial dropdown is present * Update expected UI screenshots due to 1px shift * Use original lead-in text to leverage existing translations * Remove StartFreeTrial tests * Prevent displaying Request trial for plugins that have a missing license * Update UI test screenshot
Description:
Ref DEV-18349.
The behaviour on narrower screens was tweaked in dev, that may need adjusting, though I'm not sure what other options are there.
Review