Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049917
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coreminorhave not tried2022-08-01 09:282022-08-01 09:28
ReportercbernerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049917: Grid DetailRow elements are rerendered on almost any action

DescriptionDetailRow 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 Reproduce1. 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker