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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048481
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[POS2] Coremajoralways2022-01-25 16:132022-02-11 15:02
Reporterjorge-garciaView Statuspublic 
Assigned Toelara 
PrioritynormalResolutionfixedFixed 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

0048481: ServerStatusButton popover actions styles cannot be modified by CSS

DescriptionServerStatusButton popover actions styles cannot be modified by CSS

If passing renderCustomButtons as a prop of the component with several Settings elements to render, elements are rendered in a row (display:flex, flex-direction: row (default)

There is no way of changing this behavior from outside the component
Steps To ReproduceCreate a component using ServerStatusButtonActions function to render several Setting options using renderCustomButtons prop (verify cssError.png file)

Verify two things:
1 - All setting options are rendered in a row (making them not reachable)
2 - Popover overlay does not go until the end of the popover placeholder

Proposed SolutionAllow as a prop the ability to change div generated by renderCustomButtons function

erverStatusButton.jsx

 const ServerStatusButton = ({
   icon,
   serverName,
   label,
   popOverTitle,
   tryOnlineTransition,
   showPendingButton,
   renderCustomButtons,
   showPopoverInOnline
+variantClass
 }) => {

y en esta parte

return (
    <>
      <BaseButton
        variantClass="obc2ServerStatus"

- variantClass="obc2ServerStatus"
+ variantClass=`${variantClass} obc2ServerStatus`

TagsNo tags attached.
Attached Filespng file icon cssError.png [^] (26,416 bytes) 2022-01-25 16:13

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 0048503 closedelara JIRA 2657 - On Web POS pager configuration popin is not correctly displayed 

-  Notes
(0134796)
hgbot (developer)
2022-02-05 00:42

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/697 [^]
(0134931)
hgbot (developer)
2022-02-11 15:02

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: dc8eba40cd3bcb1c088c26b8e921434413669110
Author: Eduardo Lara <eduardo.lara@smfconsulting.es>
Date: 11-02-2022 14:02:18
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/dc8eba40cd3bcb1c088c26b8e921434413669110 [^]

Fixes ISSUE-48481: Added variantClass prop to ServerStatusButton.jsx

---
M web-jspack/org.openbravo.core2/src/components/StatusBar/ServerStatusButton.jsx
M web-jspack/org.openbravo.core2/src/components/StatusBar/ServerStatusButton.scss
---
(0134932)
hgbot (developer)
2022-02-11 15:02

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

- Issue History
Date Modified Username Field Change
2022-01-25 16:13 jorge-garcia New Issue
2022-01-25 16:13 jorge-garcia Assigned To => Triage Platform Base
2022-01-25 16:13 jorge-garcia File Added: cssError.png
2022-01-25 16:13 jorge-garcia Triggers an Emergency Pack => No
2022-01-31 18:04 guilleaer Relationship added has duplicate 0048503
2022-01-31 18:04 guilleaer Proposed Solution updated
2022-02-03 15:21 elara Assigned To Triage Platform Base => elara
2022-02-03 15:25 elara Status new => scheduled
2022-02-05 00:42 hgbot Note Added: 0134796
2022-02-11 15:02 hgbot Resolution open => fixed
2022-02-11 15:02 hgbot Status scheduled => closed
2022-02-11 15:02 hgbot Note Added: 0134931
2022-02-11 15:02 hgbot Note Added: 0134932


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker