Skip to content

Commit 3c350a4

Browse files
committed
AC-86: Update language for data collection opt-in messaging for 2.4.4
- Refactor css
1 parent 7c135ff commit 3c350a4

File tree

5 files changed

+26
-14
lines changed

5 files changed

+26
-14
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
"Allow Adobe to collect usage data to improve user experience and offer in-product guidance", "Allow Adobe to collect usage data to improve user experience and offer in-product guidance"
2+
"<![CDATA[
3+
<p>By clicking on <b>Allow</b>, you agree that we may collect anonymous usage data from you to:</p>
4+
<ol class="modal_list">
5+
<li>Help us improve the Magento Admin user experience</li>
6+
<li>Provide interactive in-product guidance, such as technical support and tips to improve utilization of the product from within the Admin UI. This may include notifications of new features, product support/guidance, onboarding information, tooltips, and more.</li>
7+
</ol>
8+
<p>All usage data that we collect for this purpose cannot be used to individually identify you and is used only to improve the Magento Admin UI and related products and services.</p>
9+
<p>You can learn more and opt-out at any time by following the instructions in <a href="https://docs.magento.com/user-guide/configuration/advanced/admin.html#admin-usage">merchant documentation</a>.</p>
10+
]]>", "<![CDATA[
11+
<p>By clicking on <b>Allow</b>, you agree that we may collect anonymous usage data from you to:</p>
12+
<ol class="modal_list">
13+
<li>Help us improve the Magento Admin user experience</li>
14+
<li>Provide interactive in-product guidance, such as technical support and tips to improve utilization of the product from within the Admin UI. This may include notifications of new features, product support/guidance, onboarding information, tooltips, and more.</li>
15+
</ol>
16+
<p>All usage data that we collect for this purpose cannot be used to individually identify you and is used only to improve the Magento Admin UI and related products and services.</p>
17+
<p>You can learn more and opt-out at any time by following the instructions in <a href="https://docs.magento.com/user-guide/configuration/advanced/admin.html#admin-usage">merchant documentation</a>.</p>
18+
]]>"

app/code/Magento/AdminAnalytics/view/adminhtml/layout/adminhtml_dashboard_index.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
-->
88
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
99
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
10-
<head>
11-
<css src="Magento_AdminAnalytics::css/modal.css" rel="stylesheet" type="text/css" />
12-
</head>
1310
<body>
1411
<referenceContainer name="content">
1512
<uiComponent name="admin_usage_notification">

app/code/Magento/AdminAnalytics/view/adminhtml/ui_component/admin_usage_notification.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<item name="additionalClasses" xsi:type="string">release-notification-text</item>
8585
<item name="text" xsi:type="string" translate="true"><![CDATA[
8686
<p>By clicking on <b>Allow</b>, you agree that we may collect anonymous usage data from you to:</p>
87-
<ol class="modal_list">
87+
<ol class="modal-list">
8888
<li>Help us improve the Magento Admin user experience</li>
8989
<li>Provide interactive in-product guidance, such as technical support and tips to improve utilization of the product from within the Admin UI. This may include notifications of new features, product support/guidance, onboarding information, tooltips, and more.</li>
9090
</ol>

app/code/Magento/AdminAnalytics/view/adminhtml/web/css/modal.css

Lines changed: 0 additions & 10 deletions
This file was deleted.

app/design/adminhtml/Magento/backend/Magento_AdminAnalytics/web/css/source/_module.less

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
visibility: visible;
1919
}
2020

21+
2122
.modal-inner-wrap {
2223
.modal-content,
2324
.modal-header {
@@ -29,6 +30,12 @@
2930
}
3031
}
3132

33+
.modal-list {
34+
margin-left: 0;
35+
padding-left: 40px;
36+
padding-top: 5px;
37+
}
38+
3239
-webkit-transform: translateX(0);
3340
-webkit-transition: -webkit-transform 0s;
3441
transition: transform 0s;

0 commit comments

Comments
 (0)