Vivaldi, Windows Mobile y Edge no detectados

Hello,

I use two main OS and browsers (I paste user agents for the record):

  • Edge on Windows 10 Mobile (Lumia phone)
    Mozilla/5.0 (Windows Phone 10.0; Android 6.0.1; Microsoft; Lumia 640 LTE Dual SIM) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Mobile Safari/537.36 Edge/15.15063
  • Vivaldi on Windows 7
    Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Vivaldi/2.1.1337.36

But in the two Discourse sites I use, MetaBrainz running Discourse 2.2.0.beta3 and meta running Discourse 2.2.0.beta4, in Recently Used Devices section:

  • Vivaldi is seen as Google Chrome on both Discourse sites
  • Windows 10 Mobile is seen as Android Device on both Discourse sites
  • Edge is seen as Google Chrome on 2.2.0.beta3 (seems OK Microsoft Edge on 2.2.0.beta4, though)

Vivaldi does not occur anywhere in code.

For Windows Phone detection, I do see it, but maybe it’s not used in Recently Used Devices screen:

We don’t want to go down this path though:

Vivaldi is at 0.05% market share, we ought to do Yandex and UC Browser well before it, and then when do we stop? At the moment to keep things simple our detection simply should stop at Opera, which technically is almost Chrome cause it runs Blink but still.

Windows mobile is almost dead, Microsoft started killing it in 2017.

The only impact of these nits are cosmetic in the list of sessions.

7 Me gusta

Ah, sí, por supuesto. Solo quería anotarlo en algún lugar por si alguien más se pregunta por qué sus sesiones se ven así.

De todos modos, Discourse funciona perfectamente bajo esas condiciones (probablemente porque parecen basadas en Chrome).

No espero una corrección si solo afecta a la lista de sesiones.
Pensé que quizás las estabas utilizando también para las estadísticas o algo similar, así que podría valer la pena informarte. :slight_smile:
Por eso lo escribí bajo Contribute > Feature \u003csmall\u003e(Discusión sobre las características existentes de Discourse, cómo pueden mejorarse o ampliarse, y cómo podrían funcionar las nuevas características propuestas.)\u003c/small\u003e y no bajo Contribute > Bug. :slight_smile:

1 me gusta