Commit Graph

66331 Commits

Author SHA1 Message Date
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
Vector73
f1d1d5f1a4 events: Add support for sending presence events in modern format.
If the client has passed `simplified_presence_events` as true
in the `client_capabilities` parameter of the `POST /register`
request, then the server will send `presence` events with the
`presences` field, which has the user presence data in the
modern API format. When that client capability is false, the
`presence` event will be unchanged and sent with the user
presence data in the legacy format.
2025-08-12 12:37:54 -07:00
Vector73
88761f70a2 event_schema: Rename "presence" event to "legacy_presence". 2025-08-12 12:14:56 -07:00
Mateusz Mandera
58427f8ed1 external_auth_id: Add new unique constraint. 2025-08-12 12:10:45 -07:00
Lauryn Menard
51c596b9c7 help: Update mobile tab for "View who has read a message". 2025-08-12 12:06:48 -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
Sahil Batra
21c1c24908 inbox_ui: Sort channel folders by order field. 2025-08-12 11:17:17 -07:00
Sahil Batra
1bd089ae99 folders: Live update UI on reordering channel folders.
This commit adds code to live update "Channel folders" panel
and left sidebar on reordering of channel folders.
2025-08-12 11:17:17 -07:00
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