left-sidebar: Change recent conversation icon.

Fixes #29180
This commit is contained in:
nimishmedatwal 2024-03-06 16:06:48 +05:30 committed by Tim Abbott
parent 246441bdcc
commit 35c5231fe6
6 changed files with 29 additions and 7 deletions

View File

@ -258,6 +258,11 @@ Copyright: 2022, Quansight Labs
License: BSD-3-Clause
Comment: GitHub theme (light and dark); Selectors have been modified for use with Zulip
Files: web/shared/icons/recent.svg
Source: https://lucide.dev/icons/clock-10
Copyright: 2013-2022 Cole Bemis
License: ISC License
Files: web/third/bootstrap/css/bootstrap.app.css
Copyright: 2012 Twitter, Inc.
License: Apache-2.0
@ -1472,3 +1477,20 @@ License: GPL-2.0+
.
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL-2 file.
License: ISC License
Copyright (c) for portions of Lucide are held by Cole Bemis 2013-2022
as part of Feather (MIT). All other copyright (c) for Lucide are held
by Lucide Contributors 2022.
.
Permission to use, copy, modify, and/or distribute this software for
any purpose with or without fee is hereby granted, provided that the
above copyright notice and this permission notice appear in all copies.
.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE
FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY
DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE ORPERFORMANCE OF THIS SOFTWARE

View File

@ -1,4 +1,4 @@
1. Click on <i class="zulip-icon zulip-icon-clock"></i> **Recent conversations**
(or <i class="zulip-icon zulip-icon-clock"></i> if the **views**
1. Click on <i class="zulip-icon zulip-icon-recent"></i> **Recent conversations**
(or <i class="zulip-icon zulip-icon-recent"></i> if the **views**
section is collapsed) in the left sidebar,
or use the <kbd>T</kbd> keyboard shortcut.

BIN
web/shared/icons/recent.svg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 346 B

View File

@ -16,7 +16,7 @@ function get_message_view_header_context(filter) {
if (recent_view_util.is_visible()) {
return {
title: $t({defaultMessage: "Recent conversations"}),
zulip_icon: "clock",
zulip_icon: "recent",
};
}
if (inbox_util.is_visible()) {

View File

@ -27,8 +27,8 @@
{{/tr}}
{{else if (eq zulip_view "recent_conversations")}}
{{#tr}}
Click <z-icon-clock></z-icon-clock> <b>Recent conversations</b> in the left sidebar.
{{#*inline "z-icon-clock"}}<i class="zulip-icon zulip-icon-clock" aria-hidden="true"></i>{{/inline}}
Click <z-icon-recent></z-icon-recent> <b>Recent conversations</b> in the left sidebar.
{{#*inline "z-icon-recent"}}<i class="zulip-icon zulip-icon-recent" aria-hidden="true"></i>{{/inline}}
{{/tr}}
{{/if}}
</li>

View File

@ -16,7 +16,7 @@
<li class="top_left_recent_view left-sidebar-navigation-condensed-item {{#if is_recent_view_home_view}}selected-home-view{{/if}}">
<a href="#recent" {{#if is_recent_view_home_view}}tabindex="0"{{/if}} class="tippy-views-tooltip left-sidebar-navigation-icon-container" data-tooltip-template-id="recent-conversations-tooltip-template">
<span class="filter-icon">
<i class="zulip-icon zulip-icon-clock" aria-hidden="true"></i>
<i class="zulip-icon zulip-icon-recent" aria-hidden="true"></i>
</span>
<span class="unread_count"></span>
</a>
@ -65,7 +65,7 @@
<li class="tippy-views-tooltip top_left_recent_view top_left_row {{#if is_recent_view_home_view}}selected-home-view{{/if}}" data-tooltip-template-id="recent-conversations-tooltip-template">
<a href="#recent" {{#if is_recent_view_home_view}}tabindex="0"{{/if}} class="left-sidebar-navigation-label-container">
<span class="filter-icon">
<i class="zulip-icon zulip-icon-clock" aria-hidden="true"></i>
<i class="zulip-icon zulip-icon-recent" aria-hidden="true"></i>
</span>
{{~!-- squash whitespace --~}}
<span class="left-sidebar-navigation-label">{{t 'Recent conversations' }}</span>