Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0049917 | POS2 | Core | public | 2022-08-01 09:28 | 2022-08-01 09:28 |
Reporter | cberner | ||||
Assigned To | Triage Platform Base | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0049917: Grid DetailRow elements are rerendered on almost any action | ||||
Description | DetailRow components provided to a DataGrid are rerendered due to them being a function that gets recalculated on each re-render of the parent or one of the siblings. This should be handled with a useMemo react hook if possible, to minimize the amount of re-renders that happen and reduce the impact on performance when the grid has many of this rows. An example of performance degradation can be found in Service Add Associations flow, explained in the steps to reproduce, but it is probably not the only case. | ||||
Steps To Reproduce | 1. Login WebPOS 2. Search for product GPS Handheld and add one 3. Click on the Related Services button of the GPS Handheld, and add any of the two products shown 4. Click on the service product added, and then on Add Associations. Check that selecting any row or collapsing one of them, is pretty slow on performance. | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2022-08-01 09:28 | cberner | New Issue | |||
2022-08-01 09:28 | cberner | Assigned To | => Retail | ||
2022-08-01 09:28 | cberner | Triggers an Emergency Pack | => No | ||
2022-08-01 09:28 | cberner | Assigned To | Retail => Triage Platform Base | ||
2022-08-01 09:28 | cberner | Category | POS => Core |
There are no notes attached to this issue. |