I noticed when you have quite a lot of files changed in Code Compare view - it can significantly drop the page performance. Mainly it's because the view is rendering all the diff changes for all files at same time.
Could we improve this a bit? I would like to propose few solutions and try to argument which one to pick (if accepted) based on the complexity of UI work:
Expand only n first files diff, other files contents collapsed.
Introduce Infinite Scroll
Introduce right Sidebar with Tree-view diff folder structure and render only one file diff at a time
Other notable improvements would be:
attach the syntax highlighting to diffs only when in browser viewport (or just-in-time)
Robin Shen commented 4 months ago
It is possible to view change file by file, as well as filtering the changeset with folders or file patterns to make it smaller.
Hi @robin !
I noticed when you have quite a lot of files changed in
Code Compare
view - it can significantly drop the page performance. Mainly it's because the view is rendering all the diff changes for all files at same time.Could we improve this a bit? I would like to propose few solutions and try to argument which one to pick (if accepted) based on the complexity of UI work:
n
first files diff, other files contents collapsed.Other notable improvements would be: