There are 3 updates, 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-033b3d26-5771-4510-a69e-1b9dc51e9a24 XWIKI-21224 Closed

Performance issue when click the view source button in the WYSIWYG editor

 
View issue   ยท   Add comment
 

3 updates

 
cid:jira-generated-image-avatar-c8c6d94f-e45e-4668-87b7-7cdeb936df0e Changes by Marius Dumitru Florea on 25/Jan/25 20:28
 
Resolution: Fixed
Tests: Integration
Status: In Progress Closed
 
 

1 comment

 
cid:jira-generated-image-avatar-c8c6d94f-e45e-4668-87b7-7cdeb936df0e Marius Dumitru Florea on 25/Jan/25 20:28
 

I moved the diff computation in a Web Worker, and I'm showing a notification message (if the diff computation takes more than 1s) that can be used to cancel the selection restore. The notification message also shows a progress bar, but the progress is currently fake. I had to update the realtime editing code as well because the same code is used to restore the selection after a remote change / patch is applied in a realtime editing session.