meave
26 Marzo, 2026 14:55
1
Hola a todos,
Si intento insertarlo introduciendo :champagne, no se encuentra, sin embargo si introduzco
:cork, se muestra correctamente, y si pongo el ratón sobre él, está claramente
etiquetado como… ¡¡Champán!!
Eso es todo.
Gracias.
6 Me gusta
Falco
(Falco)
26 Marzo, 2026 15:03
2
Parece que tenemos que eliminar la línea en
"x_ray" => ["xray"],
"right_anger_bubble" => ["anger_right"],
"ballot_box" => ["ballot_box_with_ballot"],
"man_bouncing_ball" => %w[basketball_man],
"person_bouncing_ball" => %w[person_with_ball basketball_player],
"bellhop_bell" => ["bellhop"],
"biohazard" => ["biohazard_sign"],
"bow_and_arrow" => ["archery"],
"spiral_calendar" => %w[calendar_spiral spiral_calendar_pad],
"card_file_box" => ["card_box"],
"champagne" => ["bottle_with_popping_cork"],
"cheese" => ["cheese_wedge"],
"cityscape_at_dusk" => %w[city_sunset city_dusk],
"couch_and_lamp" => ["couch"],
"crayon" => ["lower_left_crayon"],
"cricket_game" => %w[cricket_bat_and_ball cricket_bat_ball],
"latin_cross" => ["cross"],
"dagger" => ["dagger_knife"],
"desktop_computer" => ["desktop"],
"card_index_dividers" => ["dividers"],
"dove" => ["dove_of_peace"],
porque la inversa ya está ahí, y no hay un emoji real llamado champagne.
¿Qué opinas @j.jaffeux ?
4 Me gusta
Se agregó un paso de validación para estar 100% seguros de que no se están agregando alias a emojis que no existen
main ← fix/remove-phantom-emoji-aliases
opened 04:56PM - 27 Mar 26 UTC
Some EMOJI_ALIASES keys (e.g. "champagne", "cheese", "hotdog") are not real emoj… i names — they don't exist in emojis.json and have no corresponding image files. Each of these keys already appears as an alias value for the actual emoji elsewhere in the hash (e.g. "bottle_with_popping_cork" => ["champagne"]), making the phantom entries redundant. Their presence causes the emoji picker to register names that can't resolve to an image, so typing `:champagne:` fails even though `:cork:` works fine.
This removes all 14 phantom entries and adds a validation step to the `emojis:db` rake task that aborts generation if any phantom alias keys are detected in the future.
https://meta.discourse.org/t/399338
2 Me gusta