Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0048538 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [POS2] Core | major | have not tried | 2022-02-06 10:38 | 2022-02-19 11:48 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
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 | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0048538: Provide a way to re-render a component when a given property of the localstorage is updated | |||||||
Description | There may be components whose content depends on a value provided by the localstorage (OB.UTIL.localStorage.getItem). If the value for that item is updated on the local storage we would like the component to be rerendered, the same way it does when the state is updated if the component uses the useSelector hook. | |||||||
Steps To Reproduce | - | |||||||
Proposed Solution | Create a new react hook that, given a searchKey, will rerender a component if the value whose key is the given search is updated | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||||
|
![]() |
|
(0134800) hgbot (developer) 2022-02-06 11:50 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/698 [^] |
(0135141) hgbot (developer) 2022-02-19 11:48 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: a3d56fee571ffdf975dcaa0ec0216defd729221f Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 19-02-2022 11:47:39 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a3d56fee571ffdf975dcaa0ec0216defd729221f [^] Fixes ISSUE-48538: Merge branch 'fr/48538-useLocalStorage' --- A web-jspack/org.openbravo.core2/src/core/__test__/UseLocalStorage.test.jsx A web-jspack/org.openbravo.core2/src/core/useLocalStorage.js --- |
(0135142) hgbot (developer) 2022-02-19 11:48 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/698 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2022-02-06 10:38 | AugustoMauch | New Issue | |
2022-02-06 10:38 | AugustoMauch | Assigned To | => AugustoMauch |
2022-02-06 10:38 | AugustoMauch | OBNetwork customer | => No |
2022-02-06 10:38 | AugustoMauch | Triggers an Emergency Pack | => No |
2022-02-06 11:32 | AugustoMauch | Status | new => scheduled |
2022-02-06 11:32 | AugustoMauch | Relationship added | depends on 0048539 |
2022-02-06 11:50 | hgbot | Merge Request Status | => open |
2022-02-06 11:50 | hgbot | Note Added: 0134800 | |
2022-02-19 11:42 | hgbot | Merge Request Status | open => approved |
2022-02-19 11:48 | hgbot | Resolution | open => fixed |
2022-02-19 11:48 | hgbot | Status | scheduled => closed |
2022-02-19 11:48 | hgbot | Note Added: 0135141 | |
2022-02-19 11:48 | hgbot | Note Added: 0135142 | |
2022-02-24 16:07 | caristu | Relationship added | related to 0048671 |
Copyright © 2000 - 2009 MantisBT Group |