Jest: πŸƒ It's time for emoji.

Created on 14 Jan 2017  Β·  12Comments  Β·  Source: facebook/jest

I think it is time for emoji. We should double down on πŸƒ. I think 🚫 and 🚧 are specifically nice for jest-validate. We need to detect windows (see "Yarn") because it doesn't support emoji and add a --emoji flag (so it can be disabled through --no-emoji).

Examples:

βœ… PASS
🚨 FAIL
πŸƒπŸ»β€β™€οΈ RUNS

In the summary on the bottom, if all tests pass, we could signal that with "πŸƒ" – like you have a joker in your hand and we could use 🀑 if your tests didn't pass (indicating that your code is clowny).

Where do you think we could add emoji in a way that they aren't annoying yet provide good signal for what's going on?

UX

Most helpful comment

I think Unicode symbols like βœ“ or Γ— is better:

Emoji is like a stickers. They good in separated line. But don’t look as part of text.

All 12 comments

I think Unicode symbols like βœ“ or Γ— is better:

Emoji is like a stickers. They good in separated line. But don’t look as part of text.

Good illustration of Emoji support problems (Fedora, Chrome):

hz39hg8

Note that second emoji is in different style, than top one.

I think βœ“ and Γ— are clean enough.

I also wouldn't change pass/fail/runs, because I love how they display right now, same with βœ“ and Γ—.

However I'm pretty good with subtle things like:

πŸƒ Determining test suites to run...
πŸƒ Ran all test suites
⚠️ Jest Deprecation Warning
❌ Jest Validation Error

Idk about the joker, very much in favor of checkmark and X though.

I think emojis are great add could add a delightful touch, but I agree with @thymikee on the places that might make sense to add them... I'll try to hack a prototype to see how the experience feels and post a gif of it

I think it's overkill to add it instead of PASS etc. but I think showing the πŸƒ on a successful run is cool :)

IMO, the joker card loses it's meaning and is hard to see in emoji size. Looks good at avatar size.

Why?

It's 2017.

@cpojer Made my day, thanks.

We need to check the how these emojis are rendered on different OS.

It's current year, sure, but πŸƒ and 🀑 aren't symbols known to mean "pass" and "fail". Emojis are meant to represent a well-known concept as a symbol; if the concept is not well-known and you have to explain what they mean, it's just silly.

Was this page helpful?
0 / 5 - 0 ratings