This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-85a0aac8-5dca-49bb-95fa-bdad93745b3d XWIKI-25699 Open

Live Data creates a tooltip instance for every cell

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-eee53188-2cf4-407f-be21-0d9f65a23d94 Manuel Leduc created this issue on 09/Nov/26 14:55
 
Summary: Live Data creates a tooltip instance for every cell
Issue Type: cid:jira-generated-image-avatar-85a0aac8-5dca-49bb-95fa-bdad93745b3d Improvement
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Live Data
Created: 09/Nov/26 14:55
Priority: cid:jira-generated-image-static-major-827ed22f-aab6-4b97-887f-d95ed26ee938 Major
Reporter: Manuel Leduc
Description:

Every Live Data cell wraps its content in a Tippy component (BaseDisplayer.vue), which creates a tippy.js instance with follow-cursor and interactive options, even for cells that cannot be edited and never show a tooltip. Displaying a page of the Live Data creates and destroys one tooltip instance per cell.

Measured on 18.10.0-SNAPSHOT with a Live Data over 300 XObjects, 8 columns, 100 rows per page, production bundle, main-thread time only (server time excluded).

  • vue-tippy and tippy.js take about 160 ms of the about 490 ms (profiled) page change, about a third.
  • On a refresh with unchanged rows, re-rendering the tooltips takes about 90 ms.

Proposal: create the tooltip on demand, on the first interaction with a cell (hover or focus), instead of when the cell is displayed.

 
 

1 update

 
cid:jira-generated-image-avatar-eee53188-2cf4-407f-be21-0d9f65a23d94 Changes by Manuel Leduc on 09/Nov/26 14:55
 
Fix Version: 18.10.0-rc-1