Emoji snapshot methods

Open
#53 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, kotlin
Domain
testing

Research direction

Start with issue #53 and the linked blowdryer README to understand the proposed emoji naming. No repository file, test, or entry point is identified; the issue itself concludes that publishing these artifacts is probably a bad idea. Done would require a maintainer decision on whether to pursue the proposal and what exact API should be supported.

Written by the indexing model from the issue text.

Description

enhancement

We will never ship this by default, but it might make sense to do something like what blowdryer did for 干

  • com.diffplug.selfie:selfie-kotlin-emoji
    • expectSelfie -> 🔎
    • this would only work in kotlin, and it would have to be bracketed with double-backticks, but it stands out visually
    • Unicode has both 🔎 and 🔍, doesn't really matter which, but we should not do both and :mag_right: works in GitHub but :mag_left: doesn't so that's the tiebreaker
    • another option is expectSelfie -> 📷
  • com.diffplug.selfie:selfie-ku
    • expectSelfie -> 𐌒
    • this is using the old italic letter ku, which would work in java and kotlin

The code would look something like this

object 𐌒 {
  @JvmStatic fun 𐌒(actual: String) = Selfie.expectSelfie(actual)
  @JvmStatic fun 𐌒(actual: Int) = Selfie.expectSelfie(actual)
  @JvmStatic fun 𐌒(actual: Boolean) = Selfie.expectSelfie(actual)
}

It's cute, but it's very easy for people to do themselves in their own projects, and it's probably a bad idea so we shouldn't encourage it by publishing artifacts for it.

The 🔎 has a tiny sliver of functionality, the color does standout just a bit, seems appropriate.

Dominant language
Kotlin
Stars
101
Forks
18
Avg merge
6d 11h
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/selfie

All issues in diffplug/selfie

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.