Notes |
|
(0133311)
|
hgbot
|
2021-11-23 19:12
|
|
|
|
(0133478)
|
hgbot
|
2021-12-02 10:25
|
|
|
|
(0133778)
|
hgbot
|
2021-12-16 16:58
|
|
|
|
(0133779)
|
hgbot
|
2021-12-16 16:58
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^]
Changeset: d3645abc217a55e68fb995d4ee7c64d4c80ed833
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 16-12-2021 16:37:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/d3645abc217a55e68fb995d4ee7c64d4c80ed833 [^]
fixes ISSUE-48144: handle user action in progress with a stack
When a UIAction "A" was invoking another UIAction "B", for example
through a post-hook, when "B" finished the userActionInProgress was
being wrongly set to null.
Instead of that, we are now replacing the userActionInProgress state
property with inProgressStack. This new property contains the stack of
user actions being executed, being the user action currently in progress
the one at the top of the stack.
---
A web-jspack/org.openbravo.core2/src/core/user-action/__test__/UseUserActionInProgress.test.jsx
A web-jspack/org.openbravo.core2/src/core/user-action/useUserActionInProgress.js
A web-jspack/org.openbravo.core2/src/model/user-interface/__test__/UserActionInProgressStack.test.js
A web-jspack/org.openbravo.core2/src/model/user-interface/actions/UserActionInProgressStack.js
M web-jspack/org.openbravo.core2/src/components/BaseDialog/__test__/BaseDialog.test.jsx
M web-jspack/org.openbravo.core2/src/components/BasePopover/__test__/BasePopover.test.jsx
M web-jspack/org.openbravo.core2/src/components/BasePopover/stories/BasePopover.stories.jsx
M web-jspack/org.openbravo.core2/src/components/Scrim/UserActionScrim/UserActionScrim.jsx
M web-jspack/org.openbravo.core2/src/components/Scrim/UserActionScrim/__test__/UserActionScrim.test.jsx
M web-jspack/org.openbravo.core2/src/components/Scrim/UserActionScrim/stories/UserActionScrim.stories.jsx
M web-jspack/org.openbravo.core2/src/core/user-action/UserAction.js
M web-jspack/org.openbravo.core2/src/hooks/useLockableStackOrder/__test__/useLockableStackOrder.test.jsx
M web-jspack/org.openbravo.core2/src/hooks/useLockableStackOrder/useLockableStackOrder.js
M web-jspack/org.openbravo.core2/src/model/user-interface/UI.js
R web-jspack/org.openbravo.core2/src/model/user-interface/actions/SetUserActionInProgress.js
---
|
|
|
(0133780)
|
hgbot
|
2021-12-16 16:58
|
|
|
|
(0133781)
|
hgbot
|
2021-12-16 16:58
|
|
|