History panel should be configurable #11371
-
At View > History, you can open up the Git log in the Theia UI. Great feature. However, if you happen to have more than a hundred commits, it becomes extremely slow and makes the IDE interface unusable until all commits and changes within are rendered in the panel. I could not find a way to make this configurable (in 90% of the cases you really should only care about the 10 latest commits right?) while I'm fairly certain it'd make a huge difference performance wise. Could it be something for Theia to implement? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@anavarre thank you for the discussion, from what I understand we should limit theia/packages/scm-extra/src/browser/history/scm-history-widget.tsx Lines 400 to 417 in 0a960a6 I believe there might be a bug where it is not respected properly at the moment, but we should support the mechanism of passing around the |
Beta Was this translation helpful? Give feedback.
-
Key takeways from this discussion:
|
Beta Was this translation helpful? Give feedback.
@anavarre thank you for the discussion, from what I understand we should limit
100
entries, and perhaps prompt to load more:theia/packages/scm-extra/src/browser/history/scm-history-contribution.ts
Line 31 in 0a960a6
theia/packages/scm-extra/src/browser/history/scm-history-widget.tsx
Lines 400 to 417 in 0a960a6