Commit Graph

9339 Commits

Author SHA1 Message Date
Karl Stolley
3787fb3b02 message_list: Process me-messages as having message content. 2025-08-28 15:20:11 -07:00
Karl Stolley
1bcc52c860 cleanup: Remove comments from abandoned approach. 2025-08-28 15:20:11 -07:00
Sayam Samal
a0441b5bcb topic_popover: Update topic URL to permalink for message header popover.
This commit updates the topic URL in the message header topic menu
popover, introduced in feedb6ea2d to a
permalink having a `with` operator attached to it.
2025-08-28 15:08:47 -07:00
Kislay Verma
67ca49488f tests: Use make_realm to create type-correct realm objects.
Another step in the direction of improving node tests
and using type-correct organic data as much as possible.
2025-08-28 11:35:07 -07:00
Karl Stolley
2660c876fa recents: Align filter tops top left, right sidebars. 2025-08-28 10:11:25 -07:00
Karl Stolley
b71352c4dc inbox: Align filters to left, right sidebars. 2025-08-28 10:11:25 -07:00
Karl Stolley
a5ab61f83a right_sidebar: Eliminate gap between filter, vdots area. 2025-08-28 10:11:25 -07:00
Karl Stolley
545b14abfa right_sidebar: Establish last-item/next-heading concord. 2025-08-28 10:11:25 -07:00
Karl Stolley
4f08718163 sidebars: Add easily adjustable space below sidebar filters. 2025-08-28 10:11:25 -07:00
Karl Stolley
b3fb672b5d sidebars: Bring left, right sidebar tops into concord. 2025-08-28 10:11:25 -07:00
Karl Stolley
176ba669c2 left_sidebar: Zero out space below Views. 2025-08-28 10:11:25 -07:00
Aman Agrawal
a13f4e4832 hash_util: Use user_id instead of email to generate DM emails. 2025-08-28 10:08:36 -07:00
Aman Agrawal
0a264a8d60 people: Add function to URL slug from user_ids.
This is similar to `emails_to_slug` which will removed
from future commits.
2025-08-28 10:08:36 -07:00
Aman Agrawal
f5dc7f41be people: Extract function to convert full name to URL slug. 2025-08-28 10:08:36 -07:00
opmkumar
ea97d1a77a hotkey: Enable spectators to copy via keyboard in web-public channels.
Fixes #35782.
2025-08-28 10:05:25 -07:00
Mohammad Reza Kianifar
daadf110d9 scheduled_messages: Add support for self-DM identification.
Similar to drafts, identify when a scheduled message will be sent to
the logged-in user. This allows the UI to show 'You' as the header for
self-scheduled messages, improving the user experience.
2025-08-28 10:04:37 -07:00
Aman Agrawal
2671aff7c3 left_sidebar: Allow user to navigation on section headers. 2025-08-28 10:00:59 -07:00
Aman Agrawal
693e86746e header-avatar: Remove background and border around loaded image. 2025-08-28 10:00:04 -07:00
Aman Agrawal
d386b62ec7 user_events: Use correct selectors for updating current user avatar. 2025-08-28 10:00:04 -07:00
Evy Kassirer
258797c2fb app_components: Use variable for default dropdown widget button.
Followup to https://github.com/zulip/zulip/pull/33297/files#r1951862116
2025-08-28 09:58:59 -07:00
Evy Kassirer
aeab2fd097 stream_list_sort: Remove stream list row navigation code.
This stopped being used after 78a3ef56e4.
2025-08-28 09:51:26 -07:00
Sahil Batra
ead413f9f8 banners: Apply text-align property to banner-label element.
Adding "text-align: start" css to banner-label element makes
sure that the banner text is not aligned as per the alignment
of parent element, as we require left alignment of text for
all the banners. Only navbar banners have text align in center
but that is handled by adjusting the flex layout of the
banner-content, parent of banner-label, element.
2025-08-28 09:46:52 -07:00
Sahil Batra
6ab670bdee lightbox: Use single keydown handler for toggling overlay.
We use the same "v" key for opening and closing the
lightbox overlay.

We already have code to open and close the lightbox
overlay in hotkey.ts.

Having another keydown handler for closing the overlay
resulted in a bug where the overlay was just not being
opened because the second handler was immediately called
to close the overlay was immediately called after the first.

Fixes #35868.
2025-08-28 09:45:41 -07:00
Evy Kassirer
22ca76ba2b stream_data: Delete partial_subscribers off of sub creation attrs.
Followup to https://github.com/zulip/zulip/pull/34960#discussion_r2176959839
2025-08-28 09:36:11 -07:00
Vector73
92fbe47a3b events: Add support for processing modern presence event in web client. 2025-08-27 17:16:31 -07:00
Karl Stolley
c4e7f5ec0d icons: Remove two unused icons. 2025-08-27 13:50:40 -07:00
Karl Stolley
3e6f67446e icons: Update README and include list of in-house icons. 2025-08-27 13:50:40 -07:00
Aman Agrawal
a0c198ad99 deactivated_redirect: Preserve URL hash when redirecting.
URL hash from old url is lost using this JS method for redirecting,
preserved by extracting the hash and appending it to the new URL.

In case user clicks on the new url link, we do this by updating that url to
include the hash, and using that URL for the automated redirect as well.
2025-08-27 13:01:52 -07:00
Pratik Chanda
cef1bc487e css: Fix slow-send-spinner not applying on all messagebox-content.
Earlier, slow-send-spinner was working correctly for message with
messagebox-includes-sender. Any subsequent messages with
slow-send-spinner would result in broken animated because of rules
not applying properly.

This commit fixes this behaviour by applying the rules for all
messagebox-content and fixing the animation.
2025-08-27 12:57:23 -07:00
Pratik Chanda
6af4e82c49 notifications: Fix desktop notifications for message not grouping.
Earlier, message notifications for same key would not get grouped
together because of the old notification_object close event listener
firing up when not supposed to.

This commit fixes this behaviour by checking the notification object
instance is the same as the currently displayed notification object
from notice memory when closing it.

Co-authored-by: prakhar1144 <prakhar@zulip.com>
2025-08-27 10:59:38 -07:00
Aman Agrawal
3e7e81581c inbox: Show muted icon for muted channels. 2025-08-27 10:30:12 -07:00
Aman Agrawal
917a78ef52 inbox: Don't show same tooltip for all recipient_bar_icon icons.
We need to show different tooltip for channel row visibility icons.
2025-08-27 10:30:12 -07:00
Karl Stolley
cacc89e4d0 dom_selection: Select mousemove handlers on document. 2025-08-27 08:58:53 -07:00
Karl Stolley
e5a14ca3f1 dom_selection: Select scroll elements as :root. 2025-08-27 08:58:53 -07:00
Karl Stolley
4f681abf3c dom_selection: Get and set all CSS on :root. 2025-08-27 08:58:53 -07:00
Karl Stolley
e8f5c46054 reminders: Show vdots with reminders popover open. 2025-08-27 08:58:06 -07:00
apoorvapendse
533f177175 tests: Make puppeteer tests for drafts more robust.
I noticed that when you are in a group dm narrow
and open drafts, the overlay-message-row class
is inside different containers, and the nth last
child check does not apply for that case, which is
why the test failed.

More generally, last-child is just not a good selector for robust
testing.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-19 23:44:01 -07:00
apoorvapendse
7391a2983f links: Fix unnecessary blocking of click behavior.
Links become unclickable if the following is true:
1. Composebox is open
2. You have selected some text

Currently doing this will prevent the default click behavior
which is a big bug and can get quite annoying.

We now switch to a more robust check which only prevents the
click behavior if some drag evidence is present, determined with
`mouse_drag.is_drag`

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-08-19 23:43:58 -07:00
Shubham Padia
5938f685ad starlight_help: Display gradient for the idle status icon.
Fixes #35496.

We were displaying a solid color until we figured out how to accurately
display the gradient in the SVG itself.
2025-08-19 23:40:51 -07:00
Pratik Chanda
f9dc13014f hotkey: Fix argument type for narrow filter.
This commit fixes the operand argument type passed in for showing
message list.
2025-08-19 09:11:36 +05:30
Kislay Verma
a03e3a5166 ui_init: Fix bug in argument type.
As per the type definition of `NarrowTerm`,
the operand should be a string.

This bug caused exceptions each time a topic was
clicked in the left sidebar.
2025-08-18 18:27:18 +05:30
Maneesh Shukla
6787a14d74 tooltips: Use group ID instead of name for tooltip IDs.
Previously, tooltip templates were identified using the
group's name in their `id` attributes.

This change uses the group's ID instead, which is more reliable.
2025-08-15 10:17:30 -07:00
Maneesh Shukla
daa98c72d3 tooltips: Use stream ID instead of name for tooltip IDs.
Previously, tooltip templates were identified using the
stream's name in their `id` attributes.

This commit changes the tooltip IDs to use the stream's ID instead,
rather than its name, to ensure uniqueness and avoid potential conflicts.
2025-08-15 10:17:30 -07:00
Anders Kaseorg
7b0c6f9d3f dependencies: Upgrade JavaScript dependencies.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Anders Kaseorg
5d13749d26 eslint: Fix @typescript-eslint/no-unnecessary-type-conversion.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Anders Kaseorg
72e762f075 stylelint: Fix property-no-deprecated.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Anders Kaseorg
1539a23af0 stylelint: Fix nesting-selector-no-missing-scoping-root.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-08-14 21:37:50 -07:00
Evy Kassirer
81c7ebe2fc topic_list: Enable left sidebar search when closing topic list. 2025-08-14 16:44:43 -07:00
Sahil Batra
0a8238b993 stream-settings: Live update visibility of folder dropdown.
An error was raised where we tried to live update the folder name
in folder dropdown even when there was no dropdown visible
to the non-admin user in settings page. This was because
"There are no channel folders configured in this organization."
text was shown even when a folder was recently created in the
realm as we did not live update the visibility of dropdown on
creating or archiving a folder.

This commit fixes the bug by live-updating the visibility
of folder dropdown when creating or archiving a folder.
2025-08-14 13:18:31 -07:00
Rakshit
1a9d8acd40 settings: Use monospace font for displaying API key.
Previously, the API key was shown using a variable-width font, making
characters harder to distinguish. This change applies a monospace font to
improve readability and visual consistency.

Fixes #35189.

Co-authored-by: rxkshit04 <rakshitatwork@gmail.com>
Co-authored-by: cpu-ram <petr.stepanenko@gmail.com>
2025-08-13 14:14:04 -07:00