"Hide" is a better verb with the channel folders UI.
Also automatically hide inactive channels at 20+ susbscribed channels,
as we have more content in the left sidebar now.
This commit adds "max_channel_folder_name" and
"max_channel_folder_description" fields to response.
Also updated webapp to use these fields instead of hardcoding
the values.
This commit adds a realm setting:
"Require end-to-end encryption for push notification content".
This commit just involves backend & UI changes to add the setting,
the impact of this setting is in the next commit.
Fixes part of #35370.
This commit adds a new section named "Notifications security"
below "Automated messages and emails" in Organization settings.
The "Allow message content in message notification emails"
setting is moved from "Automated messages and emails" section
to this new section.
This serves as a prep work as we plan to add a new setting
"Require end-to-end encryption for push notification content"
in this section.
Fixes part of #35370.
The context passed in web/src/stream_edit.ts
never contains any HTML formatted string for
the description, so it is safe to replace
`{{{` with `{{`.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
This is done to later render the subscribe
success and error messages using the banner
template instead of using the banner classes
in the subscription/memebership templates
which requries us to duplicate the changes
in banner.hbs at these places to avoid
regressions.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
The API defaults to include_custom_profile_fields=True in the POST /register
code path, but defaults to false in GET /users call.
This results in profile data for user being undefined when received
from server and thus we fail to process any profile updates for the user.
Co-authored-by: Tim Abbott <tabbott@zulip.com>
This button was previously found when hovering on the CHANNELS
header, but now that we've removed that header, we show the
button here instead, and always visible.
This component no longer exists with the new design.
Everything removed here that's still relevant (unread counts, special
logic for spectator view) is added back, at the section/channel folder
layer, over the next several commits.
This commit shows a loading indicator in the recipient bar when the
user resolves or unresolves a topic from the topic actions menu.
Since we do not have a unresolve icon button in the recipient bar
following commit 23ac87606a, we
first render a icon button with a placeholder icon in the recipient bar,
and then show the loading indicator when the user clicks on the
"Mark as unresolved" option in the topic actions menu.
This commit simplifies the CSS selectors in the left sidebar styles by
replacing generic `a` selectors with more specific class selectors.
This change enhances the specificity of the styles, and improves the
selectors' performance.