Skip to content

Commit

Permalink
🔃 [EngCom] Public Pull Requests - 2.2-develop
Browse files Browse the repository at this point in the history
Accepted Public Pull Requests:
 - magento#21320: [Backport][Ui] Fixing the changing state of dropdown's icon (by @eduard13)
 - magento#21229: [Backport] Fixed product advanced pricing design issue (by @mage2pratik)
 - magento#21173: [Backport] fixes-customer-information-wishlist-configurable-product-alignment-2.2 (by @amol2jcommerce)
 - magento#20370: iPhone5-device-newsletter-subscription-magento#20167 (by @dipti2jcommerce)


Fixed GitHub Issues:
 - magento#21196: [UI] The dropdown state doesn't change if the dropdown is expanded or not (reported by @eduard13) has been fixed in magento#21320 by @eduard13 in 2.2-develop branch
   Related commits:
     1. 1e4055d

 - magento#18775: Product Advanced Pricing design issue (reported by @saphaljha) has been fixed in magento#21229 by @mage2pratik in 2.2-develop branch
   Related commits:
     1. 079d5d5

 - magento#20760: Admin Customer configuraion in whishlist associated product for configurable product misalign (reported by @nainesh2jcommerce) has been fixed in magento#21173 by @amol2jcommerce in 2.2-develop branch
   Related commits:
     1. e9102ec
     2. 17d416a
     3. 5d42fa8

 - magento#20163: On iPhone5 device newsletter subscription input box not contain complete text (placeholder)  (reported by @dipti2jcommerce) has been fixed in magento#20370 by @dipti2jcommerce in 2.2-develop branch
   Related commits:
     1. c874bf5
     2. 9f1a322
  • Loading branch information
magento-engcom-team authored Feb 19, 2019
2 parents 6d856c4 + e3e888d commit 88ad7a6
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<legend class="legend admin__legend">
<span><?= /* @escapeNotVerified */ __('Associated Products') ?></span>
</legend>
<div class="product-options">
<div class="field admin__field _required required">
<?php foreach ($_attributes as $_attribute): ?>
<div class="product-options fieldset admin__fieldset">
<?php foreach ($_attributes as $_attribute): ?>
<div class="field admin__field _required required">
<label class="label admin__field-label"><?php
/* @escapeNotVerified */ echo $_attribute->getProductAttribute()
->getStoreLabel($_product->getStoreId());
Expand All @@ -34,8 +34,8 @@
<option><?= /* @escapeNotVerified */ __('Choose an Option...') ?></option>
</select>
</div>
<?php endforeach; ?>
</div>
</div>
<?php endforeach; ?>
</div>
</fieldset>
<script>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
<sections xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:mftf:Page/etc/SectionObject.xsd">
<section name="AdminOrderFormConfigureProductSection">
<element name="optionSelect" type="select" selector="//div[@class='product-options']/div/div/select[../../label[text() = '{{option}}']]" parameterized="true"/>
<element name="optionSelect" type="select" selector="//div[contains(@class, 'product-options')]//div//label[.='{{option}}']//following-sibling::*//select" parameterized="true"/>
<element name="quantity" type="input" selector="#product_composite_configure_input_qty"/>
<element name="ok" type="button" selector=".modal-header .page-actions button[data-role='action']" timeout="30"/>
</section>
</sections>
</sections>
4 changes: 2 additions & 2 deletions app/code/Magento/Ui/view/base/web/templates/form/field.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
visible="visible"
css="$data.additionalClasses"
attr="'data-index': index">
<div class="admin__field-label">
<label if="$data.label" visible="$data.labelVisible" attr="for: uid">
<div class="admin__field-label" visible="$data.labelVisible">
<label if="$data.label" attr="for: uid">
<span translate="label" attr="'data-config-scope': $data.scopeLabel" />
</label>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
css: {
_selected: $parent.root.isSelected(option.value),
_hover: $parent.root.isHovered(option, $element),
_expended: $parent.root.getLevelVisibility($data),
_expended: $parent.root.getLevelVisibility($data) || $data.visible,
_unclickable: $parent.root.isLabelDecoration($data),
_last: $parent.root.addLastElement($data),
'_with-checkbox': $parent.root.showCheckbox
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,13 @@
css: {
_selected: $parent.isSelected(option.value),
_hover: $parent.isHovered(option, $element),
_expended: $parent.getLevelVisibility($data),
_expended: $parent.getLevelVisibility($data) && $parent.showLevels($data),
_unclickable: $parent.isLabelDecoration($data),
_last: $parent.addLastElement($data),
'_with-checkbox': $parent.showCheckbox
},
click: function(data, event){
$parent.showLevels($data);
$parent.toggleOptionSelected($data, $index(), event);
},
clickBubble: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@
border-top: @action-multiselect-tree-lines;
height: 1px;
top: @action-multiselect-menu-item__padding + @action-multiselect-tree-arrow__size/2;
width: @action-multiselect-tree-menu-item__margin-left + @action-multiselect-menu-item__padding;
width: @action-multiselect-tree-menu-item__margin-left;
}

// Vertical dotted line
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,6 @@

& > .admin__field-label {
#mix-grid .column(@field-label-grid__column, @field-grid__columns);
background: @color-white;
cursor: pointer;
left: 0;
position: absolute;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,24 @@
width: 34%;
}
}

//
// Mobile
// _____________________________________________

.media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) {
.block {
&.newsletter {
input {
font-size: 12px;
padding-left: 30px;
}

.field {
.control:before {
font-size: 13px;
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<fields>
<qty />
<attribute>
<selector>//div[@class="product-options"]//label[.="%s"]//following-sibling::*//select</selector>
<selector>//div[contains(@class, "product-options")]//div//label[.="%s"]//following-sibling::*//select</selector>
<strategy>xpath</strategy>
<input>select</input>
</attribute>
Expand Down

0 comments on commit 88ad7a6

Please sign in to comment.