Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0034818 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | minor | always | 2016-12-23 11:07 | 2016-12-24 23:08 | |||||||
Reporter | guilleaer | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0034818: [UX] Font Resize Mechanism used by "Render Product Line" component is not the same used by "Render Order Line" component | |||||||||||
Description | Font Resize Mechanism used by "Render Product Line" component is not the same used by "Render Order Line" component. It would be great -if it is possible- to use the same approach. It will simplify the code and will give to the "Render Product Line" component an advanced behavior | |||||||||||
Steps To Reproduce | N/A | |||||||||||
Proposed Solution | Render Product Line component was refactored in issue 34619. However the algorithm used to resize the font for the price is quite simple: Font size of the price is just reduced when this condition match var shouldResizeWork = ((enyo.Panels.isScreenNarrow() && document.body.clientWidth <= 445) || (!enyo.Panels.isScreenNarrow() && document.body.clientWidth <= 874)); together with this one: OB.I18N.formatCurrency(this.model.get('currentStandardPrice')).length > 11 && !searchTab && !hideProductImages && shouldResizeWork | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |||||||||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
2016-12-23 11:07 | guilleaer | New Issue | |
2016-12-23 11:07 | guilleaer | Assigned To | => Retail |
2016-12-23 11:07 | guilleaer | Triggers an Emergency Pack | => No |
2016-12-23 11:11 | guilleaer | Relationship added | related to 0034619 |
2016-12-24 23:07 | dbaz | Summary | Font Resize Mechanism used by "Render Product Line" component is not the same used by "Render Order Line" component => [UX] Font Resize Mechanism used by "Render Product Line" component is not the same used by "Render Order Line" component |
2016-12-24 23:08 | dbaz | Relationship added | blocks 0034538 |
Copyright © 2000 - 2009 MantisBT Group |