PhantomBot's New Control Panel: Beta v1.1


#21

Small glitch

global_red

Edit: ignore this, it’s ok in Chrome, ffs.


#22

This should be the same for chrome, chrome may handle it differently, but it’s intended.


#23

Hello thank you for the pretty new control panel. For some reason I cannot access any panels/tabs at keywords and below. Did I miss a setting somewhere?


#24

Seems like you might have an older version of the control panel, make sure you update to the latest version. The only tab that is currently locked is the giveaways tab, which is because it isn’t complete yet.


#25

Thank you that seems to be the issue. and now looks like 2.4.1 is out now so i’ll update that as well


#26

When using the beta panel, if you tab off bot and back into game, recent events seems to scroll back to the beginning of time. When you tab back and scroll up, as soon as you tab back out same thing happens


#27

The recent events automatically update if your mouse isn’t hovered over them, they shouldn’t be scrolling back to the start. You can enable the reverse sort option for events, which is located under the top right cogs panel.


#28


These “Auto Hosts” are not auto hosts all three of these folks manually hosted me and Recent Events in the new dashboard is improperly showing them as auto hosts. @Auroris (DarkInsanities) can confirm he raided and manually hosted me, not auto hosted.


#29

To make sure, can you please provide the same logs with timestamps from the logs/private-messages related log files?


#30

Here you are IO
06-07-2018.txt (1.7 KB)


#31

I thought we logged that out, I guess only if debug is on and goes into the debug log.

But, I think I found the culprit in a script and will release a patch, look below and see if you notice the issue :slight_smile:

    /*
     * @event twitchAutoHosted
     */
    $.bind('twitchAutoHosted', function(event) {
        addObjectToArray('panelData', 'data', 'Host', {
            'username': event.getHoster(),
            'viewers' : event.getUsers(),
            'date'    : $.systemTime(),
            'isAuto'  : true
        });
    });

    /*
     * @event twitchHosted
     */
    $.bind('twitchHosted', function(event) {
        addObjectToArray('panelData', 'data', 'Auto-Host', {
            'username': event.getHoster(),
            'viewers' : event.getUsers(),
            'date'    : $.systemTime(),
            'isAuto'  : false
        });
    });

Patched in PR2024


#32

That’s genius :joy::joy::joy: Thanks for patching it tho it was really confusing :slight_smile:


#33

Stream highlights are sorting dates incorrectly, looks like it’s using string sort on the day field
image
image


#34

The development version has already been patched to resolve this some time ago and sort by the local date format for several of the historical items. It just hasn’t been released as another Beta Update yet. Still need to make sure that all screens are updated but, again, only in the current development tree.

Sample…


#35

Awesome work, happy to see all the changes coming down the pipeline!


#36

You bet! Thanks for the report too! Always helpful to get feedback!


#37

Sorry if it is answered already.
Is there a GitHub Repo for the new Panel ?


#38

Yes there is but it is private. Once the Beta Panel is out of Beta it will be moved to the normal repository and replace the current Panel.


#39

Beta Panel has simply stopped loading for me on both chromium on Linux and chrome on Windows. Here’s the output from Chromes console on Windows:

helpers.js:891 [PhantomBot Log] Connection established with the websocket.
pace.min.js:2 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help, check https://xhr.spec.whatwg.org/.
a.open @ pace.min.js:2
helpers.js:902 [PhantomBot Error] Failed to run callback: SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at :24:23
at Object.func (http://localhost:25000/beta-panel/js/index.js:51:7)
at WebSocket.webSocket.onmessage (http://localhost:25000/beta-panel/js/index.js:504:25)
2helpers.js:902 [PhantomBot Error] Failed to run callback: SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at :403:23
at Object.func (http://localhost:25000/beta-panel/js/index.js:51:7)
at WebSocket.webSocket.onmessage (http://localhost:25000/beta-panel/js/index.js:504:25)
6helpers.js:902 [PhantomBot Error] Failed to run callback: SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at :403:23
at Object.func (http://localhost:25000/beta-panel/js/index.js:51:7)
at WebSocket.webSocket.onmessage (http://localhost:25000/beta-panel/js/index.js:504:25)

Hope this is something easy that I’m not understanding, and is a simple fix.

Edit: The bot is working fine. It’s simply the beta panel not loading.


#40

Guys, you hate the pressure, but could you post the next beta release of the new panel as is?