Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052348
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSminorhave not tried2023-05-04 11:532023-05-11 06:47
ReporterdbazView Statuspublic 
Assigned Todcontrera 
PrioritynormalResolutionfixedFixed in Version23Q3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052348: The width of the receipt should be higher with wider aspect ratios

DescriptionThe minimum value of the width of the receipt should be 35 rem, and it should happen when the aspect ratio is 4:3. Lower aspect ratio will continue having a width of 35rem

The maximum value of the width of the receipt should be 47.4rem, and it should happen when the aspect ratio is 16:9. Higher aspect ratios will continue having a width of 47.4rem

When the aspect ratio is between 4:3 and 16:9, the width should be proportional between 35rem and 47.4rem, which entails a variable width of 36.7%

In order to do that, ensure that the configurable layout that builds obpos2MainPOSApp, that currently is defined as:
   35rem 1fr
is changed to be defined as
   clamp(35rem, 36.7%, 47.4rem) 1fr
Steps To Reproduce.
Proposed SolutionIn order to do that, ensure that the configurable layout that builds obpos2MainPOSApp, that currently is defined as:
   35rem 1fr
is changed to be defined as
   clamp(35rem, 36.7%, 47.4rem) 1fr
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0149292)
dbaz (viewer)
2023-05-04 11:54

NOTE: This MR will require the UX: approved tag
(0149450)
dbaz (viewer)
2023-05-08 20:19

diff --git a/web-jspack/org.openbravo.pos2/src/components/MainPOSApp/MainPOSApp.config.json b/web-jspack/org.openbravo.pos2/src/components/MainPOSApp/MainPOSApp.config.json
index af44f2da6..e19ab9114 100644
--- a/web-jspack/org.openbravo.pos2/src/components/MainPOSApp/MainPOSApp.config.json
+++ b/web-jspack/org.openbravo.pos2/src/components/MainPOSApp/MainPOSApp.config.json
@@ -5,7 +5,7 @@
   "handOperation": "Any",
   "variantClass": "obpos2MainPOSApp obpos2MainPOSApp_Ticket",
   "columnCustomSizes": {
- "1": "35rem"
+ "1": "clamp(35rem, 36.7%, 47.4rem)"
   },
   "rowCustomSizes": {
     "1": "auto",
@@ -55,4 +55,4 @@
       "variantClass": "obpos2MainPOSApp-content"
     }
   ]
-}
\ No newline at end of file
+}
(0149523)
hgbot (developer)
2023-05-09 21:45

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1774 [^]
(0149586)
hgbot (developer)
2023-05-11 06:47

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 8f8c419d89080b89a7c08a00bf9962b8c10dd4ef
Author: Dante Contrera <dante.contrera@smfconsulting.es>
Date: 11-05-2023 04:47:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/8f8c419d89080b89a7c08a00bf9962b8c10dd4ef [^]

Fixed ISSUE-52348: The width of the receipt should be higher with wider aspect ratios

---
M web-jspack/org.openbravo.pos2/src/components/MainPOSApp/MainPOSApp.config.json
---
(0149587)
hgbot (developer)
2023-05-11 06:47

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1774 [^]

- Issue History
Date Modified Username Field Change
2023-05-04 11:53 dbaz New Issue
2023-05-04 11:53 dbaz Assigned To => Retail
2023-05-04 11:53 dbaz OBNetwork customer => No
2023-05-04 11:53 dbaz Triggers an Emergency Pack => No
2023-05-04 11:54 dbaz Note Added: 0149292
2023-05-08 20:19 dbaz Note Added: 0149450
2023-05-09 13:19 guillermogil Assigned To Retail => dcontrera
2023-05-09 21:45 hgbot Merge Request Status => open
2023-05-09 21:45 hgbot Note Added: 0149523
2023-05-10 08:51 hgbot Merge Request Status open => approved
2023-05-10 08:51 hgbot Merge Request Status approved => open
2023-05-11 06:45 hgbot Merge Request Status open => approved
2023-05-11 06:47 hgbot Resolution open => fixed
2023-05-11 06:47 hgbot Status new => closed
2023-05-11 06:47 hgbot Fixed in Version => 23Q3
2023-05-11 06:47 hgbot Note Added: 0149586
2023-05-11 06:47 hgbot Note Added: 0149587


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker