Commit Graph

66311 Commits

Author SHA1 Message Date
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
Kislay Verma
56faf6b22a compose_actions: Clean up unnecessary rewire.
We organically create a user group so that the
pertinent code paths are accessed.

Fixes part of #32326.
2025-08-11 11:57:49 -07:00
Kislay Verma
c134cc398f tests: Add library function to create user groups.
This is done to ensure the objects exactly match
the schema/types during tests.

Fixes part of #32326.
2025-08-11 11:57:49 -07:00
Kislay Verma
e4b0af5536 compose_actions: Improve tests by using lib functions.
We use the `make_stream` and `make_user` functions to
make the objects type-correct.

Fixes part of #32326.
2025-08-11 11:57:49 -07:00
Kislay Verma
f209c65af3 composebox_typeahead: Clean up override_rewire.
We replace the rewires with `peer_data.set_subscribers`.
This also adds the passed stream_id to the set
`fetched_stream_ids`, which allows us to eliminate the
mocking of `channel.ts` in the test file. The mock was
earlier required because of a call to
`peer_data.maybe_fetch_stream_subscribers` in
`compare_people_for_relevance`.

Fixes part of #32326.
2025-08-11 11:57:49 -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
9b979d4072 user_status: Add active state styling to status emoji picker.
This commit adds the active state styling to the status emoji picker,
when the status emoji picker popover is open.
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
405c8f094d hotkey: Trigger click on target of "trigger-click-on-enter" element.
This commit fixes the "trigger-click-on-enter" functionality to
correctly trigger a click event on the element that has the class
"trigger-click-on-enter". The "currentTarget" was incorrectly used,
which referred to the element that the event handler is bound to,
instead of the actual target of the event.
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