mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 11:20:41 +03:00
[PR #1135] [MERGED] Add FileNotEditableException
#1198
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1135
Author: @rmartinoscar
Created: 3/20/2025
Status: ✅ Merged
Merged: 4/3/2025
Merged by: @lancepioch
Base:
main← Head:fix/FileNotEditableException📝 Commits (4)
43b3df6AddFileNotEditableExceptione2df69fSendNotificationinstead of Throwing4a930d3Remove uselessfunctionf67ec1fMake them allAlertBanner📊 Changes
4 files changed (+64 additions, -14 deletions)
View changed files
➕
app/Exceptions/Repository/FileNotEditableException.php(+7 -0)📝
app/Filament/Server/Resources/FileResource/Pages/EditFiles.php(+44 -14)📝
app/Repositories/Daemon/DaemonFileRepository.php(+5 -0)➕
resources/views/errors/400.blade.php(+8 -0)📄 Description
Catch trying to edit a


Directorylike if it wasFilecontenthttps://github.com/pelican-dev/wings/pull/78
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.