Commit Graph

221 Commits

Author SHA1 Message Date
Anders Kaseorg
287681d331 send_later_popover: Fix invalid <div> inside <label>.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-09-10 09:57:56 -07:00
Pratik Chanda
8711730e6b left_sidebar: Add menu to change channel folder setting in left sidebar.
Earlier, you could change setting to show/hide channel folders in
left sidebar from setting overlay.

This commit adds an menu option to toggle channel folders setting in
the left sidebar. The menu is hidden if there are no subscribed
channels with channel folder.

Fixes #35574.
2025-08-12 10:29:44 -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
Prakhar Pratyush
091ae95e69 left_sidebar_popover: Add highlighted-element class to <b>.
This commit adds 'highlighted-element' class to <b> tags in
the following left sidebar popovers:
* inbox
* combined feed
* recent conversations

'highlighted-element' class sets the 'font-weight: 600',
replacing the default of 700.
2025-08-05 14:50:56 -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
Aman Agrawal
61e25ff0cd channel_popover: Fix go-to-list-of-topics not working on enter.
Used `navigate-link-on-enter` class to fix it.
2025-07-18 16:41:26 -07:00
whilstsomebody
bbc842484f modal: Add options for marking messages as read.
We have updated our read messages confirmation modal
to now offer three options for marking messages as read:

- Muted topic messages
- Messages from topics I don't follow
- All unread messages

Additionally, the modal now displays the count of unread
messages for the selected option.

Fixes: #30025.
2025-07-10 17:57:25 -07:00
Maneesh Shukla
3b874c3dfa modals: Convert schedule message modal to popover.
Fixes: #35003
2025-07-02 10:34:47 -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
opmkumar
87cdea0fa1 left_sidebar: Always show home-view row popover, even with no unreads.
Fixes #28759.
2025-06-27 13:50:18 -07:00
opmkumar
2712325d1f left_sidebar: Use popover to show/hide unread summary counts.
Co-authored-by: Akarsh Jain <akarsh.jain.790@gmail.com>

Fixes part of #28759.
2025-06-27 13:50:18 -07:00
Aman Agrawal
b5f7e24669 message_reminder: Add UI to schedule message reminder.
This adds an option in message actions popover menu to schedule
a message reminder.
2025-06-25 12:05:28 -07:00
Saubhagya Patel
cfadd67c75 icons: Rename zulip-icon-unmute-new to zulip-icon-unmute.
This commit removes the old `zulip-icon-unmute` icon, which is
no longer used. The `zulip-icon-unmute-new` icon is now
renamed to `zulip-icon-unmute`.
2025-06-05 17:05:24 -07:00
Saubhagya Patel
b4f2c4cafc icons: Rename zulip-icon-mute-new to zulip-icon-mute.
This commit removes the old `zulip-icon-mute` icon, which is
no longer used. The `zulip-icon-mute-new` icon is now
renamed to `zulip-icon-mute`.
2025-06-05 17:05:24 -07:00
Lauryn Menard
7a0471c97c demo-orgs: Update gear menu for demo organizations. 2025-06-04 16:22:49 -07:00
Aman Agrawal
97c69e3038 inbox: Show inbox channel view based on user setting.
Fixes: #29574
2025-05-09 15:13:56 -07:00
Aman Agrawal
a393d9d495 user_group: Use double user icon instead of tripe user icon. 2025-03-14 11:07:33 -07:00
Aman Agrawal
832963042c Revert "user_card_popover: Use airplane eye icon to view dms."
This reverts commit 0ddb572be8.
2025-03-14 11:07:33 -07:00
roanster007
2c548d4856 settings: Allow "resolve topic" permissions to be managed independently.
This commit separates the "resolve topic" permissions from the
topic editing permissions, through the introduction of setting -
"can_resolve_topics_group" which user group whose members
can resolve topics.

Fixes #21811
2025-03-12 19:32:35 -07:00
Aman Agrawal
eae11d9056 user-group: Use 2 user cog icon for user group settings. 2025-03-12 09:14:37 -07:00
Sahil Batra
c8b1de6076 gear_menu: Allow spectators to change font size and line height. 2025-03-10 16:07:37 -07:00
Sahil Batra
6f6059da73 personal_menu: Support changing information density settings.
This commit adds UI in personal popover menu for user to change
font-size and line-height.

Fixes part of #33186.
2025-03-10 16:07:37 -07:00
Vector73
158fd58cde settings: Add "can_manage_billing_group" realm setting.
Added "can_manage_billing_group" realm group permission setting
to control who can manage billing and plans in the organization.

Fixes #32745.
2025-03-10 09:36:30 -07:00
sanchi-t
423ee27a23 stream_privacy: Add archive icon for archived channels.
Archived channels are now displayed with an archived
icon.
2025-03-07 18:08:41 -08:00
sanchi-t
874e7bacf9 popover_menus_data: Hide actions user can't take for archived channels.
Hide actions users cannot perform for messages and topics within
archived channels.
2025-03-07 18:08:41 -08:00
kash2104
53e173b54b i18n: Add translation mapping to EMOJI_CATEGORIES.
Fixes #21843.

Internationalize the emoji categories section labels.
Translating labels when displaying popover.
2025-03-05 11:35:38 -08:00
Aman Agrawal
47ba1ed737 user_card_popover: Use airplane eye icon to view dms. 2025-03-05 09:50:44 -08:00
apoorvapendse
d12feb1872 group_settings: Show all, active and deactivated groups.
Fixes #32877.
Co-authored-by: Sanchit Sharma <ssharmas10662@gmail.com>

Thanks to @sanchi-t, I've yanked a lot of code and approach
from his concurrent PR in 32475, especially the method of
toggling parent css class to hide/show relevant children.
2025-03-04 13:36:30 -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
Harsh
60c6af2ab4 left_sidebar: Show Mark all messages as unread in channel popover.
This commit adds an option to show `Mark all messages as unread`
when all messages in the channel are read.

fixes #33067.
2025-03-03 15:59:16 -08:00
Maneesh Shukla
a98135649f deactivated_user: Show deactivated status for deactivated users.
Fixes: #26833.
2025-02-18 22:20:05 -08:00
Sahil Batra
7eeb8a2c26 settings: Add personal setting to show or hide AI features.
Fixes #33231.
2025-02-12 12:05:04 -08:00
Sahil Batra
4ca28bb850 settings: Add setting to control permission for topic summarization. 2025-02-12 12:05:04 -08:00
whilstsomebody
c4a3b69f5c user_card_popover: Make user name selectable.
The 'user-select: none' property was originally added to
prevent users from highlighting images and menu option text
in popovers. However, applying it to the entire
'.popover-menu' unintentionally blocks text selection in
cases where it's useful, such as usernames in user cards.

This commit refines the approach by restricting by adding
'text-select' class to the username in user cards without
affecting the other elements of the popovers.
2025-02-04 11:19:58 -08:00
Sourabh Patel
fa1f911c5d left_sidebar: Prevent left_sidebar to auto hide on clicking popovers.
Previously, clicking on left_sidebar popovers on smaller screens,
where the left_sidebar is hidden by default, caused the left_sidebar
to close automatically. This required users to repeatedly reopen
the sidebar if they wanted to perform multiple actions on the popover.

This commit resolves the issue by adding the
no-auto-hide-left-sidebar-overlay class to the left_sidebar popovers.

Fixes: #27625
2025-01-31 14:10:05 -08:00
qnhn22
ac0d54abf1 user_group_popover: Reduce member list size, add member page links.
In user group popover, if a group has more than 30 members, just show
the first 30 members and add links to member management pages.

If a group is a system group, link to organization user
page. Otherwise, link to group member page.

Fixes #31550.
2025-01-30 12:37:27 -08:00
Sayam Samal
d24225c078 banners: Add navbar alerts banner testing option. 2025-01-30 10:17:39 -08:00
Vector73
91ddfdadd6 saved_snippets: Move "Saved snippets" button to compose control buttons.
This is follow-up of #31359 that moves "Saved snippets" button from
"send_later" popover to message formatting buttons and adds support
to use saved snippets in message-edit UI.

Fixes #31830.
2025-01-30 09:46:32 -08:00
Aman Agrawal
548afc2f1a topic_summary: Add button to generate narrow summary.
This remains only enabled in the development environment.
2025-01-28 13:13:20 -08:00
Pratik Chanda
f744625e4c tooltip: Add counts in tooltip for views in left sidebar.
Earlier, tooltip in left sidebar views had only the navigation list
title shown inside it.

This commit adds more information to the tooltip by including their
respective counts.

Fixes: zulip#25901.

Co-authored-by: ecxtacy <dc.dhruvchouhan@gmail.com>
2025-01-24 14:16:16 -08:00
Karl Stolley
cf29edaa65 compose: Flatten a popover-free formatting bar. 2025-01-14 15:52:02 -08:00
Prakhar Pratyush
fb91cd6f4d message_edit: Disallow resolving empty string topic.
This commit makes changes to the edit message endpoint
to disallow resolving empty string topic.

It also removes the resolve topic button in the web client
from topic popover and message header for empty string topic.
2025-01-14 14:22:21 -08:00
Sayam Samal
7e57477dea stream_color: Add keyboard navigation for color picker swatch grid.
This commit adds a `handle_keyboard` method to the color picker popover
to enable the use of all the arrow keys along with their vim-key
counterparts for multi-directional keyboard navigation in the color
swatch grid.
2025-01-12 12:39:02 -08:00
Sayam Samal
6c774c0674 stream_color: Fix keyboard input for custom color picker popover option.
This commit fixes the keyboard input for the custom color picker option
in the color picker popover, due to which previously a user wasn't able
to open the browser native color picker via the keyboard.
2025-01-12 12:39:02 -08:00
Sayam Samal
0a0a030fca stream_color: Add confirm button to the color picker popover.
This commit adds a confirm button to the top right corner od the color
picker popover to provide a more intuitive way to exit the popover
after fiddling around with the stream color.
2025-01-12 12:39:02 -08:00
Sayam Samal
8924161696 stream_color: Update custom color swatch icon to use rainbow gradient. 2025-01-12 12:39:02 -08:00
Prakhar Pratyush
569bf31027 topic_actions_popover: Show realm_empty_topic_display_name for topic="".
This commit adds support to display `realm_empty_topic_display_name`
value in the topic actions popover for topics having the actual value
of empty string.

These topic actions popover can be accessed via kebab menu in:
* Left sidebar topic list
* Topic rows in inbox view
* Message headers
2025-01-10 14:32:55 -08:00
Harsh Bansal
b7599a41d8 left sidebar (ui): Change icon for browse channels.
- Replaces the magnifying glass icon with a new design that
  aligns better with the purpose of finding channels.
- Matches the "Browse Channels" link styling with the link at
  the bottom of the left sidebar for consistency

Fixes: #32914

Co-Authored-By: Vlad Korobov <terpimost@gmail.com>
2025-01-08 09:23:11 -08:00
Sayam Samal
6557cd74cd stream_color: Replace spectrum color picker with native color picker.
This commit replaces the spectrum color picker used in the stream
popover and stream settings with a custom color picker popover, which
contains a grid of predefined color swatches and a custom color option.

The custom color option uses the HTML5 <input type="color"> which shows
the native browser color picker UI.

Fixes #14961.
2025-01-07 17:27:23 -08:00
Pratik Chanda
1ce1412166 personal_menu: Navigate to user profile on enter.
Handles enter keyboard event for user profile field.
2025-01-03 15:17:18 -08:00