Commit Graph

2097 Commits

Author SHA1 Message Date
Sahil Batra
52b21127e2 settings: Refactor class names for folder rows.
This commit removes unused classes in folder row elements
and updated used class names to use "-" instead of "_"
following the convention we follow usually.
2025-08-07 16:51:50 -07:00
Sahil Batra
c127a0ae9f settings: Add UI to manage channel folders.
Fixes part of #35545.
2025-08-06 18:58:15 -07:00
Karl Stolley
2fdf179d42 navbar: Redraw log-in icon with thinner stroke. 2025-08-06 10:16:55 -07:00
Karl Stolley
b27a9fdbf1 left_sidebar: Show home unread count in condensed views.
The view is left as-is, however, for users who prefer
masked unreads.
2025-08-05 15:04:14 -07:00
Prakhar Pratyush
9c0777ad26 settings: Add '.highlighted-element' to <b> in stream & group settings.
This commit adds 'highlighted-element' class to <b> tags in
the following parts of the settings panel:
* who can access channel
* user member of a user group because of being part of a subgroup
  already added.

'highlighted-element' class sets the 'font-weight: 600',
replacing the default of 700.
2025-08-05 14:50:56 -07:00
Prakhar Pratyush
2005e5f616 compose_banners: Add '.highlighted-element' to <b> in compose banners.
This commit adds 'highlighted-element' class to <b> tags in
the following compose banners:
* jump_to_sent_message_conversation_banner
* stream_does_not_exist_error
* unknown_zoom_user_error
* channel wildcard_mention_not_allowed_error
* topic wildcard_mention_not_allowed_error

'highlighted-element' class sets the 'font-weight: 600',
replacing the default of 700.
2025-08-05 14:50:56 -07:00
Prakhar Pratyush
8248ef8de7 modal: Add '.highlighted-element' to <b> in try-zulip & api-key modals.
'highlighted-element' class sets the 'font-weight: 600',
replacing the default of 700.
2025-08-05 14:50:56 -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
Prakhar Pratyush
a37cea2c5f confirm_dialog: Add highlighted-element class to <b> in confirm dialogs.
This commit adds 'highlighted-element' class to <b> tags in
the following confirm dialogs:
* delete topic
* mute user
* join user group

'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
87aaf6dd4d left_sidebar: Remove unused home-link class. 2025-08-04 18:33:36 -07:00
Prakhar Pratyush
e3c500cebe onboarding: Add highlighted-element class to <b> in onboarding modals.
This commit adds 'highlighted-element' class to <b> tags in
the following onboarding modals:
* introduce inbox view modal
* introduce recent conversations view modal
* introduce resolve topic modal
* introduce first channel created modal

'highlighted-element' class sets the 'font-weight: 600',
replacing the default of 700.
2025-08-04 18:25:49 -07:00
Sahil Batra
524442bf44 streams-ui: Add UI to update and archive channel folders.
This commit adds edit and delete buttons in the dropdown
list for folder.

Fixes #35498.
2025-08-04 13:22:11 -07:00
Sahil Batra
da53d5b978 dropdown-widget: Handle button click in a separate click handlers.
This commit refactors code for DropdownWidget to handle clicks
on edit and delete buttons in a separate click event handler
and not in the handler for selecting one of the items in
dropdown.

This is important to make sure that selected value stored for
dropdown widget is not updated on clicking the icon.
2025-08-04 13:22:11 -07:00
Sahil Batra
e7cb472188 dropdown-widget: Pass aria-label for icon buttons in options.
This commit updates code to pass aria-label for icon buttons
in dropdown widget options so that they can be used in
dropdown_list.hbs template instead of directly defining them
in the template file.

We currently show buttons in saved snippets dropdown only
so defining the labels in template file worked correctly
but it is good to pass them as variables so that it is
simpler to add buttons for other dropdowns when required.
2025-08-04 13:22:11 -07:00
Maneesh Shukla
74148f2e0b desktop-notification-banner: Remove the banner form the org settings.
The `update_desktop_notification_banner` line removed had been added in #34865,
to handle the case of opening the default user settings panel after previously opening
the personal; notifications settings panel, and is no longer required.
2025-08-04 10:02:07 -07:00
Lauryn Menard
7a9b78f1f5 settings: Add user setting to ignore channel folders in left sidebar.
Fixes #35573.
2025-08-01 09:18:19 -07:00
Maneesh Shukla
021af590e6 upload-stat: Redesign upload space stats banners.
Fixes: #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
da5c411054 banners: Redesign the invitation permission banners.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
13b78b7039 banners: Redesign mobile push notifications banner.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
b0241bfa3c banners: Redesign group info banner.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
3651748d31 banners: Redesign stream info banner.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
a93a015b21 banners: Redesign organization upgrade banners.
This commit redesigns the upgrade and sponsorship banners by adding
AVAILABLE_ON_STANDARD, UPGRADE_ACCESS_BANNER, and
UPGRADE_OR_SPONSORSHIP_BANNER.

Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
85d8c225a3 banners: Convert banners into plain text.
This commits convert the banners of "Settings > Default user settings"
and "Personal > Bots" into plain text. Also, change the plain text of
"Personal > Bots" to be more descriptive.

Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Maneesh Shukla
deaa6390a8 banners: Redesign the permission banners.
Fixes part of #34252.
2025-08-01 09:08:30 -07:00
Evy Kassirer
8f783c53c0 left_sidebar: Display folder unread counters like channel counters.
Discussion here:
https://chat.zulip.org/#narrow/channel/101-design/topic/channel.20folder.20unread.20count.20styling/with/2232873
2025-07-31 23:50:25 -07:00
Maneesh Shukla
c02b69eae0 default-user-settings: Remove the configuration banner for non-admin users.
Fixes #35546.
2025-07-30 17:46:38 -07:00
Sahil Batra
078d93e310 drafts-ui: Fix banner shown on deleting drafts.
Banner shown on deleting drafts was broken because "banner-wrapper"
class was missing in container element that led to some CSS not
being applied.

Also, needed to change the "text-align" CSS property to override
the "center" value set for overlay header text because "banner-label"
flex element is allowed to grow and take more width after recent
changes in d00cf1a.
2025-07-30 17:36:15 -07:00
Alex Vandiver
2491dc47e8 i18n: Swap three docs for ellipsis. 2025-07-30 13:45:53 +00:00
Lauryn Menard
7aa93d3447 help: Improve emoji reactions documentation. 2025-07-29 12:25:10 -07:00
Alya Abbott
641a436b44 preferences: Update inactive channels preference setting for new UI.
"Hide" is a better verb with the channel folders UI.

Also automatically hide inactive channels at 20+ susbscribed channels,
as we have more content in the left sidebar now.
2025-07-28 23:52:55 -07:00
Prakhar Pratyush
fc6cd9a966 settings: Add require_e2ee_push_notifications realm setting.
This commit adds a realm setting:
"Require end-to-end encryption for push notification content".

This commit just involves backend & UI changes to add the setting,
the impact of this setting is in the next commit.

Fixes part of #35370.
2025-07-28 17:06:59 -07:00
Prakhar Pratyush
d46b1a0ac9 settings: Add a new "Notifications security" section in org settings.
This commit adds a new section named "Notifications security"
below "Automated messages and emails" in Organization settings.

The "Allow message content in message notification emails"
setting is moved from "Automated messages and emails" section
to this new section.

This serves as a prep work as we plan to add a new setting
"Require end-to-end encryption for push notification content"
in this section.

Fixes part of #35370.
2025-07-28 17:06:59 -07:00
Karl Stolley
d1e0d09ef3 inbox: Add folder- and channel-row chevron classes. 2025-07-28 13:17:00 -07:00
apoorvapendse
03f5242384 copy_email_modal: Avoid unnecessary raw HTML description.
The context passed in web/src/stream_edit.ts
never contains any HTML formatted string for
the description, so it is safe to replace
`{{{` with `{{`.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00
apoorvapendse
a7664187df unreads: Use _html naming convention for content rendered as HTML.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00
apoorvapendse
208372d0d2 recipient_row: Use _html naming convention for content rendered as HTML.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00
apoorvapendse
30d8ba591a favicon: Use _html naming convention for content rendered as HTML.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00
apoorvapendse
ceb9367bc4 recent_view: Use _html naming convention for content rendered as HTML.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00
apoorvapendse
03a2d9f644 move_message: Use _html naming convention for content rendered as HTML.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00
apoorvapendse
8ca2ec4363 inbox: Use _html naming convention for content rendered as HTML.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:56:44 -07:00
apoorvapendse
33e728e586 user_membership: Use banner template to render messages.
We now resort to using banner template instead
of trying to maintain our own banners
in the stream subscription and user group
membership templates.

Fixes: https://chat.zulip.org/#narrow/channel/9-issues/topic/.F0.9F.8E.AF.20User.20add.20success.20banner.20squashed/near/2229035.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:33:20 -07:00
apoorvapendse
c6a64b3c1d stream_subscription: Use banner template to render messages.
Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:33:20 -07:00
apoorvapendse
818a3365af banner: Allow label to be in HTML format.
This is done to later render the subscribe
success and error messages using the banner
template instead of using the banner classes
in the subscription/memebership templates
which requries us to duplicate the changes
in banner.hbs at these places to avoid
regressions.

Signed-off-by: apoorvapendse <apoorvavpendse@gmail.com>
2025-07-28 12:33:20 -07:00
Sahil Batra
c300775282 channel-folders: Enable channel folders UI in production. 2025-07-28 11:00:45 -07:00
Evy Kassirer
e63ee026fe left_sidebar: Hide inactive channels in channel folders. 2025-07-28 10:28:01 -07:00
Evy Kassirer
e6fecfc8eb left_sidebar: Show channel folders in left sidebar.
Fixes part of #31972.
2025-07-28 10:28:01 -07:00
Evy Kassirer
bc6b0cccf4 left_sidebar: Add unread markers to channel section headers. 2025-07-28 10:28:01 -07:00
Evy Kassirer
739debf7b4 left_sidebar: Add plus icon to channel section headers. 2025-07-28 10:28:01 -07:00
Evy Kassirer
08fd7a30f9 left_sidebar: Add plus icon beside channel search bar.
This button was previously found when hovering on the CHANNELS
header, but now that we've removed that header, we show the
button here instead, and always visible.
2025-07-28 10:28:01 -07:00