[PR #1256] [MERGED] Correctly display backup status #1277

Closed
opened 2026-02-05 18:08:59 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1256
Author: @Boy132
Created: 4/14/2025
Status: Merged
Merged: 4/14/2025
Merged by: @Boy132

Base: mainHead: boy132/fix-backup-status


📝 Commits (3)

  • c754dc1 add status attribute to backup
  • bec66d0 hide actions when backup is not successful
  • 8940edd small cleanup

📊 Changes

3 files changed (+62 additions, -10 deletions)

View changed files

app/Enums/BackupStatus.php (+37 -0)
📝 app/Filament/Server/Resources/BackupResource/Pages/ListBackups.php (+15 -10)
📝 app/Models/Backup.php (+10 -0)

📄 Description

Closes #1255

Uses a new status attribute instead of just is_successful to display the status of a backup.
Also hides actions like download and restore if the backup is still in progress or failed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/1256 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 4/14/2025 **Status:** ✅ Merged **Merged:** 4/14/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/fix-backup-status` --- ### 📝 Commits (3) - [`c754dc1`](https://github.com/pelican-dev/panel/commit/c754dc140dd7fe084944fad434139f513884d44b) add status attribute to backup - [`bec66d0`](https://github.com/pelican-dev/panel/commit/bec66d0be4f653b3fc0b8f5fc4506f72a400ad72) hide actions when backup is not successful - [`8940edd`](https://github.com/pelican-dev/panel/commit/8940edd4a98374a27fd3b0bf475f26c8f1542afa) small cleanup ### 📊 Changes **3 files changed** (+62 additions, -10 deletions) <details> <summary>View changed files</summary> ➕ `app/Enums/BackupStatus.php` (+37 -0) 📝 `app/Filament/Server/Resources/BackupResource/Pages/ListBackups.php` (+15 -10) 📝 `app/Models/Backup.php` (+10 -0) </details> ### 📄 Description Closes #1255 Uses a new `status` attribute instead of just `is_successful` to display the status of a backup. Also hides actions like download and restore if the backup is still in progress or failed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 18:08:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#1277