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 think this works as designed: the "Uncommitted Changes" from Git is probably always updating when you save and is more recent than the actual save event.
Roughly as designed, but could be smoother. Maybe if we had a way to denote at an API level that an event is "current" rather than historical. Or maybe we shouldn't even have the "uncommitted changes" entry now that we have local file history.
I agree, I don't think "uncommitted changes" should be a history entry at all. It's not a historical event. You might have uncommitted changes, but itself is not a change like everything else the timeline shows. Perhaps have a "diff" action in the Timeline title instead.
Especially now that we have local history enabled, there will always be an entry for local history above the last committ, so the information is redundant.
Benjamin Pasero (@bpasero) Removed the Uncommitted Changes timeline entries for RemoteHub. I kept the Staged Changes timeline entry though, since that is a historical event and it looks like we also kept those for the git extension.
This change has actually caught me off guard. While I like the idea for the "Local History" in general, It's sometimes too granular and I'd like to view all the changes since the last commit. Imho, the "Uncommited Changes" entry should be shown when "local history" is disabled, or it should be configurable by settings.
Reacted by Tony Perri, Jorge R. Sarabia, Carmen Bello, Konsta M, andrejartistika, Charlotte Thomas, The Volatile Bit, mpdavison, seb-glanum and Michael Jones
Activity
IllusionMH commentedon Mar 22, 2022
Just in case: this is not specific to web version and can be reproduced in Desktop as well.
bpasero commentedon Mar 22, 2022
I think this works as designed: the "Uncommitted Changes" from Git is probably always updating when you save and is more recent than the actual save event.
Jackson Kearl (@JacksonKearl) would you agree this works as intended?
JacksonKearl commentedon Mar 22, 2022
Roughly as designed, but could be smoother. Maybe if we had a way to denote at an API level that an event is "current" rather than historical. Or maybe we shouldn't even have the "uncommitted changes" entry now that we have local file history.
connor4312 commentedon Mar 22, 2022
I agree, I don't think "uncommitted changes" should be a history entry at all. It's not a historical event. You might have uncommitted changes, but itself is not a change like everything else the timeline shows. Perhaps have a "diff" action in the Timeline title instead.
bpasero commentedon Mar 23, 2022
I really like the idea to not have "Uncommitted Changes" at all. It seems to originate from the git extension:
vscode/extensions/git/src/timelineProvider.ts
Line 228 in 2626c7f
Especially now that we have local history enabled, there will always be an entry for local history above the last committ, so the information is redundant.
Lets do this.
[-]Local History - entry is added to the top, and then moved[/-][+]Remove "Uncomitted Changes" in timeline[/+]bpasero commentedon Mar 23, 2022
Joyce Er (@joyceerhl) not sure whether we want to remove those for remotehub extension as well:
https://github.dev/microsoft/vscode-remotehub/blob/68fa1962af31c0d1b84044735feff2d98af32a4b/extensions/remotehub/src/timelineProvider.ts#L126-L128
joyceerhl commentedon Mar 25, 2022
Benjamin Pasero (@bpasero) Removed the Uncommitted Changes timeline entries for RemoteHub. I kept the Staged Changes timeline entry though, since that is a historical event and it looks like we also kept those for the git extension.
bpasero commentedon Mar 26, 2022
Thanks!
maurobalbi commentedon Mar 31, 2022
This change has actually caught me off guard. While I like the idea for the "Local History" in general, It's sometimes too granular and I'd like to view all the changes since the last commit. Imho, the "Uncommited Changes" entry should be shown when "local history" is disabled, or it should be configurable by settings.
bpasero commentedon Mar 31, 2022
Can you report a new feature request for this?