mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user