-
-
Notifications
You must be signed in to change notification settings - Fork 188
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
Add support for custom icons in Questions #1102
Comments
Additional considerations:
Multiple characters in my opinion would make sense, if the user can configure them, like in this example: |
I don't think this is a good example. Obviously everybody loves copier! 😂😂 Ahem... let's get serious. AFAICS all you want is an option to hide those icons, because then the help can contain anything you want, including one or more icons. However I don't really like this proposal TBH... By having a static set of icons, users know that a spy means the answer won't be recorded, or that a mic means waiting for answer. I'm afraid if this could make more harm than good. 🤔 |
Thanks for your reply. 😄 Whether that is important or not it's of course a matter of personal preference, it's just cosmetics after all. But I don't see how that could harm: the author of the template needs to explicitly opt-in for that. If it's about not confusing the user of the templates, I could argue that also the 🕵🏼 icon is not an universally recognized symbol that something is a secret. |
Well, it was more practical some time ago, when we didn't have a nice TUI. Now secrets are written as OK, I'll merge the PR if you want to do it. 😊 Remember to add proper docs and tests. Thanks! |
Thank You! 😄 I will! |
Hi,
Foreword: I started studying Copier and I love it!
This is just about cosmetics.
I would like being able to configure custom icons for questions. I looked at the source code, and saw that the microphone emoji 🎤 and the detective emoji 🕵🏼 are hard-coded.
Would you consider adding the option to customize icons? I wrote an example in the
diff
block below, to support custom icons for questions in a backward-compatible way. I tried locally I get something like:The only problem I see is that, for some reasons, some emojis seem to include right padding (like a single space), some others require a space added, like the red heart UTF-8 character
♥
, which I get when I paste the ❤️ emoji in Visual Studio Code.If you agree and welcome a PR, I can submit one.
The text was updated successfully, but these errors were encountered: