sindresorhus/refined-github

How are the preview screenshots done? #4163

SirWindfield posted onGitHub

I just noticed that clicking the screenshot button from the extension's settings page opens github with a screenshot next to the latest commit that changed that file:

image

Can this be used by users somehow? For example, could I also provide those previews for people that have refined github installed?


This is one of our new meta-features: rgh-feature-descriptions if I remember correctly. Our meta features are only enabled on our own repo and the data is actually bundled into the extension itself, with the screenshots stored as URL.

This type of feature could never be applied to 3rd parties because it would require querying every single repo when it would probably only be used by a handful of them.

posted by fregante about 4 years ago

Thanks!

posted by SirWindfield about 4 years ago

Fund this Issue

$0.00
Funded

Pull requests