mirror of https://github.com/zulip/zulip.git
analytics: Display Zulip Electron app as the main desktop app.
This should make the /stats data significantly clearer.
This commit is contained in:
parent
31caab4229
commit
0b60f11cf8
|
@ -309,6 +309,7 @@ class TestMapArrays(ZulipTestCase):
|
|||
'desktop app 3.0': [21, 22, 23],
|
||||
'website': [1, 2, 3],
|
||||
'ZulipiOS': [1, 2, 3],
|
||||
'ZulipElectron': [2, 5, 7],
|
||||
'ZulipMobile': [1, 5, 7],
|
||||
'ZulipPython': [1, 2, 3],
|
||||
'API: Python': [1, 2, 3],
|
||||
|
@ -319,6 +320,7 @@ class TestMapArrays(ZulipTestCase):
|
|||
self.assertEqual(result,
|
||||
{'Old desktop app': [32, 36, 39],
|
||||
'Old iOS app': [1, 2, 3],
|
||||
'Desktop app': [2, 5, 7],
|
||||
'Mobile app': [1, 5, 7],
|
||||
'Website': [1, 2, 3],
|
||||
'Python API': [2, 4, 6],
|
||||
|
|
|
@ -158,6 +158,8 @@ def client_label_map(name):
|
|||
return "Website"
|
||||
if name.startswith("desktop app"):
|
||||
return "Old desktop app"
|
||||
if name == "ZulipElectron":
|
||||
return "Desktop app"
|
||||
if name == "ZulipAndroid":
|
||||
return "Android app"
|
||||
if name == "ZulipiOS":
|
||||
|
|
Loading…
Reference in New Issue