add support for custom emoji
@derailed Hello! May you check it please?
@imorte Thank you for this PR!
I am not super keen on the current approach for these reasons:
- I feel these should be part of a skin vs k9s config. As such it won't crowd up the main config and it's really a stylistic concern. Also folks could share their emojis using existing styles mechanics. So the styles could now reference a file i.e something like
emojis/standardoremojis/custom-1in their skin file and load up the respective emojiis. - Emojis names should be namespaced i.ie something like
prompt.filter,prompt.query,status.warn,status.info - Not keen on defining each emoji kind as a new accessor. Better to use a generic call something like
emojiFor(xxx). This allows to CRUD icons in the future with minimal effort.
What do you think?
@derailed Thanks for the response! Yes, it all sounds reasonable. I will do it this way
@imorte Thank you!
Also... as I just got reminded... we need to make sure that none of these are activated when noIcons flag is enabled.
@derailed done, I hope I didn't forget anything
I haven't touched this func yet https://github.com/derailed/k9s/blob/e36716a3ffcfc1b06787aebbf53fa45f5eb36d76/internal/render/dir.go#L49
What do you think, is it worth spending time adding the config here now, or can we do it later?
@derailed Hi, what do you think about this PR? I can rebase and adapt it for the new version
@derailed Just wanted to follow up on this PR - happy to make any changes if needed
please merge this @derailed, this would be so useful.
@imorte Thank you for these updates. Looks like we have conflicts, can you take a peek?
@derailed will resolve soon!
Would really like to use this!
not forgotten! I'll try to find time soon
This PR is stale because it has been open for 30 days with no activity.