vscode-dvc icon indicating copy to clipboard operation
vscode-dvc copied to clipboard

Multiple commits: show commit information, other improvements

Open shcheklein opened this issue 3 years ago • 2 comments

After implementing multiple commits logic we can start improving the UX a bit.

Hash as a name is not informative. It's not even clear if that is a commit or an experiment.

For commits we have more information - author, commit name, tags, etc.

I think if we have tags, we should show them. If not, we should show the commit message (any part of the message is better vs hash).Tooltip should include everything else - author names, etc. Eventually going into a direction of tooltips that GitLens has.

shcheklein avatar Sep 24 '22 19:09 shcheklein

Related https://github.com/iterative/vscode-dvc/issues/2476

shcheklein avatar Sep 27 '22 23:09 shcheklein

Related to https://github.com/iterative/vscode-dvc/issues/1966

mattseddon avatar Oct 11 '22 02:10 mattseddon

From what I understand about the dvc exp show output, the output provides us with the commit sha but no other information about the commit. Two ways I looked into for getting the commit information is the Github REST API and using git log with a --pretty flag.

The attempt I'm currently working on is using git log since we already have logic set up for running internal git commands. I was thinking of adding on to our rendered experiments data, including the needed commit data as well 🤔

julieg18 avatar Dec 21 '22 00:12 julieg18

@julieg18 thanks for the update. git CLI sounds good to me.

shcheklein avatar Dec 21 '22 05:12 shcheklein