Commit Graph

10 Commits

Author SHA1 Message Date
Lauryn Menard
3143662830 narrow-state: Use stream_id in cases where only stream ID is needed.
Updates calls to narrow_state.stream_sub that do not use the
StreamSubscription data, but rather just need a valid stream ID.
2025-03-06 17:47:59 -08:00
Tim Abbott
8cbd5e3612 buddy_data: Fix inconsistent subscriber status test.
The `subscribed` state elsewhere in this test has the current user
subscribed, so they should be there in peer_data.
2025-03-06 17:44:36 -08:00
whilstsomebody
6c6d5fbb6a people: Use Intl.ListFormat rather than .join(",").
Fixes: #26936

Co-authored by: CIC4DA <dhruv.jain9100@gmail.com>
2025-03-04 16:58:23 -08:00
Maneesh Shukla
11e334fa8a presence_data: Fetch presence data when user card is opened.
This commit adds a new function to fetch presence data when the user
card is opened. This data is then used to display the user's presence
status in the card.

Fixes: #31037.
2025-03-03 16:11:30 -08:00
Maneesh Shukla
b7ce31135d deactivated_user: Correctly display deactivated users in the right sidebar.
Fixes: #30797.
2025-02-21 18:01:26 -08:00
Aman Agrawal
4385005200 message_list: Avoid rerender of user sidebar when adding msgs.
Added methods to live update user sidebar when messages are
added or removed from the message list without doing a complete
rerender.
2025-01-10 11:23:23 -08:00
Aman Agrawal
df0d3b25c9 buddy_list: Use participants data from current message list.
Instead of tracking an outdate participants data, we use the
`participants` data from the current message list.
2025-01-10 11:17:46 -08:00
Karl Stolley
67a67897f9 user_circles: Introduce status-based hyphenated classes. 2024-12-13 14:33:23 -08:00
opmkumar
c4ad9d8e09 tooltip: Remove "last active" time from deactivated user tooltip.
Removes "last active" time from deactivated user tooltip and instead adds
"This user has been deactivated." Also, in the deactivated bot tooltip,
"This bot has been deactivated." has been added.

Fixes #32136.
2024-11-13 10:39:09 -08:00
Anders Kaseorg
687f1b1651 tests: Rename the Node tests to *.cjs.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2024-11-13 09:18:56 -08:00