Missing YAML file type in selection when importing eggs #519

Closed
opened 2026-02-05 17:42:48 +03:00 by OVERLORD · 3 comments
Owner

Originally created by @Leon-JavaScript on GitHub (Dec 13, 2025).

Current Behavior

When browsing the system files in the import egg popup, the windows selection only shows JSON files by default.
Image

Expected Behavior

It should show JSON and YAML files.

Steps to Reproduce

Panel Version

canary

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Originally created by @Leon-JavaScript on GitHub (Dec 13, 2025). ### Current Behavior When browsing the system files in the import egg popup, the windows selection only shows JSON files by default. <img width="1918" height="1138" alt="Image" src="https://github.com/user-attachments/assets/d821fa30-b17e-4760-9236-fd713db098ad" /> ### Expected Behavior It should show JSON and YAML files. ### Steps to Reproduce - Go to https://demo.pelican.dev/admin/eggs - Click on `Import` - Click on `Browse` ### Panel Version canary ### Is there an existing issue for this? - [x] I have searched the existing issues before opening this issue. - [x] I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
Author
Owner

@notAreYouScared commented on GitHub (Dec 13, 2025):

fdd9faaaa3/app/Filament/Components/Actions/ImportEggAction.php (L123)

I mean... It exists in the code... no idea why this happens.

@notAreYouScared commented on GitHub (Dec 13, 2025): https://github.com/pelican-dev/panel/blob/fdd9faaaa35d7814ec0dfca5b56782019d574bf1/app/Filament/Components/Actions/ImportEggAction.php#L123 I mean... It exists in the code... no idea why this happens.
Author
Owner

@Leon-JavaScript commented on GitHub (Dec 13, 2025):

panel/app/Filament/Components/Actions/ImportEggAction.php

Line 123 in fdd9faa

->acceptedFileTypes(['application/json', 'application/yaml', 'application/x-yaml', 'text/yaml'])
I mean... It exists in the code... no idea why this happens.

Yeah, I've also checked the code because I would've made a PR on it, but because the file types are already there, I also don't know why this happens.

@Leon-JavaScript commented on GitHub (Dec 13, 2025): > [panel/app/Filament/Components/Actions/ImportEggAction.php](https://github.com/pelican-dev/panel/blob/fdd9faaaa35d7814ec0dfca5b56782019d574bf1/app/Filament/Components/Actions/ImportEggAction.php#L123) > > Line 123 in [fdd9faa](/pelican-dev/panel/commit/fdd9faaaa35d7814ec0dfca5b56782019d574bf1) > > ->acceptedFileTypes(['application/json', 'application/yaml', 'application/x-yaml', 'text/yaml']) > I mean... It exists in the code... no idea why this happens. Yeah, I've also checked the code because I would've made a PR on it, but because the file types are already there, I also don't know why this happens.
Author
Owner

@notAreYouScared commented on GitHub (Dec 13, 2025):

PR #2000 will fix this :)

Image
@notAreYouScared commented on GitHub (Dec 13, 2025): PR #2000 will fix this :) <img width="236" height="77" alt="Image" src="https://github.com/user-attachments/assets/95a61862-ae93-4b0a-a813-21de3b19f2eb" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#519