scheduled_messages: Add left sidebar count.

This commit introduces logic to present a message count with the
Scheduled messages item in the left sidebar.

The count is present on the initial load, and is updated as a user
adds or removes scheduled messages.
This commit is contained in:
Karl Stolley
2023-05-02 14:08:15 -05:00
committed by Tim Abbott
parent 6dc10f8696
commit 2d9cbfa8f1
5 changed files with 22 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ import * as stream_list_sort from "./stream_list_sort";
import * as stream_settings_ui from "./stream_settings_ui";
import * as timerender from "./timerender";
import * as tippyjs from "./tippyjs";
import * as top_left_corner from "./top_left_corner";
import * as topic_list from "./topic_list";
import * as topic_zoom from "./topic_zoom";
import * as tutorial from "./tutorial";
@@ -649,6 +650,7 @@ export function initialize_everything() {
muted_users.initialize(muted_users_params);
stream_settings_ui.initialize();
user_group_settings_ui.initialize();
top_left_corner.initialize();
stream_list.initialize();
stream_list_sort.initialize();
condense.initialize();