Replies: 1 comment
-
That's a nice idea. You can make a docker container. I will include it in the docs. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It happened to me a few times now that I wanted to add a new icon and forgot to update one of the 5 XML files in the repo. That led to very unnecessary bugs and it took me forever to debug.
I've since created a short and lightweight (Python) script that takes a central Yaml file with a mapping as input and generates all 5 required XML files (the ones currently included in the sample repo) from it. Is there any interest in including this in the candybar-sample repo? If so, I'd be happy to open a PR to add it. Otherwise, I could package the script into a tiny Docker container and we could refer to it from the docs.
The mapping looks like this, which I found to be the most versatile and allows per-component overrides of the names:
The categories used here need to match the ones defined in the Activity.
Beta Was this translation helpful? Give feedback.
All reactions