-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 shop links from plugin details modal #22154
Conversation
The Displaying a silver border looks somewhat odd to me if it does not match the whole height, so i am inclined to skip that part 🤔 Pushed a matching change so we can see what it looks like after CI has generated the screenshot diffs: https://builds-artifacts.matomo.org/matomo-org/matomo/dev-18004/8813350044/ |
We could put the border (silver or light gray) on the content, so it would be the whole height. I'd say whichever way is the easiest as long as we keep the metadata at the top and it's somewhat visually separated from the content. |
I will add one or two changes so we (or probably you) can check with Javi on Monday which screenshot set we should keep. To me that sounds like a reasonable way to invest the time, instead of doing everything without prior UI approval 🙈 |
Good call 👍 |
@michalkleiner created 4 sets of screenshots we could get checked:
The full height border will only be visible for actual modals, the UI tests don't have enough content for it to show. And it should only be checked with a plugin that displays images in the description, as those images may touch or even overlap the border. Metadata content can currently overflow outside of the modal. If a link is displayed that contains no characters where a browser would break the line it will flow out of the metadata block. |
Spoke about this with the design team today and the preference is full height silver line, no space above the metadata (there's still an empty paragraph from somewhere) and if possible, a bit of padding so that the images don't touch the vertical line (which can be achieved by removing flex 1 and making them 48% wide). |
…oid colision with the newly added border
@mneudert pushed two commits based on the discussion with design, could you check it looks ok from your perspective and update the test screenshots, please? Then it's ok to merge if all is good. |
When I woke up today I had the same idea to remove the empty paragraph and add the margin-bottom to the action div after I saw the UI test screenshots, but I ran out of time on that, so well done you've done the same! :) |
Description:
Removes the CTA buttons leading to the webshop from the plugin detail modals.
The case fallback for
{% if plugin.shop.variations|length %}
was also removed for consistency with the CTA display behaviour. To my knowledge it should not happen that a premium plugin has no variations, and the links are still available in the description part of the modal.Whitespace above the description has been adjusted to be a general "4 br height if not cta visible", though yet to be checked if it will be adjusted to a slightly lower amount.
Refs DEV-18004
Review