Commit Graph

65439 Commits

Author SHA1 Message Date
Sayam Samal
26f0b755af inbox: Adjust height of inbox dropdown widget to match filter input. 2025-07-03 11:45:35 -07:00
Sayam Samal
b6ff748602 inbox: Standardize inbox filter input.
This follow-up commit replaces the current inbox filter input
implementation with the redesigned input component.

Fixes part of #34476.
2025-07-03 11:45:35 -07:00
Sayam Samal
71d75532fe inputs: Implement redesigned input component.
This commit serves as the base for the ongoing effort to standardize
redesigned input elements throughout the Zulip Web UI. It introduces a
new Handlebars partial block for inputs, located at
web/templates/components/input.hbs.

The partial can be used with the partial block syntax: {{#> input}},
allowing contributors to pass in the input element as a template. This
approach wraps the input with a consistent structure that includes
support for an icon and an action button. It also applies the necessary
styling to ensure visual and functional consistency across the web UI.

This commit also implements the filter input component at
/devtools/inputs/ showroom page for design discussions and prototyping.
2025-07-03 11:45:35 -07:00
Sayam Samal
f8d82775d1 showroom: Set up devtools/inputs page for showcasing input components.
This is a prep commit to setup the devtools/inputs page for the
redesigned input components.
2025-07-03 11:45:35 -07:00
evykassirer
236e595438 settings: Use grid and flex for the two-pane settings overlay.
Instead of changing the height of the button subheader depending
on the width of the modal, which was fiddly and error prone, we now
let grid determine the height of the button subheader, and determine
the height of the body through javascript resize calculations.
2025-07-03 11:22:31 -07:00
Sahil Batra
e66431f128 group-settings: Fix how long names are handled in groups UI.
This commit fixes code to correctly show the long group
names by clipping them and showing ellipsis in group rows
in left panel and in the header shown in right section.

Group names are handled in a different way than stream
names because we need to show deactivated icons as well
for stream names.
2025-07-03 11:22:31 -07:00
Rohan Gudimetla
8e0ba8cccf topics: Server generated permalinks now prefer latest message id.
Previously, when a topic is mentioned, the server generated a
permalink using the earliest accessible message of the topic.

This commit updates it to rather use the latest message of the
topic.
2025-07-03 11:06:39 -07:00
Niloth P
344c1ef606 docs: Use bold formatting for channel names instead of backticks.
Update the occurrences of channel names that still use backticks to use
the convention of bold formatting.
2025-07-03 10:51:13 -07:00
Prakhar Pratyush
b382315f82 channel_email: Fix copy email button not copying displayed text.
This commit fixes a bug where clicking the copy icon in the
'#copy_email_address_modal' did not copy the email address
displayed to the clipboard.

It was because we didn't set the 'text' option to specify
the explicit text to copy.

Fixes: #35062.
2025-07-03 10:45:49 -07:00
Karl Stolley
91af320982 home_view: Correctly justify unread marker. 2025-07-03 10:38:41 -07:00
Tim Abbott
6530d3d59d docs: Update changelog for Zulip Server 10.4 release. 2025-07-02 13:30:22 -07:00
Aman Agrawal
5a65bd4746 reminders: Fix poll and todo list not correctly formatted for reminder. 2025-07-02 13:02:53 -07:00
Aman Agrawal
82abc7e10c help: Document how to use reminders feature. 2025-07-02 13:02:52 -07:00
Aman Agrawal
4a8d86f151 overlays: Add overlay to display scheduled reminders. 2025-07-02 13:02:45 -07:00
Aman Agrawal
25731859b6 zerver: Add endpoints and events for reminders.
There are similar to what exists for scheduled messages expect
the PATCH requests which will be added later when the
functionality is implemented.
2025-07-02 12:47:00 -07:00
Lauryn Menard
0b4da0ae35 help: Document managing channel notifications via personal settings.
Changes the tab for the current web app instructions to be "Via
left sidebar" and adds a tab for web app instructions "Via personal
settings".

Also, includes a tip for resetting a channel's notifications to the
default via hovering over the channel name in the notifications
table and clicking the icon to reset to default notifications.

Fixes #34862.
2025-07-02 12:39:35 -07:00
Saubhagya Patel
26327135c0 api: Fix incorrect feature level format in zulip.yaml file.
In the `zulip.yaml` file, the commit
54b5182 - user_groups: Add API support to reactivate a user group
was merged without updating the feature level to the correct format.
This commit fixes that feature level.
2025-07-02 12:37:26 -07:00
Tim Abbott
e68b7c6ddf hotkey: Fix reference to supports_collapsing_recipients. 2025-07-02 12:36:43 -07:00
Evy Kassirer
c71452c114 left_sidebar: Fade inactive streams in the same way as muted streams.
This fixes a double fade bug reported here:
https://chat.zulip.org/#narrow/channel/9-issues/topic/muted.20inactive.20channels/near/2209364
2025-07-02 12:17:28 -07:00
Anders Kaseorg
08a17ef22d CVE-2025-52559: Generate HTML for digest new channels safely.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-07-02 12:12:36 -07:00
Anders Kaseorg
a274170293 CVE-2025-52559: Generate HTML for digest message sender safely.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-07-02 12:12:36 -07:00
Anders Kaseorg
c33b6cae38 CVE-2025-52559: Generate HTML for digest recipient header safely.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-07-02 12:12:36 -07:00
Tim Abbott
07c09083fb message_view: Fix whitespace in finicky node tests. 2025-07-02 11:39:38 -07:00
Vector73
459b4867f2 tools: Add support for viewing updated changelog for testing.
Adds support for showing unmerged changelogs in
"changelog.md" for testing purposes.
2025-07-02 11:34:34 -07:00
Pratik Chanda
85d44a1328 sidebar: Remove realm-description code block in right sidebar.
This part of the UI was removed from the sidebar in commit
2feee9d756. There is still unreachable
codeblock inside right sidebar.

This commit removes the unreachable code.
2025-07-02 11:32:23 -07:00
theofficialvedantjoshi
d94ba5e45b gitlab: Add deployment webhooks.
Fixes: #34220.
2025-07-02 11:31:15 -07:00
whilstsomebody
77cf174b1b empty_feed_notice: Show only query words for empty search results.
Previously, we included channel, topic, sender name and search
qeries (if present) in the empty feed banner.

With this commit, we will now not include channel, topic and sender
name and we only display the search queries when there are excluded
stop words.

Fixes: #34872
2025-07-02 11:27:33 -07:00
Lauryn Menard
ad4732adb5 narrow-banner: Use shared function for empty narrows with search data. 2025-07-02 11:26:16 -07:00
Lauryn Menard
9b787fc3db narrow-banner: Add constant for empty "No search results" title. 2025-07-02 11:26:15 -07:00
Tim Abbott
3593c5f4c7 run-dev: Disable Django runserver warning. 2025-07-02 11:25:30 -07:00
Maneesh Shukla
3b874c3dfa modals: Convert schedule message modal to popover.
Fixes: #35003
2025-07-02 10:34:47 -07:00
Lauryn Menard
3d3f7b3782 help: Add example email invitation image to "Invite new users".
Adds a link to the section on email invitations to the invite user
modal next to the label for the emails input.

Fixes #29376.
2025-07-02 10:23:38 -07:00
Alex Vandiver
8cde0af040 email_mirror: Fail more gracefully on empty EMAIL_GATEWAY_PATTERN.
Otherwise, this fails on `match.group(1)` as there is no match group.

The server would ideally respond with a 521 or 556 code[^1] on initial
connection, but aiosmtpd does not provide that option.

[^1]: https://www.rfc-editor.org/rfc/rfc7504
2025-07-02 10:21:08 -07:00
Alex Vandiver
43a7035745 docker: Start local mailserver on port 25. 2025-07-02 10:21:08 -07:00
Aman Agrawal
29c4d86d81 case-studies: Add WindBorne case study.
Co-authored-by: Alya Abbott <alya@zulip.com>
2025-07-02 09:36:47 -07:00
Shubham Padia
30ff98c2f6 help-beta: Function to insert flattened steps should run on includes.
We were not running this function on includes, for relative/settings
links and for nested includes, we need to flatten them in the includes
too.
2025-07-02 09:27:48 -07:00
Kislay Verma
acf491e6d0 compose_reply: Empty DM recipient box on forwarding message.
This fixes an accidental change introduced in #32578.

Forwarding a message and choosing DM should result in
an empty recipient box instead of showing current
recipients.
2025-07-02 09:27:22 -07:00
Pratik Chanda
ac4c3335e8 help_menu: Center keyboard shortcut text in kbd element.
This commit fixes the kbd element text being centered in dark theme
but not in light theme. Aligns text for all kbd elements not just
in dark theme.

Fixes:zulip#35059.
2025-07-02 09:26:45 -07:00
Sahil Batra
906f8d076c stream-settings: Set show_not_subscribed value when opening overlay.
We reset the internal state while opening the stream settings
overlay to reflect that "Subscribed" tab will be selected.
We did set show_subscribed value to "True" but did not
set show_not_subscribed value to "False".

Due to this opening the overlay, after closing the overlay
when "Not subscribed" tab was selected, resulted in left
panel being shown empty with "Subscribed" tab selected
even when there were subscribed streams because both
show_subscribed and show_not_subscribed were set to "True".

This commit fixes it by setting show_not_subscribed to
"False" as well when resetting the state.
2025-07-02 09:26:09 -07:00
Aman Agrawal
ab5bce02c6 hotkey: Use existing function to get channel_id. 2025-07-02 09:25:47 -07:00
Aman Agrawal
8f1f34b2ea common: Add a proper delay. 2025-07-02 11:50:47 +05:30
PieterCK
1e4b0bdfea filter: Rename supports_collapsing_recipients.
This renames the function to `contains_no_partial_conversations`. The
function initially was created to determine whether its appropriate to
collapse recipient/sender headings. Since then it has many other use
cases, so it's renamed to clearly describe what it does instead.
2025-07-01 16:14:56 -07:00
Maneesh Shukla
992d8374b2 tooltip: Fix the placement of tooltip in group list.
When there is only one user group, the tooltip appears on the upper side
of the "group-row" and gets hidden.

This commit sets `overflow: visible` which is default value, causing the
tooltip position to invert when there is only one user group.
2025-07-01 14:16:31 -07:00
Maneesh Shukla
8ef51e1b6f tooltips: Fix incorrect tooltip on the spinner.
The "sub_unsub_status" spinner was inside the div with the "check" class
, causing the tooltip to appear over the spinner, which should only be
visible on the check icon.

This commit moves the "sub_unsub_status" spinner div outside, ensuring
the tooltip is now visible only when hovering over the check icon.
2025-07-01 14:16:31 -07:00
Maneesh Shukla
52b83f7b58 topic_list: Filter topics by resolved state in "more topics" view.
Fixes: #24200.
2025-07-01 14:02:57 -07:00
Aman Agrawal
2a325b4530 inbox: Save and restore search text for inbox and channel view. 2025-07-01 13:46:40 -07:00
Aman Agrawal
adb2884d59 inbox_ui: Fix buggy save and restore of navigation state.
The previous logic only worked correctly when user moved from
inbox view to channel topic list view and vice versa.

The logic failed if user moves out of inbox since then `save` state
is never called and hence when restore is called, the navigation
state gets reset.

Fixed by also saving state when inbox is hidden.
2025-07-01 13:46:40 -07:00
Aman Agrawal
6e73238ea3 inbox_ui: Rename save and restore functions for general use.
These functions can now also be used to save and restore
search text.
2025-07-01 13:46:40 -07:00
Aman Agrawal
defd120c94 hotkey: Add Y shortcut to go to a list of topics in channel. 2025-07-01 13:46:40 -07:00
Aman Agrawal
26299d09aa inbox: Fix topic not focused with r hotkey with no topic focused.
We mimic the behaviour of `c` hotkey to fix this bug.
2025-07-01 13:46:40 -07:00