unread_ui: Rename functions names to offer a general clarity.

Previously, the naming of functions in unread_ui was targeted towards a
specific unread banner. This is terrible if we plan on having multiple
types of unread banners and this change aims to offer that level of clarity.
This commit is contained in:
Joelute
2023-04-11 17:36:11 -04:00
committed by Tim Abbott
parent afbd0a9b43
commit ffbe6e870a
7 changed files with 16 additions and 16 deletions

View File

@@ -410,7 +410,7 @@ test("mark_unsubscribed (render_title_area)", ({override}) => {
override(stream_list, "remove_sidebar_row", noop);
override(stream_list, "update_subscribe_to_more_streams_link", noop);
override(unread_ui, "update_unread_counts", noop);
override(unread_ui, "hide_mark_as_read_turned_off_banner", noop);
override(unread_ui, "hide_unread_banner", noop);
$("#streams_overlay_container .stream-row:not(.notdisplayed)").length = 0;