microsoft / sarif-vscode-extension

SARIF Microsoft Visual Studio Code extension
MIT License
110 stars 49 forks source link

`LOGS (1)` tab seems useless #541

Open jsoref opened 9 months ago

jsoref commented 9 months ago

I can open the results pane and select the logs tab, and I see this:

image

I can select 154885186 and I can select api.github.com. I have no idea what that number is.

There's also an x for "Close Log", but that doesn't really make sense, because, as an end user, I never "opened" a log.

And as a list, it kind of implies that I could actually open multiple logs concurrently, but it definitely isn't obvious how to do this (I'd love to be able to do that, as I generally have a baseline, a branch, and a PR, so I probably have 4 possible points to imagine if you think about a diamond -- branch point, base for PR, head for branch, merge candidate)

As an end user (and it might take me a while to find that hat, but trust me, it's somewhere lying around), I should not have to guess what a random number is.

Clicking the text doesn't do anything exciting.

I can right click and there's a Cut menu item, which does not function as a Cut menu item:

image

As a developer (and frankly, at this point, anyone using the SARIF extension probably is), I'd love to see raw http requests and responses (maybe sanitized to omit credentials if that's a concern). As a GitHub Action developer, I'd love to see any GraphQL that's been sent to GitHub and any response to that GraphQL.

jsoref commented 2 months ago

If you manually open logs using the folder button at the top right of the pane, you can end up with:

image

Notes:

  1. I'd love to be able to copy the file path (again, copy does nothing here)
  2. cut is still useless
  3. pasting is still useless -neither pasting the path to a sarif file nor pasting the contents of a sarif file do anything