Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048481 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
design defect | [POS2] Core | major | always | 2022-01-25 16:13 | 2022-02-11 15:02 | |||
Reporter | jorge-garcia | View Status | public | |||||
Assigned To | elara | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048481: ServerStatusButton popover actions styles cannot be modified by CSS | |||||||
Description | ServerStatusButton 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 Reproduce | Create 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 Solution | Allow 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` | |||||||
Tags | No tags attached. | |||||||
Attached Files | cssError.png [^] (26,416 bytes) 2022-01-25 16:13
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
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 |