Openbravo Issue Tracking System - POS2
View Issue Details
0050028POS2Corepublic2022-08-23 09:252022-11-10 12:00
AugustoMauch 
ablasco 
normalmajorhave not tried
closedfixed 
5
 
23Q1 
No
0050028: It would be convenient if DrawerMenu includes a section that contains buttons in the header
As part of the portrait mode project [1], some of the buttons that used to be on the top of the screen will now be part of the drawer menu.

To support this, the DrawerMenu.jsx component needs to be updated to include this new section. The list of buttons will be provided in the same .config.json as the menu options on a new property (i.e. headerButtons).

See attached mockup.



[1] https://docs.google.com/document/d/1oJX6QGaMzfuzT8ZCmbsBoYvYdHGcr4ZRNGvpEo7PIhY/edit?usp=drive_web&ouid=111123098473301044519 [^]
-
No tags attached.
blocks feature request 0050400 scheduled ablasco Portrait mode support 
png DrawerMenuWithHeaderButtons.png (56,293) 2022-08-23 09:26
https://issues.openbravo.com/file_download.php?file_id=17418&type=bug
png
Issue History
2022-08-23 09:25AugustoMauchNew Issue
2022-08-23 09:25AugustoMauchAssigned To => ablasco
2022-08-23 09:25AugustoMauchTriggers an Emergency Pack => No
2022-08-23 09:26AugustoMauchDescription Updatedbug_revision_view_page.php?rev_id=24648#r24648
2022-08-23 09:26AugustoMauchFile Added: DrawerMenuWithHeaderButtons.png
2022-08-26 15:15hgbotNote Added: 0140438
2022-10-04 09:56hgbotNote Added: 0141626
2022-10-04 10:50ablascoRelationship addedblocks 0050400
2022-10-04 11:04ablascoStatusnew => scheduled
2022-11-10 12:00hgbotResolutionopen => fixed
2022-11-10 12:00hgbotStatusscheduled => closed
2022-11-10 12:00hgbotNote Added: 0143372
2022-11-10 12:00hgbotFixed in Version => 23Q1
2022-11-10 12:00hgbotNote Added: 0143373
2022-11-10 12:00hgbotNote Added: 0143374
2022-11-10 12:00hgbotNote Added: 0143375

Notes
(0140438)
hgbot   
2022-08-26 15:15   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/824 [^]
(0141626)
hgbot   
2022-10-04 09:56   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1242 [^]
(0143372)
hgbot   
2022-11-10 12:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/824 [^]
(0143373)
hgbot   
2022-11-10 12:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: dc1d6380a0424ef8b69bd119858cc7ecf3817d4a
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 10-11-2022 11:57:10
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/dc1d6380a0424ef8b69bd119858cc7ecf3817d4a [^]

Fixes ISSUE-50028: Updates drawer menu to support portrait mode

If configured, the drawer menu will include the buttons defined in the
status bar. The status bar component has been updated to support
displaying its contents in several rows to support two columns per row.

---
A web-jspack/org.openbravo.core2/src/components/DrawerMenu/__mock__/Drawer.portrait.config.json
A web-jspack/org.openbravo.core2/src/components/DrawerMenu/__mock__/DrawerMenu.portrait.config.json
M web-jspack/org.openbravo.core2/src/components/BaseGridLayout/BaseGridLayout.jsx
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/DrawerMenu.jsx
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/DrawerMenu.scss
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/__mock__/DrawerMenu.mock.scss
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/__test__/DrawerMenu.test.jsx
M web-jspack/org.openbravo.core2/src/components/DrawerMenu/stories/DrawerMenu.stories.jsx
M web-jspack/org.openbravo.core2/src/components/SettingsButton/SettingsMenu.jsx
M web-jspack/org.openbravo.core2/src/components/StatusBar/StatusBar.jsx
M web-jspack/org.openbravo.core2/src/ob-init.js
---
(0143374)
hgbot   
2022-11-10 12:00   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 56e0b6c9c61e93f5475d1045bf27bba9d8a2eddd
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 10-11-2022 11:59:47
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/56e0b6c9c61e93f5475d1045bf27bba9d8a2eddd [^]

Related to ISSUE-50028: Updates POS2 menu configuration in portrait mode

For now only the Sell and the Settings window will be available.For now only the Sell and the Settings window will be available.

---
A web-jspack/org.openbravo.pos2/src/components/Drawer/config/DrawerMenu.portrait.config.json
M web-jspack/org.openbravo.pos2/src/components/Drawer/DrawerMenu.config.json
M web-jspack/org.openbravo.pos2/src/ob-init.js
---
(0143375)
hgbot   
2022-11-10 12:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1242 [^]