Evy Kassirer
14ce2c5a81
stream_list_sort: Don't include unsubscribed streams in sort results.
...
Fixes bug reported here:
https://chat.zulip.org/#narrow/channel/9-issues/topic/exception.20when.20viewing.20world-public.20channel.20as.20a.20guest/near/2240871
2025-08-13 00:16:52 -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
Pratik Chanda
76e0acd027
search_suggestion: Show channel: operator suggestion on empty query.
...
This commit shows `channel:` operator suggestion when search query
is empty.
2025-08-12 15:18:11 -07:00
Pratik Chanda
9dbd13d5a6
search_suggestion: Show operator autocomplete suggestion at top.
...
Earlier, operator autocomplete suggestion was showed at bottom after
operator with operand value suggestions.
This commit brings operator autocomplete suggestion to higher priority
in the suggestion list.
2025-08-12 15:18:11 -07:00
Pratik Chanda
b0eefb8a31
stream_data: Track web public streams in current org.
...
This commit tracks all available web-public stream_ids in org.
2025-08-12 15:18:11 -07:00
Pratik Chanda
20889b3f78
filter: Enable channels operator for can_apply_locally.
...
Earlier, validating messages on given narrow skipped for channels
operator.
This commit adds channels operator support for checking if message
corresponds to given search term.
2025-08-12 15:18:11 -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
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
Tim Abbott
cdc3647b91
folders: Fix search_term function name typo.
2025-08-12 10:30:52 -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
Aman Agrawal
9d05c80e63
channel_folders: Include channels whose folder names also match search.
2025-08-12 10:20:19 -07:00
Aman Agrawal
78a3ef56e4
left_sidebar: Support filtering all items using the search input.
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
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
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
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
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
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
Karl Stolley
8a217d8cc7
compose: No longer update attention on recipient change.
...
This is superfluous with attention being calculated on
focus and blur events.
2025-08-11 10:36:21 -07:00
Evy Kassirer
259fd250ed
stream_list: Update unread counts when building the sidebar.
...
This bug was introduced by 8817284f7a
which should have included this line.
2025-08-11 10:15:15 -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
83cfff0ad0
empty_feed_notice: Use _html variables in template.
...
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
Evy Kassirer
a644874e76
stream_list: Add folder ids to StreamListSection object.
...
Followup to
https://github.com/zulip/zulip/pull/35075#discussion_r2232041259
2025-08-08 12:05:05 -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
Karl Stolley
05b8fea10f
audio_player: Postprocess audio for added structure, classes.
2025-08-06 10:45:31 -07:00
amcdowell226
124a32e819
compose: Save messages as drafts when window loses focus.
...
Add a check for window blur and save any in-progress
messages as drafts. This will help prevent unnecessary
message loss for the user by creating drafts for them more
whenever they switch away from their Zulip tab.
Tested on my local Ubuntu development with a demo
organization and some of the premade profiles.
Fixes #35262 .
2025-08-05 15:28:13 -07:00
Vector73
6c94266bf9
stream_data: Rename is_stream_archived function.
...
Renames `is_stream_archived` function to `is_stream_archived_by_id`.
2025-08-05 13:41:08 -07:00
Aman Agrawal
8207eaab55
left_sidebar: Refactor to support user's navigation view preference.
...
Co-authored-by: Aditya Chaudhary <aditya.chaudhary1558@gmail.com>
2025-08-04 18:33:36 -07:00
Sahil Batra
524442bf44
streams-ui: Add UI to update and archive channel folders.
...
This commit adds edit and delete buttons in the dropdown
list for folder.
Fixes #35498 .
2025-08-04 13:22:11 -07:00
Sahil Batra
e70d8c7a80
streams-ui: Reset folder dropdown if selected folder is archived.
...
This commit adds live-update code to reset the dropdown when user
is changing the folder for a channel or setting the folder for a
new channel and the selected folder is archived.
2025-08-04 13:22:11 -07:00
Sahil Batra
e7cb472188
dropdown-widget: Pass aria-label for icon buttons in options.
...
This commit updates code to pass aria-label for icon buttons
in dropdown widget options so that they can be used in
dropdown_list.hbs template instead of directly defining them
in the template file.
We currently show buttons in saved snippets dropdown only
so defining the labels in template file worked correctly
but it is good to pass them as variables so that it is
simpler to add buttons for other dropdowns when required.
2025-08-04 13:22:11 -07:00
Lauryn Menard
7a9b78f1f5
settings: Add user setting to ignore channel folders in left sidebar.
...
Check feature level updated / check-feature-level-updated (push) Has been cancelled
Code scanning / CodeQL (push) Has been cancelled
Zulip production suite / Ubuntu 22.04 production build (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:bookworm, true, false, Debian 12 (Python 3.11, backend + documentation), bookworm) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:jammy, false, true, Ubuntu 22.04 (Python 3.10, backend + frontend), jammy) (push) Has been cancelled
Zulip CI / ${{ matrix.name }} (zulip/ci:noble, false, false, Ubuntu 24.04 (Python 3.12, backend), noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm, --test-custom-db, Debian 12 production install with custom db name and user, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy, , Ubuntu 22.04 production install and PostgreSQL upgrade with pgroonga, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble, , Ubuntu 24.04 production install, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-7.0, 7.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:bookworm-8.0, 8.0 Version Upgrade, bookworm) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:jammy-6.0, 6.0 Version Upgrade, jammy) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-10.0, 10.0 Version Upgrade, noble) (push) Has been cancelled
Zulip production suite / ${{ matrix.name }} (zulip/ci:noble-9.0, 9.0 Version Upgrade, noble) (push) Has been cancelled
Fixes #35573 .
2025-08-01 09:18:19 -07:00
Maneesh Shukla
a93a015b21
banners: Redesign organization upgrade banners.
...
This commit redesigns the upgrade and sponsorship banners by adding
AVAILABLE_ON_STANDARD, UPGRADE_ACCESS_BANNER, and
UPGRADE_OR_SPONSORSHIP_BANNER.
Fixes part of #34252 .
2025-08-01 09:08:30 -07:00
Anders Kaseorg
985498a4ff
tests: Remove unused mocks.
...
These became unused in #35075 .
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-07-30 17:20:56 -07:00
Evy Kassirer
033ef953db
left_sidebar: Fully rerender stream list when count display policy changes.
...
Now that there are many counts to update, we may as well just rerender
the whole stream list.
2025-07-29 17:37:29 -07:00
Sahil Batra
3483c1dbcb
server_events_dispatch: Handle channel_folder/update event.
2025-07-28 12:52:40 -07:00
Evy Kassirer
18463b45a2
left_sidebar: Skip invisible rows in keyboard navigation.
...
Collapsed sections and inactive channel lists are not visible and so
should be ignored in keyboard naviation.
2025-07-28 10:28:01 -07:00
Evy Kassirer
f984b44ab9
left_sidebar: Remove inactive section, put inactive channels in regular section.
2025-07-28 10:28:01 -07:00
Evy Kassirer
e63ee026fe
left_sidebar: Hide inactive channels in channel folders.
2025-07-28 10:28:01 -07:00
Evy Kassirer
e6fecfc8eb
left_sidebar: Show channel folders in left sidebar.
...
Fixes part of #31972 .
2025-07-28 10:28:01 -07:00
Evy Kassirer
2a8012b312
left_sidebar: Show faded muted unread for header if no regular unreads.
2025-07-28 10:28:01 -07:00
Evy Kassirer
bc6b0cccf4
left_sidebar: Add unread markers to channel section headers.
2025-07-28 10:28:01 -07:00
Evy Kassirer
739debf7b4
left_sidebar: Add plus icon to channel section headers.
2025-07-28 10:28:01 -07:00
Evy Kassirer
add97effbb
left_sidebar: Show highlighted channel/topic even when folder is collapsed.
2025-07-28 10:28:01 -07:00