Commit Graph

172 Commits

Author SHA1 Message Date
Sahil Batra
feaaf9ff03 drodpown: Do not use fa-ban icon for disabled option. 2025-10-20 16:30:06 -07:00
Anders Kaseorg
910718ccd3 eslint: Fix unicorn/no-array-sort.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-10-07 22:42:50 -07:00
Shubham Padia
310a2323b6 subscriptions: Move raw svg for plus and check icons to zulip-icon.
Fixes #35899.

We don't make any visual changes to how the svgs/icons look, we just
move them to use the zulip-icon system.

We also replace use of the raw images of each in the help center and add
appropriate color for both in the help center.
2025-09-17 14:15:05 -07:00
Karl Stolley
c4e7f5ec0d icons: Remove two unused icons. 2025-08-27 13:50:40 -07:00
Karl Stolley
3e6f67446e icons: Update README and include list of in-house icons. 2025-08-27 13:50:40 -07:00
Shubham Padia
5938f685ad starlight_help: Display gradient for the idle status icon.
Fixes #35496.

We were displaying a solid color until we figured out how to accurately
display the gradient in the SVG itself.
2025-08-19 23:40:51 -07:00
Niloth P
7022811349 integrations: Add URL option and UI for mapping messages to Zulip channels.
This commit adds a "mapping" URL option preset that adds "Matching Zulip
channel" option to the stream dropdown widget. When that option is
chosen from the dropdown, it adds another parameter to the integration
URL -- "&mapping=channels".

This "mapping" parameter is meant to be used by integrations like Slack
to identify whether the user wants to map Slack channels to different
Zulip channels or different topics within a single channel.

This adds an icon for the `mapping`s' drop down option in the "Where to
send notification" drop down field.

Co-authored-by: Pieter CK <pieterceka123@gmail.com>
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-08-07 17:19:03 -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
Sayam Samal
5d4b9ee505 topic_popover: Show loading indicicator on topic resolve/unresolve.
This commit shows a loading indicator in the recipient bar when the
user resolves or unresolves a topic from the topic actions menu.

Since we do not have a unresolve icon button in the recipient bar
following commit 23ac87606a, we
first render a icon button with a placeholder icon in the recipient bar,
and then show the loading indicator when the user clicks on the
"Mark as unresolved" option in the topic actions menu.
2025-07-25 22:27:03 -07:00
Shubham Padia
cb852b0fa6 help-beta: Add ZulipTip custom component that does not have a header.
We do not want to have a heading for every tip and thus we created a
custom component for our aside. We want to add a lightbulb icon and the
text `Tip:` is bold as a prefix for every tip as if it was already part
of the text. To do that, we cannot insert both of those as html seperate
from the slot html, we had to access the slot html and insert both of
them into the HTML tree.
2025-07-24 12:00:26 -07:00
Shubham Padia
6b66449352 help: Disallow class in svg.
When copying svg from other places e.g. lucide, class names are also
copied over. These classes are not defined in our css and thus have no
effect whether they are present or not. But if the svg has the class
property, unplugin-icon will not override that class property and apply
the defaultClass we have defined in astro.config.mjs. We need that class
for our icons to look as desired.
2025-07-23 11:24:12 -07:00
Shubham Padia
22d8c725eb icons: Do not allow stroke property via the style tag in svgs.
We already had a lint rule for this, but we did not disallow setting it
from the style side. This was breaking the icons changed in this commit
in our new astro help center.
2025-07-22 12:55:05 -07:00
Shubham Padia
d24f2972d4 icons: Do not allow fill property via the style tag in svgs.
We already had a lint rule for this, but we did not disallow setting it
from the style side. This was breaking the icons changed in this commit
in our new astro help center.
2025-07-22 12:55:05 -07:00
Anders Kaseorg
a29ed94e5b web: Switch to Zod mini API.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2025-07-21 16:40:17 -07:00
Sayam Samal
ce4f36200e icons: Increase "check" icon size.
This commit increases the size of the "check" icon to better fit with
the rest of the icons in the Web UI, especially in the context of the
message headers.
2025-07-08 10:05:51 -07:00
Sayam Samal
be8884e265 message_header: Update topic edit icon to a new "pencil" icon.
This commit updates the topic edit icon in the recipient row to a new
"pencil" icon (added in the same commit), replacing the previous "edit"
icon for consistency with the rest of the icons used in the same space.
2025-07-08 10:05:51 -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
Lauryn Menard
7c0eacba97 help: Update "Share and upload files" for Flutter launch.
Adds mobile-camera and mobile-image to shared icons.

Deletes static/images/help/mobile-camera-icon.svg,
static/images/help/mobile-image-icon.svg, and
static/images/help/mobile-paperclip.svg as they are no
longer used.

Part of #34748.
2025-06-16 10:03:10 -07:00
Lauryn Menard
9b380d6a65 help: Update "Switch account" instructions for Flutter launch.
Adds mobile-arrow-left-right icon to shared icons.

Part of #34748.
2025-06-16 10:03:10 -07:00
Lauryn Menard
4f60a95065 help: Add "View Zulip mobile app version" section.
Adds a section to "View Zulip version" article for viewing the
mobile app version, and adds the mobile app installation guide
to the related articles section.

Part of #34748.
2025-06-16 09:48:15 -07:00
apoorvapendse
1bcf05b13d typeahead: Remove diacritics only for valid queries.
Where a valid query is a string whose lowercase version
contains only ASCII lowercase letters.

@timabbott said:
>Note that the query being ascii is important
to how the comparisons are done, so that queries
with diacritics are handled properly to match
the exact diacritics used, for example.
2025-06-11 15:14:34 -07:00
apoorvapendse
e0c786c7a0 typeahead: Extract matching logic into a new function.
This is a non-functional change done as a part of
a series of commits to eventually cache and use
diacritic-less full names instead of computing them
every time.

The eventual aim is to pass cached diacritic-less
full names directly to
`query_matches_string_in_order_assume_canonicalized`
when the query is plain ascii.
2025-06-11 15:14:34 -07:00
Saubhagya Patel
b82bc1a738 settings: Add button to reset channel notifications to default.
This commit adds a "Reset to default notifications" button in the
Notifications menu, to the right of the channel name, for which a
user has selected custom notifications and a confirmation
dialog to confirm this action.

Fixes #19860.
2025-06-11 15:08:25 -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
Karl Stolley
2458f57547 lightbox: Use icons for control elements.
Fixes #33068.

Co-Authored-By: sammamama <samridhsame@gmail.com>
2025-05-30 14:50:45 -07:00
Shubham Padia
26595799c7 icons: Let the system using the icons specify the stroke property.
Fixes #34716.
The stroke property is ignored when we generate webfonts in our main
app. See
https://zulip.readthedocs.io/en/latest/subsystems/icons.html#cleaning-up-the-svg-code
for more details.
2025-05-27 10:00:21 -07:00
Shubham Padia
840817d2df icons: Let the system using the icons specify the fill-rule color.
The fill-rule color is ignored when we generate webfonts in our main
app. See
https://zulip.readthedocs.io/en/latest/subsystems/icons.html#cleaning-up-the-svg-code
for more details.
2025-05-27 10:00:21 -07:00
Shubham Padia
259ef423ad icons: Let the system using the icons specify the fill color.
The fill color is ignored when we generate webfonts in our main app.
For our help center beta project using Astro, we would have needed to
come up with a way to change fill colors for all the icons. Since, there
was no reason for us to keep the fill colors in the SVGs, we decided to
remove it instead and add a lint rule to keep that in check.
See
https://chat.zulip.org/#narrow/channel/6-frontend/topic/fill.20in.20our.20current.20svg.20icons
for more details.
2025-05-22 16:00:21 -07:00
whilstsomebody
2780360b00 unarchive: Add support for unarchiving archived channels.
This commit adds support for unarchiving archived channels
by introducing the `is_archived` parameter to the
`PATCH /streams/{stream_id}` API endpoint. Sending a PATCH
request with `is_archived: false` will unarchive the specified
channel.
2025-05-16 11:39:40 -07:00
Aman Agrawal
1ace8b80f5 hash_util: Set channel URL based on user setting.
We now render channel feed URL or channel topics list URL in
all elements based on user setting.
2025-05-09 15:13:56 -07:00
Aman Agrawal
97c69e3038 inbox: Show inbox channel view based on user setting.
Fixes: #29574
2025-05-09 15:13:56 -07:00
Sahil Batra
53cdfddf5b groups-ui: Add option to copy membership from group.
Instead of adding group as a subgroup, we now provide option
to add direct members and direct subgroups of a group to a
user group by providing an expand button in the group pill.

Fixes #32335.
2025-04-24 11:36:49 -07:00
Maneesh Shukla
a062d25aea personal-settings: Redesign buttons in personal settings.
- Changed Alert Words "Delete" button to a danger icon button.
- Updated Uploaded Files "Download" button to an info icon.
- Updated Uploaded Files "Delete" button to a danger icon.
- Changed Muted Users button to use `action-button-quiet-danger`.

Fixes: #34200.
2025-04-10 11:32:43 -07:00
Maneesh Shukla
2df1e1ff85 trash-icon: Update the existing trash icon svg.
Fixes part of #34200.
2025-04-10 11:32:43 -07:00
Ritwik
9feba0f16f emoji: Remap ':smile' emoji and update the settings UI.
This commit remaps the ':smile' emoji to 😄 and
introduces ':slight_smile' which maps to `🙂`.

Fixes #32712
2025-04-07 17:34:52 -07:00
Karl Stolley
ede630a6dd settings: Add new sort arrows to all settings tables. 2025-04-02 13:14:07 -07:00
ahmedgulabkhan
3ece6ca196 user-settings: Update icon for managing a user or bot.
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-03-17 10:52:25 -07:00
ahmedgulabkhan
c0b3fb1bbe user-settings: Update icon for deactivating user or bot.
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-03-17 10:52:25 -07:00
ahmedgulabkhan
50582b72b6 user-settings: Update icon for reactivating user.
Co-authored-by: Lauryn Menard <lauryn@zulip.com>
2025-03-17 10:52:25 -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
f53fc1b507 user_group_settings: Use icon with 2 users for editing group info. 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
Aman Agrawal
b2c2e09122 user_group_settings: Use 2 user plus icon to add new user group. 2025-03-12 09:14:37 -07:00
Aman Agrawal
eae11d9056 user-group: Use 2 user cog icon for user group settings. 2025-03-12 09:14:37 -07:00
Aman Agrawal
6e65d3cb4b user-group-x: Modify icon to use 2 users instead of 3. 2025-03-12 09:14: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
Aman Agrawal
017e1ec55d typeahead: Don't show channel name in topic link typeaheads. 2025-03-06 13:06:53 -08:00
Aman Agrawal
47ba1ed737 user_card_popover: Use airplane eye icon to view dms. 2025-03-05 09:50:44 -08:00