Openbravo Issue Tracking System - POS2
View Issue Details
0053352POS2Corepublic2023-08-31 15:152023-09-01 08:48
dbaz 
Retail 
normaltrivialalways
closedfixed 
5
 
23Q4 
No
0053352: Update default dark/light mode, from dark to light
Now that the light mode has been properly configured, we can upgrade the default value from dark to light when creating a new Touchpoint Type.

When the touchpoint type information is not yet available (i.e. on before first login after clearing cache), we should use the light Mode
Configure the SO to use light mode
Clean caché, open POS2
- Light theme should be used

Configure the SO to use dark mode
Clean caché, open POS2
- Light theme should be used

- Open the backoffice
- Open the Touchpoint Type window. Create a new record. The default value for the Theme Mode should be "Light by default, configurable by the user"
No tags attached.
related to feature request 0053345 scheduled meriem_azaf When there is no logged user, the UI mode should be the one from the OS 
Issue History
2023-08-31 15:15dbazNew Issue
2023-08-31 15:15dbazAssigned To => Retail
2023-08-31 15:15dbazTriggers an Emergency Pack => No
2023-08-31 15:15dbazNote Added: 0154255
2023-08-31 15:15dbazRelationship addedrelated to 0053345
2023-08-31 15:20hgbotNote Added: 0154256
2023-08-31 15:21hgbotNote Added: 0154257
2023-08-31 15:21dbazSummaryWhen there is no logged user, the UI mode should be the one of the OS => When there is no logged user, the UI mode should be the Light one
2023-08-31 15:23dbazTypedesign defect => feature request
2023-08-31 15:23dbazSummaryWhen there is no logged user, the UI mode should be the Light one => Update default dark/light mode, from dark to light
2023-08-31 15:23dbazDescription Updatedbug_revision_view_page.php?rev_id=26742#r26742
2023-08-31 15:23dbazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26744#r26744
2023-08-31 15:23dbazNote Deleted: 0154255
2023-09-01 08:48hgbotResolutionopen => fixed
2023-09-01 08:48hgbotStatusnew => closed
2023-09-01 08:48hgbotFixed in Version => 23Q4
2023-09-01 08:48hgbotNote Added: 0154323
2023-09-01 08:48hgbotNote Added: 0154324
2023-09-01 08:48hgbotNote Added: 0154325
2023-09-01 08:48hgbotNote Added: 0154326

Notes
(0154256)
hgbot   
2023-08-31 15:20   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1232 [^]
(0154257)
hgbot   
2023-08-31 15:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2059 [^]
(0154323)
hgbot   
2023-09-01 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2059 [^]
(0154324)
hgbot   
2023-09-01 08:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 014df3ef77283fb88218c9dd74c0fdfd559a5589
Author: David Baz Fayos <david.baz@openbravo.com>
Date: 01-09-2023 06:48:03
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/014df3ef77283fb88218c9dd74c0fdfd559a5589 [^]

Fixed ISSUE-53352: Now when there is no logged user, the UI mode is the Light one

---
M src-db/database/model/modifiedTables/OBPOS_TERMINALTYPE.xml
M src-db/database/model/tables/OBPOS2_USER_TTYPE_CONFIG.xml
---
(0154325)
hgbot   
2023-09-01 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1232 [^]
(0154326)
hgbot   
2023-09-01 08:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: f27d3c7accd7661316abe77d66a011051c83e902
Author: David Baz Fayos <david.baz@openbravo.com>
Date: 31-08-2023 15:19:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/f27d3c7accd7661316abe77d66a011051c83e902 [^]

Fixed ISSUE-53352: Now when there is no logged user, the UI mode is the Light one

---
M web-jspack/org.openbravo.core2/src/components/ThemeProvider/ThemeProvider.jsx
M web-jspack/org.openbravo.core2/src/components/ThemeProvider/__test__/ThemeProvider.test.jsx
---