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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053212
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminorhave not tried2023-08-14 08:442023-08-14 08:57
ReporterAugustoMauchView Statuspublic 
Assigned Toablasco 
PrioritynormalResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053212: CSS classes to specify the current theme and theme mode are included in too many components, should be ThemeProvider only

DescriptionThe ThemeProvider component [1] is the one responsible for setting the classes related to the current theme and theme mode, with the intention of it being a wrapper over the rest of components.

But there are many other components (see [2], [3], [4]) that are including also some of that information, and as a consequence they are hardcoded to dark-mode. This classes should be included in a single place (ThemeProvider), and done in a way that makes it unnecessary to include them in other components.

[1] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/components/ThemeProvider/ThemeProvider.jsx [^]
[2] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/components/BaseDialog/BaseDialog.jsx [^]
[3] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/components/ErrorScreen/ErrorScreen.jsx [^]
[4] https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/blob/master/web-jspack/org.openbravo.core2/src/components/BaseTooltip/BaseTooltip.jsx [^]
Steps To ReproduceSee code mentioned above.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0053175 closedmeriem_azaf [React POS] Toggle between Dark and Light Theme 

-  Notes
(0153469)
AugustoMauch (manager)
2023-08-14 08:57

Will be fixed as part of 53175

- Issue History
Date Modified Username Field Change
2023-08-14 08:44 AugustoMauch New Issue
2023-08-14 08:44 AugustoMauch Assigned To => Triage Platform Base
2023-08-14 08:44 AugustoMauch Triggers an Emergency Pack => No
2023-08-14 08:45 AugustoMauch Assigned To Triage Platform Base => ablasco
2023-08-14 08:45 AugustoMauch Status new => scheduled
2023-08-14 08:57 AugustoMauch Note Added: 0153469
2023-08-14 08:57 AugustoMauch Status scheduled => closed
2023-08-14 08:57 AugustoMauch Resolution open => no change required
2023-08-14 08:57 AugustoMauch Relationship added related to 0053175


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker