Commit Graph

2944 Commits

Author SHA1 Message Date
Maneesh Shukla
340b6adab4 topic-filter-input: Remove text-overflow property.
This commit removes the text-overflow property from input fields.
Chrome has a bug where truncation indicators in scrollable contenteditable
divs do not adjust when scrolling to the rightmost part of long text.
This behavior is related to https://issues.chromium.org/issues/41245282.
Firefox handles this correctly, but to ensure consistency, we will rely
on the default behavior of input fields, hiding overflowed text without
adding ellipses.

Fixes part of #35284.
2025-08-08 14:29:22 -07:00
Karl Stolley
4289cb67e5 left_sidebar: Change animation for new unread mentions.
Fixes #34473

Co-Authored-By: Aman Agrawal <amanagr@zulip.com>
2025-08-08 13:52:51 -07:00
Karl Stolley
d089c42c98 markdown: Reduce space when paragraphs precede lists. 2025-08-08 12:06:55 -07:00
Evy Kassirer
fb49e5e420 left_sidebar: Make muted mention indicator more faded than unmuted. 2025-08-08 11:54:59 -07:00
Maneesh Shukla
c9fd9ade11 buttons: Rename sticky-bottom-option to sticky-bottom-option-button.
Fixes part of #35006.
2025-08-07 18:21:39 -07:00
Maneesh Shukla
6815a65a18 buttons: Redesign sticky-bottom-option button.
This commit removes "button" and "rounded" class from the button and
add the required rules to the pre existing sticky-bottom-option class.

Fixes part of #35006.
2025-08-07 18:21:39 -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
Sahil Batra
c127a0ae9f settings: Add UI to manage channel folders.
Fixes part of #35545.
2025-08-06 18:58:15 -07:00
Karl Stolley
42014f2f79 site_previews: Don't hide overflow on data-container.
Because both .message_embed_title and
.message_embed_description manage their own overflow,
there's no need to set it on the outer container,
which can clip the top of the letters on message titles
under certain circumstances.
2025-08-06 17:04:04 -07:00
Karl Stolley
c974b3c05c audio_player: Allow resizing to message area on narrow viewports. 2025-08-06 10:45:31 -07:00
Karl Stolley
32da008335 audio_player: Improve vertical alignment. 2025-08-06 10:45:31 -07:00
Karl Stolley
b37a78c7b3 audio_player: Do not interfere with native player display. 2025-08-06 10:45:31 -07:00
Karl Stolley
6e9ad5faf1 audio_player: Reference audio via .media-audio-element class. 2025-08-06 10:45:31 -07:00
Karl Stolley
7e6773dc73 audio_player: Remove shadow-DOM CSS adjustments. 2025-08-06 10:45:31 -07:00
Karl Stolley
4b822d19cf left_sidebar: Respect masked unreads in active home view. 2025-08-05 15:04:14 -07:00
Karl Stolley
27f2b45523 left_sidebar: Ensure same footprint for condensed vdots. 2025-08-05 15:04:14 -07:00
Karl Stolley
fb8f695d28 left_sidebar: Vastly improve the unread-dot placement. 2025-08-05 15:04:14 -07:00
Karl Stolley
21e7876fbc left_sidebar: Improve responsiveness and flex of condensed icons. 2025-08-05 15:04:14 -07:00
Karl Stolley
1b7e42c7df left_sidebar: Suppress unread count on highlighted home row. 2025-08-05 15:04:14 -07:00
Karl Stolley
f362c4ea91 left_sidebar: Suppress home-view icon dot when unreads show. 2025-08-05 15:04:14 -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
Karl Stolley
95dfb4aa41 rendered_markdown: Reduce space between paragraphs and nested lists. 2025-08-05 13:38:22 -07:00
Karl Stolley
9481547a84 left_sidebar: Correct margin on sticky headers. 2025-08-05 11:05:22 -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
Karl Stolley
b87d22c9fa rendered_markdown: Remove now-unnecessary layout adjustments. 2025-08-04 12:55:53 -07:00
Karl Stolley
2d68beda07 me_messages: Improve grid, layout. 2025-08-04 12:55:53 -07:00
Karl Stolley
a07ed96526 message_row: Align content, not items. 2025-08-04 12:55:53 -07:00
Maneesh Shukla
e5864eb103 banners: Use "fit-content" width for organization settings banners.
This commit updates the organization settings banners to use
`width: fit-content`, ensuring they no longer span the full available
width. While this change does not yet support wrapping the action button
to a new line, it works reliably for these banners.

Currently, flex-wrap is set to `nowrap` to prevent buttons from wrapping
to the next line, as using `min-content` or `fit-content` forces
wrapping when space runs out. This approach limits the banner width to
its content size while maintaining layout consistency.

Making this as a separate commit since this is an experimental change
and we can tinker this later when we have a solid solution.
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
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
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
Karl Stolley
78e3cfba55 left_sidebar: Open up space between DMs, filter input. 2025-07-30 15:48:26 -07:00
Karl Stolley
01febad94e inbox: Hold vdots to same column on archived topics. 2025-07-30 15:46:54 -07:00
Karl Stolley
6c65e57010 recents: Preserve space for actions in archived channels. 2025-07-30 15:46:54 -07:00
Karl Stolley
9d1908d746 rendered_markdown: Correct alignment on textless images. 2025-07-30 13:16:10 -07:00
Evy Kassirer
abd1bf00eb left_sidebar: Fade muted unread dots on headers and inactive toggles. 2025-07-29 17:37:29 -07:00
Evy Kassirer
ef052182b1 left_sidebar: Clean up hide_unread_counts vs hide-unread-messages-count.
Now the former is only used in the channels list (headers and inactive
toggles included) and the latter is only used for the home view.

Note that this changes some behavior, notably the header and inactive
toggles now show the masked dots when all unread markers in them are
also masked.
2025-07-29 17:37:29 -07:00
Aman Agrawal
ade30e822a inbox: Fix left alignment of user full name in DM rows.
They were misaligned since `user-circle` uses a different font-size
than rest of the icons and thus needed a different padding in `em`.
2025-07-28 23:46:28 -07:00
Evy Kassirer
fd32450488 left_sidebar: Prevent wrap on channel folder names. 2025-07-28 17:46:29 -07:00
Shubham Padia
b8d4ad8b47 help-beta: Use colors same as webapp banners for asides.
Fixes #35122.
The existing colors were attracting too much attention.
Design discussion was done on
https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20design.
2025-07-28 13:38:59 -07:00
Karl Stolley
bd8bd2c64a inbox: Simplify declaration of folder-row chevron color. 2025-07-28 13:17:00 -07:00
Karl Stolley
630319fde8 inbox: Update channel-row chevrons to Vlad's spec. 2025-07-28 13:17:00 -07:00
Evy Kassirer
18463b45a2 left_sidebar: Skip invisible rows in keyboard navigation.
Collapsed sections and inactive channel lists are not visible and so
should be ignored in keyboard naviation.
2025-07-28 10:28:01 -07:00
Evy Kassirer
e63ee026fe left_sidebar: Hide inactive channels in channel folders. 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
Evy Kassirer
add97effbb left_sidebar: Show highlighted channel/topic even when folder is collapsed. 2025-07-28 10:28:01 -07:00