Numero massimo di emoji nel titolo impostato a 0 - in conflitto con le scorciatoie per le emoji

Non sono sicuro che questo rientri tra i bug, è un problema piuttosto minore, ma vale la pena darci un’occhiata:

Nel nostro forum l’impostazione max emojis in title è impostata su 0, ma ho notato che uno viene comunque visualizzato in un nuovo post. Osservando il testo effettivo del titolo pubblicato, vedo che l’utente ha digitato :), quindi deve essere stato convertito automaticamente.

Immagino che si tratti di un conflitto con l’impostazione enable emoji shortcuts e che la conversione da emoticon a emoji debba semplicemente essere limitata nei titoli, tenendo conto dell’impostazione max emojis in title.

6 Mi Piace

I am not sure about auto conversion of shortcuts in title at all. But the failure mode here does not feel right regardless.

We should either say:

You are not allowed to include any emojis in your title

Or special case it so when this is 0 we simply bypass all emoji unescape for titles.

My vote here:

  1. If it is set to 0, we special case it so there is no emoji unescape for titles, do no emoji count validation on save.

  2. We confirm that we properly count :) conversions to emoji so you can not bypass default of 1 with :) :) :)

@techAPJ not urgent to sort this out but please add to your list.

6 Mi Piace

Special casing emoji unescape for titles required changes in many places in our codebase so for now I improved emoji validation so we properly count emoji shortcuts :), and improved the error message when emoji is disabled in titles.

7 Mi Piace