Skip to content

fix: Do not show generic success message from file list#451

Merged
danxuliu merged 1 commit into
mainfrom
do-not-show-generic-success-message-from-file-list
Jul 8, 2026
Merged

fix: Do not show generic success message from file list#451
danxuliu merged 1 commit into
mainfrom
do-not-show-generic-success-message-from-file-list

Conversation

@danxuliu

@danxuliu danxuliu commented Jul 7, 2026

Copy link
Copy Markdown
Member

When an action is executed and it returns a boolean value the file list shows a generic done or failed message for the action (and the same is done for batch actions of several files in the header). The Compress to Zip action only creates the background job that, later, will actually compress the files, so showing Compress to Zip: 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.

How to test (scenario 1)

  • Open the Files app
  • Show the actions for a file using the three dots menu
  • Execute Compress to Zip
  • In the dialog that is shown, choose a name for the zip file and click Compress

Result with this pull request

Only Creating Zip archive started. We will notify you as soon as the archive is available. message is shown

Result without this pull request

Both Creating Zip archive started. We will notify you as soon as the archive is available. and Compress to Zip: done messages are shown

How to test (scenario 2)

  • Open the Files app
  • Select two or more files/folders
  • Show the batch actions for the selected files using the three dots menu in the file list header
  • Execute Compress to Zip
  • In the dialog that is shown, choose a name for the zip file and click Compress

Result with this pull request

Only Creating Zip archive started. We will notify you as soon as the archive is available. message is shown

Result without this pull request

Both Creating Zip archive started. We will notify you as soon as the archive is available. and Compress to Zip: done messages are shown

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 <danxuliu@gmail.com>
@danxuliu danxuliu added bug Something isn't working 3. to review labels Jul 7, 2026
@danxuliu danxuliu requested a review from susnux July 7, 2026 02:47
@danxuliu danxuliu merged commit 561a8b9 into main Jul 8, 2026
38 checks passed
@danxuliu danxuliu deleted the do-not-show-generic-success-message-from-file-list branch July 8, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants