AMP icon indicating copy to clipboard operation
AMP copied to clipboard

AMP PANEL: Display APP state with Instance State

Open merkys7 opened this issue 4 years ago • 6 comments

Feature Request

Feature Information:

Please include APP state (running/stopped) with Instance State. This feature would bring more clarity about the APP state. It's hard to understand for new user when you are creating instance for the first time.

https://prnt.sc/y0464v

I confirm:

  • [x] that I have searched for an existing feature request matching the description.
  • [x] that my checkboxes above look like the one on the left (remove this line when done)

merkys7 avatar Feb 02 '21 08:02 merkys7

This is planned, all of the metrics info available for instances will show up in ADS at some point during the 2.1 stream.

PhonicUK avatar Feb 08 '21 17:02 PhonicUK

Is this still a planned feature? I know the metrics are there, but the App State is not. The property is surfaced to the UI, it's just not presented. I was able to alter mine by editing lines 123 & 124 on the Instances.html file for the ADS module (<InstancePath>/Plugins/ADSModule/WebRoot/) <div class="ServerEntryStatus" data-bind="css: {bgBlue: running() && appState() == 0, bgTeal: appState() == 5 || appState() == 7 || appState() == 10 || appState() == 30, bgGreen: appState() == 20, bgYellow: appState() == 40, bgPurple: appState() == 45 || appState() == 50, bgPink: appState() == 70 || appState() == 75,bgRed: !running(), bgGray: appState() > 80 || appState() == -1}"> <span>Status: </span><span data-bind="text: running() && appState() == 0 ? 'Stopped' : appState() == 5 || appState() == 10 ? 'Starting' : appState() == 20 ? 'Running' : appState() == 30 ? 'Restarting' : appState() == 40 ? 'Stopping' : appState() == 45 || appState() == 50 ? 'Sleeping' : appState() == 70 ? 'Installing' : appState() == 75 ? 'Updating' : appState() == 200 ? 'Suspended' : running() ? 'Instance Running' : !running() ? 'Instance Stopped' : 'Unknown'"></span>

The extra colors (bgBlue, bgTeal, etc) are then added to <InstancePath>/WebRoot/CSS/Stylesheet.css. Example 1 Example 2

DumpsterDave avatar Mar 08 '23 12:03 DumpsterDave

Any plans to integrate the changes mentioned in the last comment? It would improve the user experience a lot.

BroOtti avatar Feb 07 '24 15:02 BroOtti

You have such strange timing. I was looking to implement this today. xD

IceOfWraith avatar Feb 07 '24 15:02 IceOfWraith

Nice xD I just asked here because an user asked in the german channel at discord if it's possible to see the game server status on the instances page :D

BroOtti avatar Feb 07 '24 15:02 BroOtti

I'm working on adding this but it's not working the way I'd hoped. The app status is only sent through push messages which is extremely delayed. I want to do this correctly so might take a bit of work.

IceOfWraith avatar Feb 08 '24 06:02 IceOfWraith

This is something AMP now has and it works nicely :)

PhonicUK avatar Jul 31 '24 10:07 PhonicUK