17 Commits

Author SHA1 Message Date
Alex Vandiver
e73dd3d51f move_topics_modal: Remove spurious   characters. 2025-08-11 14:39:14 -07:00
Maneesh Shukla
b0241bfa3c banners: Redesign group info banner.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
3651748d31 banners: Redesign stream info banner.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
apoorvapendse
03a2d9f644 move_message: Use _html naming convention for content rendered as HTML.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00
Karl Stolley
ec46b117bb banners: Add utility class for uniform bold. 2025-07-09 12:50:25 -07:00
bedo
7eadabe10a move_topic_modal: Only include messages senders in warning banner.
Only participants who sent the messages being moved
should appear in the warning banner.
2025-06-19 10:30:08 -07:00
bedo
26efeef3ee move_topic_modal: Fix "n_unsubscribed_participants" name.
Rename "n_unsubscribed_participants" to "unsubscribed_participants_count",
the former is the wrong template variable name.
2025-06-19 10:30:08 -07:00
bedo
f9e6bef47b move_topic_modal: Add unsubscribed participants warning banner.
Fixes #33627

In Move messages and Move topic modals,
Show a warning banner if any of current topic participants
are NOT subscribed to the destination stream.

Inside the banner, Show participant names if
number of conversation participants
is <= 5; otherwise, show only the count.
2025-05-19 00:08:29 -07:00
Joseph Ho
0750c210f7 topic-move: Add warning banner if moving messages to existing topic.
In the move topic modal, when the user would merge messages into an
existing conversation, then we display a warning banner in the modal.
This is similar to the confirmation modal that appears when a user
edits a topic via the message feed header.

We do not show the warning for the empty/general topic for realms
that do not require topics, even if there are messages in the
general topic.

Fixes #31151.

Co-authored-by: Yiming He <heyimingfrog@gmail.com>
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-03-04 11:19:58 -08:00
Prakhar Pratyush
469cc53187 export: Add banner if admin's private data export setting is disabled.
This commit introduces a banner on the "Start Export" modal
to notify the admin that their personal setting to export
private data is not toggled ON.

The banner is shown when the 'Export type' is 'Standard' and
admin's personal setting to export private data is not toggled ON.

The banner ensures admins are aware their private data will
not be exported unless they enable the respective setting.
2025-01-02 16:40:33 -08:00
Anders Kaseorg
8b37781b34 templates: Fix @partial-block invocations for explicitPartialContext.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-18 12:38:50 -08:00
Anders Kaseorg
e172c717f7 webpack: Enable explicitPartialContext for handlebars-loader.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-15 20:41:59 -08:00
Sahil Batra
067e5a46c3 settings: Show stream and group info in a banner at the top.
Instead of having information about streams and groups below the
create button, we show that in a banner at the top irrespective
of whether user has permission to create them or not.

Fixes part of #32212.
2024-11-05 11:14:02 -08:00
Prakhar Pratyush
cfba2e8837 stream_settings: Rename stream to channel in stream created banner.
When an administrators create channels that they are themselves
not initial subscribers, a channel creation confirmation banner
is displayed in the settings panel.

This commit updates the term "stream" to "channel" in the banner.
2024-07-16 23:27:03 -07:00
Prakhar Pratyush
a35b922f05 banner: Remove the stale 'banner-contains-button' class. 2024-05-02 12:48:22 -07:00
Sahil Batra
e965ed2eb8 stream_settings: Show banner on successful stream creation.
This commit adds banner which is shown on successful stream
creation which contains a link to stream narrow. This banner
makes it more clear that stream was created successfully and
also makes it easy to navigate to the new stream.

Fixes #29171.
2024-03-05 10:56:30 -08:00
Sayam Samal
2cb4210319 invite: Add setup tips to user invite modal.
We include setup tips to the user invite modal for the following
cases:

At the top of the invite modal
- If the org description is missing.
- If the org profile picture is missing.
- If the custom profile fields have not been added, where we also
  provide a link to the default user settings for the time being,
  until we have a better way to compare if the default user settings
  have been changed.

We also use the new banner ui to display these tips. In doing so, we
extract the banner component from `compose_banner.hbs` to
`popover_banner.hbs`, removing any compose specific code from the
banner component.

Fixes: #24262

Co-authored-by: Lalit <lalitkumarsingh3716@gmail.com>
2023-11-22 09:03:19 -08:00