fix: add success/progress messages to pre-update backup #192

Closed
jmiller wants to merge 2 commits from fix/preupdate-backup-messages into main
Owner

Summary

  • Adds an info message ("in progress…") before the pre-update backup runs
  • Adds a success message ("completed successfully") when it finishes
  • Previously only failure was communicated to the admin

Test plan

  • Enable "Backup before update" in component settings
  • Update any extension
  • Verify green success message appears after backup completes
  • Verify warning message still appears on failure
## Summary - Adds an info message ("in progress…") before the pre-update backup runs - Adds a success message ("completed successfully") when it finishes - Previously only failure was communicated to the admin ## Test plan - [ ] Enable "Backup before update" in component settings - [ ] Update any extension - [ ] Verify green success message appears after backup completes - [ ] Verify warning message still appears on failure
jmiller added 2 commits 2026-06-29 16:19:37 +00:00
fix: add success/progress messages to pre-update backup
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 27s
d1833bf06a
Previously the pre-update backup only showed a message on failure.
Now shows an info message that the backup is in progress and a
success message when it completes.

Claude-Session: https://claude.ai/code/session_01MbEjBtsSjPuTWhqqrMS2wG
Author
Owner

Resolved and released (stable). The pre-update backup now surfaces an admin notification on every outcome — success, warning (local archive made but a remote upload failed), and failure — instead of only on failure. Implemented in plg_system_mokosuitebackup runPreActionBackup() via the BackupRunner status (PR #221).

Note: a live progress modal during the extension update (like "Backup Now") is separate and tracked in #196 — the update runs server-side in one request and can't drive the AJAX progress modal without injecting into com_installer's page.

Resolved and released (stable). The pre-update backup now surfaces an admin notification on **every** outcome — success, warning (local archive made but a remote upload failed), and failure — instead of only on failure. Implemented in `plg_system_mokosuitebackup runPreActionBackup()` via the `BackupRunner` status (PR #221). Note: a live *progress modal* during the extension update (like "Backup Now") is separate and tracked in #196 — the update runs server-side in one request and can't drive the AJAX progress modal without injecting into `com_installer`'s page.
jmiller closed this pull request 2026-07-06 00:31:34 +00:00

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.