Commit Graph

7 Commits

Author SHA1 Message Date
Prakhar Pratyush
8a1b1590ad recent_view_search: Add support to search for empty string topics.
We show `realm_empty_topic_display_name` for empty string topics
in the recent conversations view.

This commit makes it possible for users to search for
the `realm_empty_topic_display_name` value to filter out empty
string topics.
2025-01-22 16:09:46 -08:00
Aman Agrawal
05c0213cad recent_view: Prevent participant avatars from overflowing.
We update max_avatars on rerenders based on recent view width
to prevent participant avatars from overflowing their width.

We use resize event to update `--recent-view-max-avatars` which
is checked on `complete_rerender`.
2025-01-13 18:30:38 -08:00
Aman Agrawal
1587ebf661 recent_view: Remove unused test mock. 2025-01-13 18:30:38 -08:00
Prakhar Pratyush
8483b7bbcd recent_view_row: Show realm_empty_topic_display_name for topic="".
This commit adds support to display `realm_empty_topic_display_name`
value in the recent conversations view for topics having the actual
value of empty string.
2025-01-10 14:32:55 -08:00
Karl Stolley
668cff365b recent_conversations: Use Intl.ListFormat rather than .join(", "). 2024-12-17 11:01:21 -08:00
Sayam Samal
650076b027 recent_view: Rename btn -> button in CSS classes.
This commit is a part of the efforts to rename btn-related classes
and variables to align with Zulip's no-abbreviations policy and
streamline the search results.
2024-11-14 12:03:36 -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