2193 Commits

Author SHA1 Message Date
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
Maneesh Shukla
6e43d34a34 topic-filter: Replace usage of search_pill.
Add topic_filter_pill to use for topic filtering instead of search_pill.

Fixes part of #35284.
2025-08-08 14:29:22 -07:00
Maneesh Shukla
15f2c65986 settings-preferences: Create left sidebar section.
This commit removes the following settings from the Settings/Preferences
Information section and adds a new section in the Settings/Preferences
called as Left Sidebar section:

- Show unread counts for
- Show unread count total on home view
- Show counts for starred messages
- Group channels by folder in the left sidebar
- Hide inactive channels

Fixes #35601.
2025-08-08 14:00:11 -07:00
Maneesh Shukla
c9fd9ade11 buttons: Rename sticky-bottom-option to sticky-bottom-option-button.
Fixes part of #35006.
2025-08-07 18:21:39 -07:00
Maneesh Shukla
6815a65a18 buttons: Redesign sticky-bottom-option button.
This commit removes "button" and "rounded" class from the button and
add the required rules to the pre existing sticky-bottom-option class.

Fixes part of #35006.
2025-08-07 18:21:39 -07:00
Niloth P
7022811349 integrations: Add URL option and UI for mapping messages to Zulip channels.
This commit adds a "mapping" URL option preset that adds "Matching Zulip
channel" option to the stream dropdown widget. When that option is
chosen from the dropdown, it adds another parameter to the integration
URL -- "&mapping=channels".

This "mapping" parameter is meant to be used by integrations like Slack
to identify whether the user wants to map Slack channels to different
Zulip channels or different topics within a single channel.

This adds an icon for the `mapping`s' drop down option in the "Where to
send notification" drop down field.

Co-authored-by: Pieter CK <pieterceka123@gmail.com>
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-08-07 17:19:03 -07:00
Kislay Verma
f0a88d51cc message_reminders: Add support for notes.
This commit adds the ability for users to include notes
with their message reminders.

Fixes #35070.

Co-Authored-By: Aman Agrawal <amanagr@zulip.com>
2025-08-07 17:13:12 -07:00
Sahil Batra
52b21127e2 settings: Refactor class names for folder rows.
This commit removes unused classes in folder row elements
and updated used class names to use "-" instead of "_"
following the convention we follow usually.
2025-08-07 16:51:50 -07:00
Sahil Batra
c127a0ae9f settings: Add UI to manage channel folders.
Fixes part of #35545.
2025-08-06 18:58:15 -07:00
Karl Stolley
2fdf179d42 navbar: Redraw log-in icon with thinner stroke. 2025-08-06 10:16:55 -07:00
Karl Stolley
b27a9fdbf1 left_sidebar: Show home unread count in condensed views.
The view is left as-is, however, for users who prefer
masked unreads.
2025-08-05 15:04:14 -07:00