Openbravo Issue Tracking System - Retail Modules | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0034818 | Retail Modules | Web POS | public | 2016-12-23 11:07 | 2016-12-24 23:08 | ||||||||||||||
| Reporter | guilleaer | ||||||||||||||||||
| Assigned To | Retail | ||||||||||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||||||||||
| Status | new | Resolution | open | ||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||
| Product Version | |||||||||||||||||||
| Target Version | Fixed in Version | ||||||||||||||||||
| Merge Request Status | |||||||||||||||||||
| Review Assigned To | |||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||
| Support ticket | |||||||||||||||||||
| 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 | ||||||||||||||||||
| Additional Information | |||||||||||||||||||
| Tags | No tags attached. | ||||||||||||||||||
| Relationships |
| ||||||||||||||||||
| Attached Files | |||||||||||||||||||
| 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 | OBNetwork customer | => No | ||||||||||||||||
| 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 | ||||||||||||||||
| There are no notes attached to this issue. |