You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working with a codebase that's pretty old and some commit diffs are covering thousands of lines.
Because of that just selecting between files in a commit takes between 2-3 secs until the preview updates. In some rare cases if i selected too fast the preview no longer updated and i had to do a quick unselect and re-select
I wonder if it is possible that instead of loading the whole file at once, it loads it in chunks. For example the first 200 lines and then it shows it. Then the more you scroll the more lines it will load. Hopefully with this approach it would feel more snappy
I also wonder if the green/red git color changes might be related to why is the preview taking this long.
Another thing which i assume it could be the cause is word highlight. I am not sure if it can have a noticeable impact on such as a big diff. I am actually not using it and i configured AddedHighlight and AddedBG to the same color to achieve that. But probably the logic for word highlight is still happening. Maybe would be nice to be skippable
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am working with a codebase that's pretty old and some commit diffs are covering thousands of lines.
Because of that just selecting between files in a commit takes between 2-3 secs until the preview updates. In some rare cases if i selected too fast the preview no longer updated and i had to do a quick unselect and re-select
I wonder if it is possible that instead of loading the whole file at once, it loads it in chunks. For example the first 200 lines and then it shows it. Then the more you scroll the more lines it will load. Hopefully with this approach it would feel more snappy
I also wonder if the green/red git color changes might be related to why is the preview taking this long.
Another thing which i assume it could be the cause is word highlight. I am not sure if it can have a noticeable impact on such as a big diff. I am actually not using it and i configured
AddedHighlightandAddedBGto the same color to achieve that. But probably the logic for word highlight is still happening. Maybe would be nice to be skippableBeta Was this translation helpful? Give feedback.
All reactions