From 69890e5616d518658d6fd99983a10e543b1cc578 Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Tue, 2 Sep 2025 10:05:38 +0300 Subject: [PATCH 1/6] update icon name --- www/common/drive-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 7e17367c4..7bfb2ca11 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -97,7 +97,7 @@ define([ var folderOpen = 'folder-open'; var sharedFolder = 'drive-shared-folder'; var expandAll = 'expand'; - var collapseAll = 'collapse-all'; + var collapseAll = 'collapse'; var readOnly = 'read-only'; var preview = 'preview'; var rename = 'rename'; From ae15946ab3e79e7acc225e07e8dbd40c55f8b97b Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Tue, 2 Sep 2025 10:17:10 +0300 Subject: [PATCH 2/6] update hover style for password reveal icon --- customize.dist/src/less2/include/password-input.less | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/customize.dist/src/less2/include/password-input.less b/customize.dist/src/less2/include/password-input.less index 05a5a035b..576abc590 100644 --- a/customize.dist/src/less2/include/password-input.less +++ b/customize.dist/src/less2/include/password-input.less @@ -16,13 +16,7 @@ flex: 1; min-width: 0; } - .fa { - width: 30px; - height: 30px; - display: inline-flex; - align-items: center; - justify-content: center; - cursor: pointer; + svg { &:hover { color: darken(@cryptpad_color_brand, 10%); } From 0f1a988b28fd3a0f6d779f7058ae9542a4748c42 Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Tue, 2 Sep 2025 10:22:13 +0300 Subject: [PATCH 3/6] render icon --- www/settings/inner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/settings/inner.js b/www/settings/inner.js index 66e870b40..cc19b52cf 100644 --- a/www/settings/inner.js +++ b/www/settings/inner.js @@ -1970,6 +1970,7 @@ define([ title: Messages.profile_remove_avatar }, Icons.get('close')); $avatar.append(delButton); + Lucide.createIcons(); $(delButton).click(() => { const old = APP.profileData?.avatar; APP.profile.execCommand("SET", { From 8bc7f876e9164a8b0904c79c769f45dbba98813d Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Tue, 2 Sep 2025 10:39:05 +0300 Subject: [PATCH 4/6] remove cptools and fa render --- www/common/drive-ui.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 7bfb2ca11..f8ddca179 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -362,8 +362,7 @@ define([ APP.premiumPlan = priv.plan; var getOpenIn = function (app) { var icon = AppConfig.applicationsIcon[app]; - var cls = icon.indexOf('cptools') === 0 ? 'cptools '+icon : 'fa '+icon; - var html = '' + Messages.type[app]; + var html = '' + Messages.type[app]; return Messages._getKey('fc_openIn', [html]); }; var restricted = {}; From 65cc06ec71d76ef569042be6e3bf82fae3d78bd7 Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Tue, 2 Sep 2025 11:26:29 +0300 Subject: [PATCH 5/6] fix unmute functionality --- www/common/messenger-ui.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/www/common/messenger-ui.js b/www/common/messenger-ui.js index 5418f3487..d9c999227 100644 --- a/www/common/messenger-ui.js +++ b/www/common/messenger-ui.js @@ -544,16 +544,16 @@ define([ curve = __channel.curvePublic; } - var unmute = h('span', Icons.get('notification', { + var unmute = h('span', Icons.get('notification'), { class: 'cp-app-contacts-remove cp-unmute-icon', title: Messages.contacts_unmute || 'unmute', style: (curve && mutedUsers[curve]) ? undefined : 'display: none;' - })); - var mute = h('span', Icons.get('mute', { + }); + var mute = h('span', Icons.get('mute'), { class: 'cp-app-contacts-remove cp-mute-icon', title: Messages.contacts_mute || 'mute', style: (curve && mutedUsers[curve]) ? 'display: none;' : undefined - })); + }); var remove = h('span', Icons.get('unfriend', { class: 'cp-app-contacts-remove', title: Messages.contacts_remove @@ -922,6 +922,8 @@ define([ if (e) { return void console.error(e); } $(button).closest('div').remove(); if (!data) { $button.hide(); } + $('.cp-app-contacts-friend[data-user="'+curve+'"]') + .find('.cp-unmute-icon').hide(); $('.cp-app-contacts-friend[data-user="'+curve+'"]') .find('.cp-mute-icon').show(); if ($('.cp-contacts-muted-table').find('.cp-contacts-muted-user').length === 0) { From 26c3b782b7c586100da482728c5432269964a38f Mon Sep 17 00:00:00 2001 From: daria <95225431+dariiing@users.noreply.github.com> Date: Tue, 2 Sep 2025 11:53:18 +0300 Subject: [PATCH 6/6] render modal icons --- www/secureiframe/inner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/secureiframe/inner.js b/www/secureiframe/inner.js index e8faf930e..313983839 100644 --- a/www/secureiframe/inner.js +++ b/www/secureiframe/inner.js @@ -263,6 +263,7 @@ define([ $('button.cancel').click(); // Close any existing alertify displayed = undefined; create[type](data); + Lucide.createIcons(); }); UI.removeLoadingScreen();