Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 88ad7a6

Browse files
🔃 [EngCom] Public Pull Requests - 2.2-develop
Accepted Public Pull Requests: - magento/magento2#21320: [Backport][Ui] Fixing the changing state of dropdown's icon (by @eduard13) - magento/magento2#21229: [Backport] Fixed product advanced pricing design issue (by @mage2pratik) - magento/magento2#21173: [Backport] fixes-customer-information-wishlist-configurable-product-alignment-2.2 (by @amol2jcommerce) - magento/magento2#20370: iPhone5-device-newsletter-subscription-#20167 (by @dipti2jcommerce) Fixed GitHub Issues: - magento/magento2#21196: [UI] The dropdown state doesn't change if the dropdown is expanded or not (reported by @eduard13) has been fixed in magento/magento2#21320 by @eduard13 in 2.2-develop branch Related commits: 1. 1e4055d - magento/magento2#18775: Product Advanced Pricing design issue (reported by @saphaljha) has been fixed in magento/magento2#21229 by @mage2pratik in 2.2-develop branch Related commits: 1. 079d5d5 - magento/magento2#20760: Admin Customer configuraion in whishlist associated product for configurable product misalign (reported by @nainesh2jcommerce) has been fixed in magento/magento2#21173 by @amol2jcommerce in 2.2-develop branch Related commits: 1. e9102ec 2. 17d416a 3. 5d42fa8 - magento/magento2#20163: On iPhone5 device newsletter subscription input box not contain complete text (placeholder) (reported by @dipti2jcommerce) has been fixed in magento/magento2#20370 by @dipti2jcommerce in 2.2-develop branch Related commits: 1. c874bf5 2. 9f1a322
2 parents 6d856c4 + e3e888d commit 88ad7a6

File tree

9 files changed

+35
-14
lines changed

9 files changed

+35
-14
lines changed

app/code/Magento/ConfigurableProduct/view/adminhtml/templates/catalog/product/composite/fieldset/configurable.phtml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@
1717
<legend class="legend admin__legend">
1818
<span><?= /* @escapeNotVerified */ __('Associated Products') ?></span>
1919
</legend>
20-
<div class="product-options">
21-
<div class="field admin__field _required required">
22-
<?php foreach ($_attributes as $_attribute): ?>
20+
<div class="product-options fieldset admin__fieldset">
21+
<?php foreach ($_attributes as $_attribute): ?>
22+
<div class="field admin__field _required required">
2323
<label class="label admin__field-label"><?php
2424
/* @escapeNotVerified */ echo $_attribute->getProductAttribute()
2525
->getStoreLabel($_product->getStoreId());
@@ -34,8 +34,8 @@
3434
<option><?= /* @escapeNotVerified */ __('Choose an Option...') ?></option>
3535
</select>
3636
</div>
37-
<?php endforeach; ?>
38-
</div>
37+
</div>
38+
<?php endforeach; ?>
3939
</div>
4040
</fieldset>
4141
<script>

app/code/Magento/Sales/Test/Mftf/Section/AdminOrderFormConfigureProductSection.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1010
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
1111
<section name="AdminOrderFormConfigureProductSection">
12-
<element name="optionSelect" type="select" selector="//div[@class='product-options']/div/div/select[../../label[text() = '{{option}}']]" parameterized="true"/>
12+
<element name="optionSelect" type="select" selector="//div[contains(@class, 'product-options')]//div//label[.='{{option}}']//following-sibling::*//select" parameterized="true"/>
1313
<element name="quantity" type="input" selector="#product_composite_configure_input_qty"/>
1414
<element name="ok" type="button" selector=".modal-header .page-actions button[data-role='action']" timeout="30"/>
1515
</section>
16-
</sections>
16+
</sections>

app/code/Magento/Ui/view/base/web/templates/form/field.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
visible="visible"
99
css="$data.additionalClasses"
1010
attr="'data-index': index">
11-
<div class="admin__field-label">
12-
<label if="$data.label" visible="$data.labelVisible" attr="for: uid">
11+
<div class="admin__field-label" visible="$data.labelVisible">
12+
<label if="$data.label" attr="for: uid">
1313
<span translate="label" attr="'data-config-scope': $data.scopeLabel" />
1414
</label>
1515
</div>

app/code/Magento/Ui/view/base/web/templates/grid/filters/elements/ui-select-optgroup.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
css: {
2020
_selected: $parent.root.isSelected(option.value),
2121
_hover: $parent.root.isHovered(option, $element),
22-
_expended: $parent.root.getLevelVisibility($data),
22+
_expended: $parent.root.getLevelVisibility($data) || $data.visible,
2323
_unclickable: $parent.root.isLabelDecoration($data),
2424
_last: $parent.root.addLastElement($data),
2525
'_with-checkbox': $parent.root.showCheckbox

app/code/Magento/Ui/view/base/web/templates/grid/filters/elements/ui-select.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,13 @@
125125
css: {
126126
_selected: $parent.isSelected(option.value),
127127
_hover: $parent.isHovered(option, $element),
128-
_expended: $parent.getLevelVisibility($data),
128+
_expended: $parent.getLevelVisibility($data) && $parent.showLevels($data),
129129
_unclickable: $parent.isLabelDecoration($data),
130130
_last: $parent.addLastElement($data),
131131
'_with-checkbox': $parent.showCheckbox
132132
},
133133
click: function(data, event){
134+
$parent.showLevels($data);
134135
$parent.toggleOptionSelected($data, $index(), event);
135136
},
136137
clickBubble: false

app/design/adminhtml/Magento/backend/web/css/source/actions/_actions-multiselect.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
border-top: @action-multiselect-tree-lines;
331331
height: 1px;
332332
top: @action-multiselect-menu-item__padding + @action-multiselect-tree-arrow__size/2;
333-
width: @action-multiselect-tree-menu-item__margin-left + @action-multiselect-menu-item__padding;
333+
width: @action-multiselect-tree-menu-item__margin-left;
334334
}
335335

336336
// Vertical dotted line

app/design/adminhtml/Magento/backend/web/css/source/forms/_fields.less

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,6 @@
527527

528528
& > .admin__field-label {
529529
#mix-grid .column(@field-label-grid__column, @field-grid__columns);
530-
background: @color-white;
531530
cursor: pointer;
532531
left: 0;
533532
position: absolute;

app/design/frontend/Magento/luma/Magento_Newsletter/web/css/source/_module.less

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,3 +81,24 @@
8181
width: 34%;
8282
}
8383
}
84+
85+
//
86+
// Mobile
87+
// _____________________________________________
88+
89+
.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
90+
.block {
91+
&.newsletter {
92+
input {
93+
font-size: 12px;
94+
padding-left: 30px;
95+
}
96+
97+
.field {
98+
.control:before {
99+
font-size: 13px;
100+
}
101+
}
102+
}
103+
}
104+
}

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Block/Adminhtml/Product/Composite/Configure.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<fields>
1010
<qty />
1111
<attribute>
12-
<selector>//div[@class="product-options"]//label[.="%s"]//following-sibling::*//select</selector>
12+
<selector>//div[contains(@class, "product-options")]//div//label[.="%s"]//following-sibling::*//select</selector>
1313
<strategy>xpath</strategy>
1414
<input>select</input>
1515
</attribute>

0 commit comments

Comments
 (0)