This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7631c83f-fe13-478e-baf8-c17ea91d5ac2 XWIKI-25703 Open

Switching a Live Data to edit mode re-renders every row and cell

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-b2eff960-0365-40f6-b7a7-e508359610b2 Manuel Leduc created this issue on 09/Nov/26 14:55
 
Summary: Switching a Live Data to edit mode re-renders every row and cell
Issue Type: cid:jira-generated-image-avatar-7631c83f-fe13-478e-baf8-c17ea91d5ac2 Improvement
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Live Data
Created: 09/Nov/26 14:55
Priority: cid:jira-generated-image-static-major-66bc38d3-31db-409e-85b4-12357d647c30 Major
Reporter: Manuel Leduc
Description:

Entering or leaving the Live Data edit mode re-renders every row and every cell: each cell reads the edit mode through isPropertyVisible (v-show), each row through logic.isEditMode(), and each BaseDisplayer through its own isEditMode. With 15 rows and 6 columns that is about 195 component updates for a mode switch.

Proposal: compute the visibility once per column and expose the edit mode through a class on the layout, so that cells do not depend on it individually.

 
 

1 update

 
cid:jira-generated-image-avatar-b2eff960-0365-40f6-b7a7-e508359610b2 Changes by Manuel Leduc on 09/Nov/26 14:55
 
Fix Version: 18.10.0-rc-1