Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
pm list: Remove obsolete user_circle_fraction class.
Steve Howella9ea52575702
diff --git a/frontend_tests/node_tests/pm_list.js b/frontend_tests/node_tests/pm_list.jsindex d958b00ecbe..1ad1bb590a2 100644--- a/frontend_tests/node_tests/pm_list.js+++ b/frontend_tests/node_tests/pm_list.js@@ -93,7 +93,7 @@ test("build_private_messages_list", ({override}) => {is_zero: false,is_active: false,url: "#narrow/pm-with/101,102-group",- user_circle_class: "user_circle_fraction",+ user_circle_class: undefined,is_group: true,},];@@ -143,7 +143,7 @@ test("build_private_messages_list_bot", ({override}) => {is_zero: false,is_active: false,url: "#narrow/pm-with/101,102-group",- user_circle_class: "user_circle_fraction",+ user_circle_class: undefined,is_group: true,},];diff --git a/static/js/pm_list.js b/static/js/pm_list.jsindex dd8e5a1e60b..810cfc82716 100644--- a/static/js/pm_list.js+++ b/static/js/pm_list.js@@ -76,9 +76,7 @@ export function _get_convos() {let user_circle_class;- if (is_group) {- user_circle_class = "user_circle_fraction";- } else {+ if (!is_group) {const user_id = Number.parseInt(user_ids_string, 10);user_circle_class = buddy_data.get_user_circle_class(user_id);const recipient_user_obj = people.get_by_user_id(user_id);diff --git a/static/styles/user_circles.css b/static/styles/user_circles.cssindex 26c17f8688c..10a49bcafbb 100644--- a/static/styles/user_circles.css+++ b/static/styles/user_circles.css@@ -1,8 +1,7 @@.user_circle_green,.user_circle_orange,.user_circle_empty,-.user_circle_empty_line,-.user_circle_fraction {+.user_circle_empty_line {border-radius: 50%;border: 1px solid;float: left;@@ -12,10 +11,6 @@.user_circle_green {background-color: hsl(106, 74%, 44%);-}--.user_circle_green,-.user_circle_fraction {border-color: hsl(106, 74%, 44%);}