Skip to content
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

Proofing upsell #1162

Merged
merged 9 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions assets/css/admin/edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ tbody#the-list .no-items {
box-shadow: 0 3px 30px rgb(0 0 0 / 20%);
}

.image-proofing .modula-modal__frame {
width: 750px;
max-width: 100%;
}
.modula-upsell-modal-buttons-wrap{
width: 100%;
text-align: center;
}

@media screen and (max-width: 800px) {
.modula-modal__frame {
width: auto;
Expand Down Expand Up @@ -214,6 +223,10 @@ tbody#the-list .no-items {
padding-left: 40px;
}

.modula-upsell-modal.modula-upsell-item-modal p {
text-align: left;
}

/**
Onboarding CSS
*/
Expand Down Expand Up @@ -327,7 +340,8 @@ p.modula-onboarding-doc > a {
}

#menu-posts-modula-gallery .wp-submenu li a[href$="#albums-defaults"]::before,
#menu-posts-modula-gallery .wp-submenu li a[href$="#gallery-defaults"]::before {
#menu-posts-modula-gallery .wp-submenu li a[href$="#gallery-defaults"]::before,
#menu-posts-modula-gallery .wp-submenu li a[href$="#image-proofing-upsell"]::before {
display: inline-block;
color: rgba(240, 246, 252, 0.7);
font-family: 'dashicons';
Expand All @@ -337,7 +351,7 @@ p.modula-onboarding-doc > a {
}

#menu-posts-modula-gallery .wp-submenu li a[href$="#albums-defaults"],
#menu-posts-modula-gallery .wp-submenu li a[href$="#gallery-defaults"] {
#menu-posts-modula-gallery .wp-submenu li a[href$="#image-proofing-upsell"] {
border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

Expand Down
2 changes: 1 addition & 1 deletion assets/css/admin/edit.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions assets/js/admin/modula-edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,15 @@
modulaOpenModal
);

$('body').on(
'click',
'#adminmenu #menu-posts-modula-gallery ul li a[href="edit.php?post_type=modula-gallery&page=#image-proofing-upsell"]',
{
upsell: 'image-proofing',
},
modulaOpenModal
);

$('body').on(
'click',
'#adminmenu #menu-posts-modula-gallery ul li a[href="edit.php?post_type=modula-gallery&page=go-pro"]',
Expand Down
2 changes: 1 addition & 1 deletion assets/js/admin/modula-edit.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
== Changelog ==
= 2.11.10 - 20.12.2024 =
Update: Extended the upsells notifications system to include Image Proofing extension.

= 2.11.9 - 19.12.2024 =
Fixed: Text domain loading

Expand Down Expand Up @@ -287,13 +290,13 @@ Changed: Active hover effect on top of list.
-Added: Metabox accordions.
-Changed: WCAG compliance.

= 2.6.7 - 08.06.2020 =
= 2.6.7 - 08.06.2022 =
-Fixed: Sanitization & escapes.
-Fixed: Medicare WP theme compatibility.
-Fixed: Gallery titles with messy display names in Gutenberg.
-Added: Possibility to exclude certain images from the lightbox.

= 2.6.6 - 02.05.2020 =
= 2.6.6 - 02.05.2022 =
-Fixed: Sanitization not showing quotation marks in image title.
-Changed: Last image arrow in lightbox is now hidden.

Expand Down
Loading
Loading