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

Rethink images organization #94

Open
cycomachead opened this issue Aug 17, 2022 · 1 comment
Open

Rethink images organization #94

cycomachead opened this issue Aug 17, 2022 · 1 comment

Comments

@cycomachead
Copy link
Contributor

I'm making some notes while reviewing images translated to Spanish. I don't have clear answers, but we should at least try to categorize the types of images used in the repo. This isn't exhaustive, but here's what I can think of:

Things Without Code

  • supporting icons: the globe, little images of anchors (snap run links)
  • general curriculum icons: sharing, paired programming, etc. (These first two are pretty similar?)
  • examples: stage output, art, sprites, etc
  • IDE pics (menus, annotations, etc). Some of these have more text than others.

Things With Code:

  • pure snap! blocks, just a script
  • script pics that show a speech bubble
  • script pics in a running state

We have problems with all of these, and I think they are each different.

Right now, we are experiencing three kinds of problems:

  • translation of text
  • low resolution images
  • keeping up with Snap! updates.

The third we haven't discussed recently - and for the most part we've been able to avoid it. But there are lots of signs all over the curriculum of old Snap! pics. (Both in the IDE, and blocks which have subtlety different labels and inputs.)

Possible Ideas:

  • Most icons don't have text, we should move to new formats like font awesome and SVGs. But some static images will always exist.
  • Icons with text should be SVGs, which would actually expose the text in reasonable ways. (We would likely still need to keep two versions, as multi language SVGs are sadly not supported.)
  • Script pics, and pics with code in theory can be regenerated with a script. But we need to control the export state.
  • Script pics while a script is running may not be able to be regenerated so easily, but there's few of these.
  • Some of these images, like math blocks don't actually need to be translated all of time. Does it matter?

It seems like we need to expose this status in a programatic way. Does this mean using file/folder names?

@ddgarcia @maryfries

@brianharvey
Copy link
Contributor

brianharvey commented Oct 11, 2022 via email

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

No branches or pull requests

2 participants