Commit Graph

66320 Commits

Author SHA1 Message Date
Sahil Batra
5675860707 channel-folders: Send event when reordering channel folders. 2025-08-12 11:17:17 -07:00
Alex Vandiver
e132af28fc start-server: Warn on deploy mismatch if it is a noop. 2025-08-12 10:50:30 -07:00
Sahil Batra
7b4840da41 folders: Update folders data on successful request.
Instead of waiting for event from the server, we update the data
objects in channel_folders.ts when editing and archiving the
folder so that the dropdown list is updated immediately and
user sees the updated list in cases where event is delayed.
2025-08-12 10:32:11 -07:00
Sahil Batra
597ead9732 stream-settings: Fix live update of selected option in folder dropdown.
This commit adds code to fix the live update of folder name selected in
dropdown but not saved using "Save changes" button. And this also
includes code for updating the name for folder selected in stream
creation form.
2025-08-12 10:31:42 -07:00
Sahil Batra
f4cc746ae9 stream-settings: Move update_channel_folder_name.
This commit moves update_channel_folder_name function from
stream_ui_updates.ts to stream_settings_ui.ts to avoid
import cycle in further commits.
2025-08-12 10:31:42 -07:00
Sahil Batra
de5fd3c474 stream_create: Add a new function to set folder dropdown value.
This commit adds a new function to set folder dropdown value
in stream creation form, that will be used in further commits
to make live update work correctly.
2025-08-12 10:31:42 -07:00
Tim Abbott
cdc3647b91 folders: Fix search_term function name typo. 2025-08-12 10:30:52 -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
35896244d7 channel_folders: Add help function to check if user has sub in folder.
This commit adds a function that returns true if user is subscribed
to a channel which is in a channel folder.
2025-08-12 10:29:19 -07:00
Alex Vandiver
f6eba9c396 log-search: Add --extra filter, for [dm] and similar filters. 2025-08-12 10:25:44 -07:00
Alex Vandiver
b8b6b1cfd0 docs: Clarify disk space requirements.
Saying "10GB" often causes users to set up a VM with 10GB _total_
space, when the intended reading is that Zulip itself needs 10GB --
and the OS takes up a non-trivial amount of that already.
2025-08-12 10:23:18 -07:00
Aman Agrawal
9d05c80e63 channel_folders: Include channels whose folder names also match search. 2025-08-12 10:20:19 -07:00
Aman Agrawal
7731eacac2 sidebar_ui: Remove collapsed rows from keyboard navigation. 2025-08-12 10:20:19 -07:00
Pratik Chanda
6febd1977a stream_settings: Pass realm_has_channel_folders for stream creation.
This commit passes the `realm_has_channel_folders` to the settings
overlay template to render the channel folders dropdown appropriately
according to permissions.
2025-08-12 10:19:37 -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
Karl Stolley
6cf1f0071b left_sidebar: Don't normalize search wrapper height. 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
Aman Agrawal
abd54396de unread: Move function to stream_list to avoid circular imports. 2025-08-12 00:38:22 -07:00
Sahil Batra
bcdfcf909d welcome-bot: Only send message with custom text when testing.
We now only send the custom message when using
"Send me a test message" button and not send the
standard welcome bot message.
2025-08-12 00:12:52 -07:00
apoorvapendse
8f14b717ff zerver: Drop support for Zulip API emails in channel creation.
Also write the description a bit better.

Discussion:
https://chat.zulip.org/#narrow/channel/378-api-design/topic/Channel.20creation.20should.20return.20the.20channel.20ID/near/2240040.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-11 23:40:12 -07:00
Evy Kassirer
9adee70d8d left_sidebar: Hide counts in section header when no unreads.
Reported here: https://chat.zulip.org/#narrow/channel/9-issues/topic/.F0.9F.8E.AF.20broken.20unread.20marker.20w.2F.20.22No.20channels.22.20configuration/near/2241414
2025-08-11 23:35:27 -07:00
Alya Abbott
80effad224 help: Improve SCIM group sync documentation. 2025-08-11 18:28:33 -07:00
Alya Abbott
fd658a9cf1 portico: Document SCIM group sync on plans page. 2025-08-11 18:28:33 -07:00
Evy Kassirer
4df4f072f4 stream_list: Show mention indicator in section headings.
Fixes #35104.
2025-08-11 14:57:28 -07:00
Alya Abbott
304fe9ff14 help: Document configuring a custom welcome message. 2025-08-11 14:46:33 -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
eda4a14393 channel_folders: Add helper function to get all active channel ids.
This commit adds a helper function which returns all active channel ids
stored in a set.
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
Karl Stolley
7a2116ab5d compose: Suppress low-attention styles with keyboard focus. 2025-08-11 14:37:56 -07:00
Prakhar Pratyush
870591e2e5 test_urls: Skip api_docs/unmerged.d/ while testing api doc pages.
We missed to skip `api_docs/unmerged.d/` in 9ec15e99bd,
resulting in test failure in pull requests where it is present.
2025-08-11 14:37:31 -07:00
Karl Stolley
7dce8df4e8 left_sidebar: Avoid clipping tall glyphs in DM groups, topics. 2025-08-11 14:36:38 -07:00
Tim Abbott
9ca22320cd stream_list: Extract ui_util.get_left_sidebar_search_term.
This will support it being accessed from all the sidebar modules.
2025-08-11 14:22:32 -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
Aman Agrawal
ec73181405 sidebar_ui: Migrate function to avoid circular import. 2025-08-11 14:22:32 -07:00
Aman Agrawal
56bca6d56d pm_list: Remove dependency on sidebar_ui.
This is to remove cyclic dependency between pm_list and sidebar_ui
in future commits.
2025-08-11 14:22:32 -07:00
Aman Agrawal
f359e357b8 left_sidebar: Use hidden-by-filters to hide top left row items. 2025-08-11 14:22:32 -07:00
Aman Agrawal
845ee604a8 left_sidebar_navigation_area: Extract function to expand views. 2025-08-11 14:22:32 -07:00
Sahil Batra
6292b03b33 overlays: Handle restoring messages in inaccessible streams.
On trying to restore a draft or a scheduled message in a
stream that is no longer accessible, compose box is opened
without selecting any stream with dropdown open.

Previously, it raised an AssertionError.
2025-08-11 12:55:50 -07:00
Sahil Batra
f1f317c8c3 schduled-msgs-ui: Fix messages scheduled in inaccessible streams.
If there are scheduled messages in a stream that is no longer
accessible, just keep the stream name empty for the message in
the scheduled messages overlay. Previously, there was an
AssertionError when trying to open the scheduled messages
overlay and it was opened empty.
2025-08-11 12:55:50 -07:00
Tim Abbott
941a91bc6c Revert "compose_actions: Clean up unnecessary rewire."
This reverts commit 56faf6b22a.

I need to merge another PR that wasn't updated.
2025-08-11 12:55:50 -07:00
Alex Vandiver
80e900c45e docs: PostgreSQL 17 support was backported to 10.x.
In 85b2e6a1e9.
2025-08-11 12:37:27 -07:00
Kislay Verma
798f7391f3 stream_list_sort: Improve test by using type-correct data.
We use `make_stream` to use type-correct objects in the test.

Fixes part of #32326.
2025-08-11 11:57:49 -07:00