2193 Commits

Author SHA1 Message Date
Tim Abbott
6262c81375 templates: Tweak demo-owner-update-email-field-hint text. 2025-10-21 18:02:36 -07:00
Lauryn Menard
476ee37bf3 demo-orgs: Add email address visibility update to add email modal.
Adds a field to update the demo organization owner's email address
visibility setting when they are adding an email to their account.
2025-10-21 18:00:48 -07:00
Lauryn Menard
ef2c2fe885 demo-orgs: Make note about name field a hint in add email modal.
Moves the note about possibly updating the name field from the top
of the modal to instead be a hint/subtitle under the field on the
form.
2025-10-21 18:00:48 -07:00
Sahil Batra
2abbc058ab settings: Live update role text in "Profile" panel. 2025-10-20 16:40:01 -07:00
whilstsomebody
2378d7700b user_profile: Disable role dropdown for only owner.
This commit adds code to disable the role dropdown
when an owner is editing their own profile and they
are the only owner in the organization and a tooltip
is shown mentioning that.

We already keep the role dropdown disabled when an
admin user was managing an owner's profile.

Fixes #34830.
2025-10-20 16:40:01 -07:00
Sahil Batra
e10f1ef260 user-profile: Rename class for edit pencil buttons.
This commit renames classes used for edit pencil button in
the profile modal header so that class names are clear enough
to specify what the buttons do. This rename is needed because
admins can now see "Edit profile" tab, i.e. the "Manage user"
tab for other users, in their own profile modal.

Co-Authored-by: Aman Vishwakarma <vishwakarmarambhawan572@gmail.com>
2025-10-20 16:40:01 -07:00
whilstsomebody
f5af6f9d7f user_profile: Use "Edit profile" label for user's own profile.
This commit renames tab heading, tooltip and aria-label for the
pencil edit icon in the profile modal header from "Manage user"
to "Edit profile" for admin's own profile.

Fixes part of #34830.
2025-10-20 16:40:01 -07:00
Sahil Batra
c58ae7f4f0 user-profile: Update header edit icon for admin's own profile.
For admin users, clicking on pencil edit icon in the profile
modal header opens the "Manage user" tab.

For non-admins, "Profile" settings panel is opened as before.

Fixes part of #34830.

Co-Authored-by: Aman Vishwakarma <vishwakarmarambhawan572@gmail.com>
2025-10-20 16:40:01 -07:00
whilstsomebody
9813f11abf user_profile: Show manage profile tab for admin's own profile.
Previouly admins did not see "Manage user" tab in their own
profile modal. This commit updates it to show the "Manage user"
tab to admins in their own profile modal as well.

Fixes part of #34830.
2025-10-20 16:40:01 -07:00
Sahil Batra
feaaf9ff03 drodpown: Do not use fa-ban icon for disabled option. 2025-10-20 16:30:06 -07:00
Sahil Batra
46f338f54f dropdown-widget: Fix alignment of disabled option.
The alignment of icon and text of the disabled option in
dropdown widget was somewhow broken due to an extra span
element present which broke the grid layout used for
rendering the icon and text properly.

This also makes the layout consistent with other options
shown with icon.

This was due to e643d7e6fd which resulted in space
between icon and text. We could have fix that by using
"~" character to remove whitespace in handlebar templates
but making the layout consistent felt a better choice.
2025-10-20 16:30:06 -07:00
Lauryn Menard
6b6a02f932 demo-orgs: Fix configure email banner action button on modals.
Fixes the action button on the configure email banner that appears
before a demo organization owner has added an email address on the
invite user and convert demo organization modals.

Adds the banner-wrapper class so that the general CSS rules for
banners are applied.

Removes the extra padding on the button as it does not appear to
be necessary any longer as the font and line height for the banner
label and action buttons is now the same.
2025-10-20 11:29:05 -07:00
Shubham Padia
9b1b52ec8a settings: Rename grey-box to settings-highlight-box.
Having the class named after a color limited to things we can do with
the class + does not signify what the class is for in terms of it's use.

Name decided at
https://chat.zulip.org/#narrow/channel/101-design/topic/grey-box.20dark.20theme.20color.2E/near/2272404
2025-10-07 09:26:51 -07:00
Pratik Chanda
5e33f21af8 info_overlay: Use internationalized strings in keyboard shortcut tab.
This commit internationalizes the strings between the keys in the
right half of the keyboard shortcut tab in info_overlay.

Fixes part of #22875.
2025-10-01 16:54:12 -07:00
Pratik Chanda
dc61ad6071 keyboard_shortcuts: Change selector for home view hotkey in help menu.
This commit changes the selector for home view hotkey shortcut hint in
help menu. This will help in internationalization of the keyboard hints.
2025-10-01 16:54:12 -07:00
Anders Kaseorg
85c94599c5 emoji: Remove deprecated Google blobs emoji set.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-01 13:35:06 -07:00
Sayam Samal
b894df61a4 drafts: Use span instead of em for placeholders without DM recipient.
The `em` tag is typically used to denote emphasis, which may not be
semantically appropriate for placeholder text, where we just want to
style the text as italic.
2025-09-30 11:37:16 -07:00
Sayam Samal
0d9e503add drafts: Add placeholder text for drafts with no channel selected.
This commit handles the empty channel placeholder for drafts saved
without a channel selected. When these drafts also do not have a topic,
we display "No topic selected" in tandem with "No channel selected",
since we are unable to access the channel configuration to determine
if we should display realm_empty_topic_display_name.
2025-09-30 11:37:16 -07:00
Sahil Batra
d8261d4b96 settings: Improve label for can_set_topics_policy_group setting.
This commit updates the label for can_set_topics_policy_group
setting to be more clear by mentioning that it is used to
configure who can set the per-channel "general chat" configuration.

We also add a link to "/help/require-topics" with the label.
2025-09-29 11:00:26 -07:00
Alya Abbott
0ea04f31bc compose and feed: Improve label for DMs to yourself. 2025-09-26 11:07:48 -07:00
Sahil Batra
203e8be1df groups-ui: Fix check and plus icon in group row.
This change was missed in 310a2323b6.
2025-09-19 09:20:58 -07:00
Shubham Padia
310a2323b6 subscriptions: Move raw svg for plus and check icons to zulip-icon.
Fixes #35899.

We don't make any visual changes to how the svgs/icons look, we just
move them to use the zulip-icon system.

We also replace use of the raw images of each in the help center and add
appropriate color for both in the help center.
2025-09-17 14:15:05 -07:00
Karl Stolley
d8e58f31b9 tooltips: Rename media tooltip partial. 2025-09-17 13:25:50 -07:00
Anders Kaseorg
40a022dcc3 zephyr: Remove Zephyr mirroring support.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-16 11:18:18 -07:00
Sahil Batra
683eca97a7 stream-settings: Replace "Not subscribed" tab with "Available".
This commit replaces "Not subscribed" tab in stream settings
with "Available" tab where only streams which the user can
subscribe to are shown.

Fixes #35919.
2025-09-16 11:16:06 -07:00
Anders Kaseorg
2dc2255f26 todo_widget_tasks: Fix invalid <div> inside <label>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
0dbe85fd34 user_profile_modal: Fix invalid <div> inside <h1>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
056dff4c51 preferences_information: Fix invalid <span> inside <label>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
d476eb08b9 preferences_emoji: Fix invalid <div> inside <label>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
3075d51a24 add_new_bot_form: Fix invalid <div> inside <p>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
287681d331 send_later_popover: Fix invalid <div> inside <label>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
2d947073a1 templates: Fix invalid <div class="narrows_by_topic"> inside <span>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
9e8c9b68f6 templates: Fix invalid <div class="modal__spinner"> inside <button>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
99481eb47c templates: Fix invalid <h4> inside <label>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
c23cd837a0 todo_widget: Replace obsolete <strike> element.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
460d63c4dc templates: Fix invalid <th> inside <thead> (missing <tr>).
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Anders Kaseorg
d3238e9a1b templates: Fix invalid lists inside <p>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Maneesh Shukla
7e43ee625c confirm-dialog: Rename "confirm_delete_user" to "confirm_deactivate_user_group".
This commit renames the template file "confirm_delete_user.hbs" to
"confirm_deactivate_user_group.hbs" since it has now text specific to
user-groups.
2025-09-08 14:43:53 -07:00
Maneesh Shukla
f0e1a56b1a user-group: Replace the deactivate modal text.
Previously, the modal text stated, "This action cannot be undone."
However, since it is now possible to reactivate the user-group at any
time, we should update the modal text to reflect this change.
2025-09-08 14:43:53 -07:00
Aman Agrawal
39b560e611 inbox: Remove empty space below filters for hidden folders.
Hidden folders occupied space due to bottom margin.

Fixed by moving the margin to elements which have `display: none`
property so that margin is removed.
2025-09-05 10:35:38 -07:00
Karl Stolley
be53f22fff layout: Tweak dropdown for correct icon-label alignment. 2025-09-03 17:37:14 -07:00
Karl Stolley
8a40b0699a audio: Present download button with tooltip.
Fixes #35636.
2025-08-28 15:20:11 -07:00
Karl Stolley
cacd73fd8b audio: Present audio player in wrapped element. 2025-08-28 15:20:11 -07:00
Karl Stolley
3787fb3b02 message_list: Process me-messages as having message content. 2025-08-28 15:20:11 -07:00
Mohammad Reza Kianifar
daadf110d9 scheduled_messages: Add support for self-DM identification.
Similar to drafts, identify when a scheduled message will be sent to
the logged-in user. This allows the UI to show 'You' as the header for
self-scheduled messages, improving the user experience.
2025-08-28 10:04:37 -07:00
Aman Agrawal
3e7e81581c inbox: Show muted icon for muted channels. 2025-08-27 10:30:12 -07:00
Maneesh Shukla
6787a14d74 tooltips: Use group ID instead of name for tooltip IDs.
Previously, tooltip templates were identified using the
group's name in their `id` attributes.

This change uses the group's ID instead, which is more reliable.
2025-08-15 10:17:30 -07:00
Maneesh Shukla
daa98c72d3 tooltips: Use stream ID instead of name for tooltip IDs.
Previously, tooltip templates were identified using the
stream's name in their `id` attributes.

This commit changes the tooltip IDs to use the stream's ID instead,
rather than its name, to ensure uniqueness and avoid potential conflicts.
2025-08-15 10:17:30 -07:00
Sahil Batra
0a8238b993 stream-settings: Live update visibility of folder dropdown.
An error was raised where we tried to live update the folder name
in folder dropdown even when there was no dropdown visible
to the non-admin user in settings page. This was because
"There are no channel folders configured in this organization."
text was shown even when a folder was recently created in the
realm as we did not live update the visibility of dropdown on
creating or archiving a folder.

This commit fixes the bug by live-updating the visibility
of folder dropdown when creating or archiving a folder.
2025-08-14 13:18:31 -07:00
Tim Abbott
2eb3e18b63 settings: Extract Onboarding section in realm settings.
The section had gotten too tall, at least when the welcome bot message
was enabled.
2025-08-13 14:09:20 -07:00