diffplug / diffplug/selfie

Emoji snapshot methods

オープン
#53 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Kotlin
スター
101
フォーク
18
PR マージ指標
30日以内にマージされた PR はありません

説明

We will never ship this by default, but it might make sense to do something like what [blowdryer did for 干](https://github.com/diffplug/blowdryer?tab=readme-ov-file#chinese-for-dry-%E5%B9%B2)

- `com.diffplug.selfie:selfie-kotlin-emoji`
- `expectSelfie` -> :mag_right:
- this would only work in kotlin, and it would have to be bracketed with double-backticks, but it stands out visually
- Unicode has both :mag_right: 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

```kotlin
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 :mag_right: has a tiny sliver of functionality, the color does standout just a bit, seems appropriate.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

提案されている絵文字の命名を理解するために、まず issue #53 とリンク先の blowdryer README を確認してください。リポジトリのファイル、テスト、エントリポイントは特定されておらず、issue 自体もこれらのアーティファクトを公開するのはおそらく悪い考えだと結論づけています。完了には、提案を進めるかどうか、およびどの正確な API をサポートするかについて maintainer が判断する必要があります。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, kotlin
領域
testing
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
20/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。