From a9936d6df80fe1ccb2a2b7d8096bf9ea2ca2c8a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Tue, 7 Jul 2026 04:40:56 +0200 Subject: [PATCH] fix: Do not show generic success message from file list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When an action is executed and it returns a boolean value the file list shows a generic "Done" or "Failed" message for the action. The "Compress to Zip" action only creates the background job that, later, will actually compress the files, so showing "Done" can be confusing for the user if the zip is not already available. Moreover, the action shows its own success message with more information. Due to all that now the generic success message from the file list is no longer shown. Signed-off-by: Daniel Calviño Sánchez --- src/services.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/services.ts b/src/services.ts index 7bf0541..b02239f 100644 --- a/src/services.ts +++ b/src/services.ts @@ -51,5 +51,7 @@ export const action = async (dir: string, nodes: INode[]) => { await compressFiles(fileIds, dir + '/' + target) - return true + // compressFiles will show a success or error message as needed, so null is + // returned to prevent the file list from showing its own with less context. + return null }