Openbravo Issue Tracking System - POS2
View Issue Details
0050055POS2POSpublic2022-08-24 17:522022-08-26 11:29
javierRodriguez 
javierRodriguez 
normalminoralways
closedfixed 
5
 
22Q4 
guilleaer
No
0050055: There is not possibility to add more than 7 components inside Add product toolbar component
Add product toolbar component has hardcoded the max amount of component which can be render inside it.
Try to add 8 components to render
Move this max value to the config file to be able to overwrite from other module.
No tags attached.
related to defect 005009924Q2 closed jonae When the numButtons property is not informed in the configuration file, the toolbar is not shown 
Issue History
2022-08-24 17:52javierRodriguezNew Issue
2022-08-24 17:52javierRodriguezAssigned To => Retail
2022-08-24 17:52javierRodriguezTriggers an Emergency Pack => No
2022-08-24 17:55javierRodriguezAssigned ToRetail => javierRodriguez
2022-08-24 17:55javierRodriguezStatusnew => scheduled
2022-08-24 17:59javierRodriguezNote Added: 0140377
2022-08-25 20:39hgbotResolutionopen => fixed
2022-08-25 20:39hgbotStatusscheduled => resolved
2022-08-25 20:39hgbotFixed in Version => 22Q4
2022-08-25 20:39hgbotNote Added: 0140406
2022-08-26 08:11guilleaerReview Assigned To => guilleaer
2022-08-26 08:11guilleaerStatusresolved => closed
2022-08-26 11:29hgbotNote Added: 0140425
2022-08-29 16:58jonaeRelationship addedrelated to 0050099

Notes
(0140377)
javierRodriguez   
2022-08-24 17:59   
MR: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1149 [^]
(0140406)
hgbot   
2022-08-25 20:39   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: f76a438b2221fbd9cd2ea76b9ddabd7273d67e13
Author: Javier Rodríguez Regueiro <javier.rodriguez@openbravo.com>
Date: 25-08-2022 18:39:55
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/f76a438b2221fbd9cd2ea76b9ddabd7273d67e13 [^]

Fixed ISSUE-50055: [add-product-toolbar] Refactor addproduct toolbar to use num buttons from configuration file

---
M web-jspack/org.openbravo.pos2/src/components/AddProductToolbar/AddProductToolbar.config.json
M web-jspack/org.openbravo.pos2/src/components/AddProductToolbar/AddProductToolbar.jsx
M web-jspack/org.openbravo.pos2/src/components/AddProductToolbar/AddProductToolbar.scss
M web-jspack/org.openbravo.pos2/src/components/AddProductToolbar/__test__/AddProductToolbar.test.jsx
---
(0140425)
hgbot   
2022-08-26 11:29   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: aa967e6a312d7abd2ada03a5fa63a06a82453ce7
Author: Javier Rodriguez Regueiro <javier.rodriguez@openbravo.com>
Date: 26-08-2022 11:29:40
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/aa967e6a312d7abd2ada03a5fa63a06a82453ce7 [^]

Related to ISSUE-50055: Fix add product toolbar config files

---
M web-jspack/org.openbravo.pos2/src/components/AddProductToolbar/mock/ExpandableSearchInputProductToolbar.config.json
M web-jspack/org.openbravo.pos2/src/components/AddProductToolbar/mock/FullAddProductToolbar.config.json
M web-jspack/org.openbravo.pos2/src/components/AddProductToolbar/mock/GapsAddProductToolbar.config.json
M web-jspack/org.openbravo.pos2/src/components/AddProductToolbar/mock/SimpleAddProductToolbar.config.json
---