diffplug / diffplug/selfie

Emoji snapshot methods

Abierto
#53 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Kotlin
Estrellas
101
Forks
18
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza con el issue #53 y el README de blowdryer enlazado para entender la nomenclatura de emojis propuesta. No se identifica ningún archivo del repositorio, prueba ni punto de entrada; el propio issue concluye que probablemente sea una mala idea publicar estos artefactos. El trabajo estaría terminado cuando un maintainer decida si se debe llevar adelante la propuesta y qué API exacta se debe admitir.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
java, kotlin
Área
testing
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
20/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.