Vivaldi、Windows Mobile、Edge が検出されない

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

ああ、確かにそうですね。ただ、他の人が「なぜ自分のセッション一覧がこうなっているのか」と疑問に思わないよう、一応ここにメモしておきたかっただけです。

Discourse はそうした環境下でも非常に良好に動作します(おそらく Chrome ベースだからでしょう)。

セッション一覧だけの問題であれば、修正は期待していません。
もしかしたら統計情報などにそれらが使われているのか、あるいは何か別の用途があるのかと思ったので、念のためお知らせしました。:slight_smile:
そのため、Contribute > Bug ではなく Contribute > Feature (既存の Discourse 機能に関する議論、その改善や強化方法、および提案された新機能がどのように機能しうるかについての議論。) の下に投稿しました。:slight_smile:

「いいね!」 1