uliwitness / Stacksmith

An intuitive software erector kit targeted at people new to programming, but with enough potential to stay useful once they've learned, inspired by HyperCard.
http://stacksmith.org
131 stars 13 forks source link

Revisit how we save card previews #99

Open uliwitness opened 5 years ago

uliwitness commented 5 years ago

Currently, we save card previews into the file package as image files. This is annoying if you keep stacks in version control, because the thumbnail might change due to different screen resolutions or dark mode setting, opening on a different platform, not actual changes.

The original idea was to show these previews on the stack icon with QuickLook, but we don't do this right now. Can we fix this? Can we pick a single stack and card to show there?

Also, can we give people who use version control an easy way to omit such content that is just generated from other parts of the project? Maybe put them all into a ".stack_cache" folder They can put in their .gitignore ?

Also, could we make preview generation a more centralized thing? We will need thumbnails of all cards for the "Go Recent Cards" window one day. So it would be nice to have a RecentsStore that generates/provides thumbnails and decides where to store them based on what they are for: