لم يتم اكتشاف 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 > Feature (مناقشة ميزات Discourse الحالية، وكيفية تحسينها أو تعزيزها، وكيف يمكن أن تعمل الميزات الجديدة المقترحة.) وليس تحت Contribute > Bug. :slight_smile:

إعجاب واحد (1)