Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add columns for Original/FS/Staged with differences if any #16

Open
C0rn3j opened this issue Mar 14, 2024 · 1 comment

Comments

@C0rn3j
Copy link

C0rn3j commented Mar 14, 2024

I am not sure if the following is possible with the current API, but I am hoping it is.

I am doing a random file optimizations against various document types.
Example: I take 900KB something.png, run it through my tools, and end up with 80KB something.png.
Now, it's fine and well visible within my tool log, but if I just wanted to view it later and better in VSC, I have no good way of doing so.

VSC itself has a KB view in the bottom right, but only for specific file formats and only for files currently in focus:
image

Hoping the file type is the good one and taping between the preview windows in the SC tab, looking to the bottom right, isn't exactly the best workflow.

Ideally, I would like to see it in the Changes list next to the state letter, but that doesn't seem too much in the spirit of this extension, so I thought how about adding an optional column(s) that would show differences if any?

i.e. Add a "Original/FS/Staged" instead of just a single "Value" column, with Staged taking biggest priority after FS in regards to the diff view.

image


Side note, would it be possible to unify the timestamps to ISO8601?

Currently some are YYYY-MM-DD and some are confusingly xx/yy/YYYY

I can open a proper separate issue if so.

image


Almost forgot, thanks a lot for implementing support for other file types from my last issue :)

@brunnerh
Copy link
Owner

brunnerh commented Mar 15, 2024

Everything is based on file operations, so to show differences, the old version of the files would probably have to be checked out temporarily so they can be analyzed. That would be both complicated and slow (especially for larger files).

I doubt that I will get around to implementing this.


Regarding the dates, everything under the media info heading is unprocessed (#17) but the dates at the top can be formatted using a setting.

I also like the ISO format, so my personal setting is this:

{
  "filePropertiesViewer.dateTimeFormat": "yyyy-mm-dd HH:MM:ss"
}

screenshot showing output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants