Commit Graph

2153 Commits

Author SHA1 Message Date
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
Maneesh Shukla
bfdd28c638 banners: Hide empty banner-action-buttons using CSS.
Previously, the action buttons container was only hidden via
conditional rendering in the template. This commit adds a CSS-based
approach to also hide the container when it becomes empty, using the
:empty pseudo-class. This ensures correct behavior if we later have a
class of banners where the buttons area is dynamically updated, and
buttons are removed dynamically.
2025-08-13 10:31:18 -07:00
apoorvapendse
1001c0d60a left_sidebar: Improve text selection for channel names.
Fixes:
https://chat.zulip.org/#narrow/channel/9-issues/topic/.E2.9C.94.20.F0.9F.8E.AF.20focus.20bug.20with.20.22first.20unread.22.20channel.20click.20policy/near/2222421.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
apoorvapendse
ab01079f40 message_header: Improve text selection.
Fixes: #34959.
2025-08-12 17:40:00 -07:00
apoorvapendse
14231e9fe2 left_sidebar: Improve text selection in buddy list.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
apoorvapendse
0bc1bdda86 left_sidebar: Improve text selection for dm box.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
apoorvapendse
4288734030 left_sidebar: Improve text selection for topic text.
Fixes: #34959.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-12 17:40:00 -07:00
Pratik Chanda
40ff1220ef filter: Implement web public channels filter for suggestions.
We already had web-public support in narrow by_channels.

This commit implements the web-public support for actual user
search.
2025-08-12 15:30:11 -07:00
opmkumar
aa9aa2160b help: Clean up search by location documentation. 2025-08-12 15:26:12 -07:00
Karl Stolley
dc87f418f3 dropdown_lists: Provide uniform .dropdown-list-item-name structure. 2025-08-12 12:41:31 -07:00
Karl Stolley
3cb8247d76 dropdown_lists: Conditionally present grouped buttons.
Co-Authored-By: Kunal Sharma <v.shm.kunal@gmail.com>
2025-08-12 12:41:31 -07:00
Karl Stolley
1b62a7579e dropdown_lists: Structure all name text with a span. 2025-08-12 12:41:31 -07:00
Karl Stolley
4c129e73b7 dropdown_lists: Simplify selected item-text class. 2025-08-12 12:41:31 -07:00
whilstsomebody
d0207a4297 inbox_ui: Clarify inbox state when all sections are collapsed.
It was reported that the UI is pretty confusing when there is
just a collapsed folder in inbox view.

To address this issue, we now show a note below the folders in
following two situations:
  - All folders collapsed.
  - If all folders are not collapsed, all visible channels
    are collapsed.

Fixes: #35555
2025-08-12 12:04:23 -07:00
Pratik Chanda
8711730e6b left_sidebar: Add menu to change channel folder setting in left sidebar.
Earlier, you could change setting to show/hide channel folders in
left sidebar from setting overlay.

This commit adds an menu option to toggle channel folders setting in
the left sidebar. The menu is hidden if there are no subscribed
channels with channel folder.

Fixes #35574.
2025-08-12 10:29:44 -07:00
Pratik Chanda
7b2a834336 stream_settings: Fix `realm_has_channel_folders not accessible in hbs.
This commit fixes the `realm_has_channel_folders` not accessible in
the stream settings template.
2025-08-12 10:19:37 -07:00
Aman Agrawal
8b5e231f42 left_sidebar: Fix both input and add channel tooltip visible.
Fixed by restricting tooltip trigger area to input element.
2025-08-12 09:59:30 -07:00
Aman Agrawal
78a3ef56e4 left_sidebar: Support filtering all items using the search input. 2025-08-12 00:38:22 -07:00
Aman Agrawal
ba03a3494b left_sidebar: Add tooltip to search input. 2025-08-12 00:38:22 -07:00
Tim Abbott
c44b801cfc left_sidebar: Update main filter input placeholder text. 2025-08-12 00:38:22 -07:00
Alya Abbott
1a1807ffe4 help: Document new left sidebar filter. 2025-08-12 00:38:22 -07:00
Aman Agrawal
b5f1af6742 left_sidebar: Move channel search input top the top. 2025-08-12 00:38:22 -07:00
Evy Kassirer
4df4f072f4 stream_list: Show mention indicator in section headings.
Fixes #35104.
2025-08-11 14:57:28 -07:00
Pratik Chanda
9d773fe115 channel_settings: Hide channel folder setting for normal user.
Earlier, channel folder setting dropdown was showed even when there
were no channel folders created yet. This would end up showing an
empty list in dropdown.

This commit hides the setting for normal users if there are no channel
folders available in the org. It is replaced by a string section.

Fixes: zulip#35596.
2025-08-11 14:41:24 -07:00
Pratik Chanda
62a088c0d1 channel_settings: Add help link for channel folders dropdown.
This commit adds a help link to the channel folders dropdown setting
pointing to the relevant help doc.

Fixes part of zulip#35596.
2025-08-11 14:41:24 -07:00
Alex Vandiver
e73dd3d51f move_topics_modal: Remove spurious &nbsp; characters. 2025-08-11 14:39:14 -07:00
Tim Abbott
ae04cdee78 left_sidebar: Rename stream-search-and-add for global search.
This will be more readable once we've moved the search input.
2025-08-11 14:22:32 -07:00
Tim Abbott
0ccfb7fdf0 left_sidebar: Rename stream-list-filter for global search.
This will be more readable once we've moved the search input.
2025-08-11 14:22:32 -07:00
Tim Abbott
041597e006 left_sidebar: Rename stream_search_section for global search.
This will be more readable once we've moved the search input.
2025-08-11 14:22:32 -07:00
Sayam Samal
ff70cb8059 user_status: Add INTERACTIVE_HOVER_DELAY to status emoji picker tooltip. 2025-08-11 11:54:18 -07:00
Sayam Samal
cdea8e9d51 user_status: Improve custom user status picker input styling.
As a follow-up to the previous commit, this commit improves the styling
of the custom user status picker input.

The changes in this commit adjust the styling of the input field towards
the new redesigned inputs while shying away from using the input
component to avoid the complexity involved in including the status
emoji selector in the input component.
2025-08-11 11:54:18 -07:00
Sayam Samal
6f6e3b9f48 user_status: Improve selectable default user status options styling.
This commit improves the styling of the default user status options in
the status picker modal by adding hover, focus and active state styles
similar to that of the popover menu options.

Fixes #35005.
2025-08-11 11:54:18 -07:00
Evy Kassirer
fd08149993 left_sidebar: Use icons for the inactive/muted toggle.
Finishes #35552.
2025-08-11 11:45:45 -07:00
Evy Kassirer
c56ddf9ba4 left_sidebar: Combine muted and inactive channels.
Part of #35552.
2025-08-11 11:45:45 -07:00
Maneesh Shukla
224fd3df6b banners: Fix asymmetric margin on banners.
This commit fixes the asymmetric margin on banners by conditionally
rendering the action buttons only if buttons are present. Otherwise,
empty action buttons were being rendered in the DOM, applying the gap
property between the banner label and the empty action buttons.

Fixes: https://chat.zulip.org/#narrow/channel/9-issues/topic/asymmetric.20margin.20on.20banner.
2025-08-11 10:28:57 -07:00
Aman Agrawal
6d9b282b86 inbox: Match style of inbox view unread count folder to left sidebar. 2025-08-11 10:14:42 -07:00
Saubhagya Patel
bb5c87e306 bots: Add a setting to customize the Welcome Bot message.
This commit includes the following changes:
- Add an administrator setting to customize the Welcome Bot
message when sending an invitation.
- Add an API endpoint to test the customized Welcome Bot message
by sending a copy of the message to the administrator.

Fixes #27663.

Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>
2025-08-08 18:59:37 -07:00
apoorvapendse
ab48666358 navbar: Use _html variables in template.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-08 18:58:06 -07:00
apoorvapendse
83cfff0ad0 empty_feed_notice: Use _html variables in template.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-08 18:58:06 -07:00
apoorvapendse
370e6765f8 dialog_widget: Use _html variables in template.
This is done to ensure that variables in HTML string format
which should not be escaped in templates, have a
consistent _html suffix.

The commits that follow do the same style of refactors
in other areas.

Discussion: https://chat.zulip.org/#narrow/channel/6-frontend/topic/Add.20linter.20rule.20to.20denote.20HTML.20string.20in.20template/near/2232128
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-08 18:58:06 -07:00
Sahil Batra
b746bb5fc1 settings: Show rendered markdown folder description.
This commit adds code to show markdown formatted description
in "Channel folders" panel instead of raw text.
2025-08-08 15:40:31 -07:00