stream_edit: Fetch subscribers before showing subscriber tab.

Work towards #34244.

Now that we're supporting partial subscriber data, we might need
to fetch the full list of subscribers when opening the subscribers
tab of the edit channel modal.

This commit handles a slow load with a loading spinner while we fetch
the data, and also makes sure to ignore the data if it's received after
it stops being relevant (in case the user has another stream's data open).
This commit is contained in:
Evy Kassirer
2025-04-09 19:04:19 -07:00
committed by Tim Abbott
parent a327278a73
commit 44b87c72dc
5 changed files with 76 additions and 10 deletions

View File

@@ -136,6 +136,17 @@ h4.user_group_setting_subsection_title {
line-height: 1.5;
}
.subscriber_list_settings_container.no-display {
display: none;
}
.subscriber-list-settings-loading {
display: flex;
align-items: center;
margin: auto;
margin-top: 100px;
}
.member-list-box,
.subscriber-list-box {
text-align: center;