From 297a24cd2bcc3b895f0cf22a71fa585f57de7e16 Mon Sep 17 00:00:00 2001 From: Hamees Ehsan Date: Thu, 19 Feb 2026 00:55:00 +0500 Subject: [PATCH 1/2] fix(files): use more appropriate icon for context menu action --- apps/files/src/actions/viewInFolderAction.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files/src/actions/viewInFolderAction.ts b/apps/files/src/actions/viewInFolderAction.ts index 6b4d94dd7f2d3..363c16ba01cca 100644 --- a/apps/files/src/actions/viewInFolderAction.ts +++ b/apps/files/src/actions/viewInFolderAction.ts @@ -5,7 +5,7 @@ import type { IFileAction } from '@nextcloud/files' -import FolderMoveSvg from '@mdi/svg/svg/folder-move-outline.svg?raw' +import FolderEyeSvg from '@mdi/svg/svg/folder-eye-outline.svg?raw' import { FileType, Permission } from '@nextcloud/files' import { t } from '@nextcloud/l10n' import { isPublicShare } from '@nextcloud/sharing/public' @@ -15,7 +15,7 @@ export const action: IFileAction = { displayName() { return t('files', 'View in folder') }, - iconSvgInline: () => FolderMoveSvg, + iconSvgInline: () => FolderEyeSvg, enabled({ nodes, view }) { // Not enabled for public shares From 0788bdeb2ed499f67f187f7910a2dc36df3ed63e Mon Sep 17 00:00:00 2001 From: Hamees Ehsan Date: Thu, 19 Feb 2026 23:54:24 +0500 Subject: [PATCH 2/2] fix(files): changed the order of viewInFolderAction to be closer to the viewAction and above the moveOrCopy Signed-off-by: Hamees Ehsan --- apps/files/src/actions/viewInFolderAction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/files/src/actions/viewInFolderAction.ts b/apps/files/src/actions/viewInFolderAction.ts index 363c16ba01cca..ea86e1f6e508a 100644 --- a/apps/files/src/actions/viewInFolderAction.ts +++ b/apps/files/src/actions/viewInFolderAction.ts @@ -63,5 +63,5 @@ export const action: IFileAction = { return null }, - order: 80, + order: 10, }