Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

stats: Adjust Website mapping to Web app for consistency.

neiljp (Neil Pilgrim)c3317ebff8ed
diff --git a/analytics/tests/test_stats_views.py b/analytics/tests/test_stats_views.py
index f38fce0b5cd..8c8d93a1f5b 100644
--- a/analytics/tests/test_stats_views.py
+++ b/analytics/tests/test_stats_views.py
@@ -631,7 +631,7 @@ class TestMapArrays(ZulipTestCase):
"Old iOS app": [1, 2, 3],
"Desktop app": [2, 5, 7],
"Mobile app": [1, 5, 7],
- "Website": [1, 2, 3],
+ "Web app": [1, 2, 3],
"Python API": [2, 4, 6],
"SomethingRandom": [4, 5, 6],
"GitHub webhook": [7, 7, 9],
diff --git a/analytics/views/stats.py b/analytics/views/stats.py
index 64560ac8a7b..0b9e128b3a8 100644
--- a/analytics/views/stats.py
+++ b/analytics/views/stats.py
@@ -455,7 +455,7 @@ def table_filtered_to_id(table: Type[BaseCount], key_id: int) -> QuerySet:
def client_label_map(name: str) -> str:
if name == "website":
- return "Website"
+ return "Web app"
if name.startswith("desktop app"):
return "Old desktop app"
if name == "ZulipElectron":