[PR #1314] [MERGED] Improve file error handling #1316

Closed
opened 2026-02-04 19:36:15 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: boy132/file-error-handling


📝 Commits (3)

📊 Changes

3 files changed (+87 additions, -122 deletions)

View changed files

📝 app/Filament/Server/Resources/FileResource/Pages/EditFiles.php (+12 -9)
📝 app/Filament/Server/Resources/FileResource/Pages/ListFiles.php (+66 -102)
📝 app/Models/File.php (+9 -11)

📄 Description

Removes extra node request from ListFiles and let File handle node connection errors.
When an errors happen with EditFiles it will now redirect to the path directory instead of the root.


🔄 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/1314 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 4/29/2025 **Status:** ✅ Merged **Merged:** 4/29/2025 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `boy132/file-error-handling` --- ### 📝 Commits (3) - [`0e33ef0`](https://github.com/pelican-dev/panel/commit/0e33ef0e42e12dda872077420fd050efa12396d0) improve file error handling - [`128b80b`](https://github.com/pelican-dev/panel/commit/128b80b64400df94669f02a4148e66e6381a04e4) small cleanup - [`35b883a`](https://github.com/pelican-dev/panel/commit/35b883ada8d10bd360ca144b87211f0ef22509f5) fix typo ### 📊 Changes **3 files changed** (+87 additions, -122 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Server/Resources/FileResource/Pages/EditFiles.php` (+12 -9) 📝 `app/Filament/Server/Resources/FileResource/Pages/ListFiles.php` (+66 -102) 📝 `app/Models/File.php` (+9 -11) </details> ### 📄 Description Removes extra node request from `ListFiles` and let `File` handle node connection errors. When an errors happen with `EditFiles` it will now redirect to the `path` directory instead of the root. --- <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-04 19:36:15 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1316