Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0049917 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [POS2] Core | minor | have not tried | 2022-08-01 09:28 | 2022-08-01 09:28 | |||||||
Reporter | cberner | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | normal | Resolution | open | Fixed in Version | ||||||||
Status | new | 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 | 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. | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
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 |
Copyright © 2000 - 2009 MantisBT Group |