desktop / desktop/desktop

Feature request: show image previews for images tracked by lfs

Open
#2,981 4 comments 24 reactions 0 assignees View on GitHub
enhancement not-planned
Dominant language
TypeScript
Stars
21.8k
Forks
10.5k
Avg merge
1d 15h
Merged PRs (30d)
25

Description

I suspect this has already been suggested/closed/written down somewhere, but I didn't find anything after a cursory search, so:

Basically, bring the GitHub site and original GitHub Desktop functionality to the cool new GitHub Desktop
- Show image previews of lfs-tracked images as if they were plain image files
- Show image preview when file is selected in Changes list or commit list
- Show two images when displaying a diff with the four image diff modes
- Indicate that the file is tracked in LFS with a badge, or maybe just by showing the LFS pointer file contents
- Show a "Pull LFS File" button if the file does not exist locally (never downloaded, pruned, etc)

Mockup for if you have the image locally:
haslocalcontent

If the file does not exist locally:
nolocalcontent

In a diff:
nolocaldiff
(Not sure about the 4 image diff options when both files aren't present; I just grayed them out but there's probably a better solution)

This would make using GitHub Desktop much more intuitive for artists or anyone dealing with images.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.