This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-4efe1ffb-ab80-4d23-87ef-8b7acc759984 XWIKI-25702 Open

Live Data footnotes are collected while rendering the cells

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-da05c706-7e86-40c3-a55d-984862ff95e2 Manuel Leduc created this issue on 09/Nov/26 14:55
 
Summary: Live Data footnotes are collected while rendering the cells
Issue Type: cid:jira-generated-image-avatar-4efe1ffb-ab80-4d23-87ef-8b7acc759984 Improvement
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Live Data
Created: 09/Nov/26 14:55
Priority: cid:jira-generated-image-static-major-37963e38-2dd9-4ced-bc70-fb62478a37e6 Major
Reporter: Manuel Leduc
Description:

Live Data footnotes (for instance the one explaining that some values cannot be viewed) are added to the footnotes list from inside computed properties of the cells (BaseDisplayer isViewable, DisplayerDocTitle html). Writing reactive state while computing invalidates the other cells that read the footnotes list and causes an extra update after each fetch.

The footnotes list also uses a key built from a prefix field that footnotes do not have, so every key ends with "undefined".

Proposal

  • Compute the needed footnotes once per entries update, outside the cell rendering.
  • Key the footnotes on a field they actually have.
 
 

1 update

 
cid:jira-generated-image-avatar-da05c706-7e86-40c3-a55d-984862ff95e2 Changes by Manuel Leduc on 09/Nov/26 14:55
 
Fix Version: 18.10.0-rc-1