-
-
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
Refactor plugin details modal using Vue #22055
Conversation
a3ad606
to
2a53496
Compare
Moving to draft as parked internally for now. |
2a53496
to
a20d808
Compare
e861b0d
to
8b909ba
Compare
@mneudert I'd appreciate another review — the markup for the modal was refactored to use flexbox with a fixed header and footer and only the content should be scrolling now. For other decisions please refer to JIRA DEV-17371, e.g. keeping the CTA behaviour the same as on the plugin card, the discussion around the featured plugin (for now next to the title) or the removal of the promo content section (not used). |
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 like how fluffy and responsive this feels, compared to the old modals 🤗
plugins/Marketplace/vue/src/PluginDetailsModal/PluginDetailsModal.vue
Outdated
Show resolved
Hide resolved
plugins/Marketplace/vue/src/PluginDetailsModal/PluginDetailsModal.vue
Outdated
Show resolved
Hide resolved
plugins/Marketplace/vue/src/PluginDetailsModal/PluginDetailsModal.vue
Outdated
Show resolved
Hide resolved
plugins/Marketplace/vue/src/PluginDetailsModal/PluginDetailsModal.vue
Outdated
Show resolved
Hide resolved
plugins/Marketplace/vue/src/PluginDetailsModal/PluginDetailsModal.vue
Outdated
Show resolved
Hide resolved
plugins/Marketplace/vue/src/PluginDetailsModal/PluginDetailsModal.vue
Outdated
Show resolved
Hide resolved
6938c61
to
8468dba
Compare
Remove showActionsOnly flag and replace it with inModal flag as PO agreed to display the same actions in the modal as on the plugin card, except the More details button which would open the modal so it wouldn't make sense to display that.
…for free trials is automatic in the backend
Both components were doing the same thing in a different form of a link (text vs button), so these got merged with props to control the button block look and the label.
e987f42
to
c98d1e9
Compare
d3355ad
to
9fda8e1
Compare
9fda8e1
to
5f1df8f
Compare
Description:
Ref. DEV-17864 and DEV-17371
Refactor plugin details view from back-end twig template to Vue template so that Start Free Trial action can be integrated into the modal.
Implement new modal design with sticky header and footer. CTA action in the modal is the same as on the card (just without the More details that would open the modal itself).
The legacy modal and its CSS was kept unchanged.
Once initial review is done we can think of adding UI tests for the new modal.
Review