Commit Graph

3074 Commits

Author SHA1 Message Date
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
Evy Kassirer
9478525f15 left_sidebar: Remove #streams_header and related code.
This component no longer exists with the new design.

Everything removed here that's still relevant (unread counts, special
logic for spectator view) is added back, at the section/channel folder
layer, over the next several commits.
2025-07-28 10:28:01 -07:00
Evy Kassirer
27092d5543 left_sidebar: Change channel sections to togglable sections. 2025-07-28 10:28:01 -07:00
Evy Kassirer
dc013b6a10 left_sidebar: Show the search bar all the time.
This is preparation for adding channel folders to the sidebar
and removing the CHANNELS header, where we'll want to have an
always open search bar.
2025-07-28 10:28:01 -07:00
Karl Stolley
f355c28fa5 search: Tune colors to Vlad's proposals. 2025-07-28 09:38:28 -07:00
Aman Agrawal
f0f916f538 navbar: Fix double outline on navbar when focused via keyboard.
Fixes #35001

`outline-style: auto` results in double outline of white and
dark blue which doesn't look good. Replaced to use white outline
only.
2025-07-25 22:27:29 -07:00
Sayam Samal
b24b3c49db left_sidebar: Replace CSS a selector with specific class selectors.
This commit simplifies the CSS selectors in the left sidebar styles by
replacing generic `a` selectors with more specific class selectors.

This change enhances the specificity of the styles, and improves the
selectors' performance.
2025-07-25 13:13:05 -07:00
Sayam Samal
dca7f71fca left_sidebar: Fix focus styles for BROWSE CHANNEL/LOG IN TO BROWSE MORE. 2025-07-25 13:13:05 -07:00
Sayam Samal
94b6b6ead4 left_sidebar: Fix focus styles for back to channels link in topics list. 2025-07-25 13:13:05 -07:00
Sayam Samal
c3aaaa2303 left_sidebar: Fix focus styles for back to channels link in DM list. 2025-07-25 13:13:05 -07:00
Sayam Samal
9ce596fbd8 left_sidebar: Fix focus styles for show more conversations in DM list. 2025-07-25 13:13:05 -07:00
Sayam Samal
41bc50f2d6 left_sidebar: Fix focus styles of items in DM list. 2025-07-25 13:13:05 -07:00
Sayam Samal
c41b1e2a60 left_sidebar: Fix focus styles for stream list. 2025-07-25 13:13:05 -07:00
Sayam Samal
52c8307031 left_sidebar: Fix focus styles for topic list. 2025-07-25 13:13:05 -07:00
Karl Stolley
b5e011565f portico: Prevent label styling from affecting altcha-label. 2025-07-25 11:55:54 -07:00
Sahil Batra
34cb0034e1 settings: Handle long names better in susbcribers and members list.
This commit updates the subscribers and group members table CSS to
use fixed layout. This helps in having user pill take the width if
available and we can show more characters.

Previously the width of name in user pill was set to have a max
width of 165px which meant the there was some empty unused space in
the rows especially on narrow screens when email column was hidden.

Fixes #35157.
2025-07-25 11:21:23 -07:00
Karl Stolley
1bba4c2a99 recent_view: Don't apply line-clamping to 1:1 DMs. 2025-07-24 16:49:53 -07:00
Pratik Chanda
9a283d0641 css: Fix selector for user-pill-container so that it isn't overridden.
This commit improves the selector for user-pill-container so
that rules for it aren't overridden by parent styles. Also fixes
the user pill min-widdth being overridden.
2025-07-24 11:48:48 -07:00
Karl Stolley
8a833311de left_sidebar: Correct filter-input ellipsis bug in Safari. 2025-07-24 11:47:13 -07:00
Karl Stolley
9720fc93c3 left_sidebar: Correct filter-input scrollbar artifact. 2025-07-24 11:47:13 -07:00
Karl Stolley
56739f950c poll_widget: Disallow poll-vote count collapsing. 2025-07-23 16:18:36 -07:00