[PR #378] [CLOSED] GH-362: Hide container status & server state if nothing is displayed #722

Closed
opened 2026-02-04 18:45:57 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/378
Author: @ItsNeil17
Created: 6/12/2024
Status: Closed

Base: mainHead: main


📝 Commits (3)

  • da45ab0 Hide container status & server state if nothing is displayed
  • 917f3e3 pint
  • 23fea24 removed annotation of in container status

📊 Changes

1 file changed (+3 additions, -0 deletions)

View changed files

📝 app/Filament/Resources/ServerResource/Pages/EditServer.php (+3 -0)

📄 Description

Implement new single Server State/Status

We currently have 2 separate enums for server state and server status.
Server state refers to our own state such as reinstall, transfer, etc.
Server status refers to the docker container's status such as running, stopped, etc.

If the current server state exists, then show it. If it's empty, then we should show the current container status.

This also includes the labelling in the Edit Server page.

Fixes #362


🔄 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/378 **Author:** [@ItsNeil17](https://github.com/ItsNeil17) **Created:** 6/12/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`da45ab0`](https://github.com/pelican-dev/panel/commit/da45ab0a4f81129baf8311e1b401bc6aa1bd26f7) Hide container status & server state if nothing is displayed - [`917f3e3`](https://github.com/pelican-dev/panel/commit/917f3e3778a2d3a003813437900682a300c80dba) pint - [`23fea24`](https://github.com/pelican-dev/panel/commit/23fea24f2d25454cd840acdd2207b6ae70323301) removed annotation of in container status ### 📊 Changes **1 file changed** (+3 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Resources/ServerResource/Pages/EditServer.php` (+3 -0) </details> ### 📄 Description Implement new single Server State/Status > We currently have 2 separate enums for server state and server status. > Server state refers to our own state such as reinstall, transfer, etc. > Server status refers to the docker container's status such as running, stopped, etc. > > If the current server state exists, then show it. If it's empty, then we should show the current container status. > This also includes the labelling in the Edit Server page. Fixes #362 --- <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 18:45:57 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#722