daskeyboard / q-marketplace

8 stars 0 forks source link

Minecraft Server Status Applet #20

Closed Baa14453 closed 1 year ago

Baa14453 commented 2 years ago

Hi, I made an applet that monitors the status of Minecraft Servers and lights up keys depending on whether it's online and how player players have joined: https://github.com/Baa14453/daskeyboard-applet-minecraft-server-status

Mubramaj commented 2 years ago

Hi,

Nice applet, I think many people will like it. Thank you for contributing.

I already started the review and here is the first feedback:

Baa14453 commented 2 years ago

Hi Mubramaj, I've switched libraries so it's a lot simpler now and removed the minification I'll look at the tests later in the week hopefully

Baa14453 commented 2 years ago

Tests are in @Mubramaj :+1:

Baa14453 commented 2 years ago

:eyes:

Mubramaj commented 2 years ago

Hi @Baa14453 ,

I am sorry for this late reply. The new changes looks really good. Just some last feedback for it to be perfect:

Baa14453 commented 1 year ago

Hi @Mubramaj thanks for your help, see my latest commits please

Two things I wasn't able to do and could use some guidance with:

Baa14453 commented 1 year ago

:eyes:

Mubramaj commented 1 year ago

Hi @Baa14453 ,

I am sorry for the late reply

I will publish a first version of your Applet since it is ready. You can make this improvements later with the default background color settings or once we implement an API feature that allows you to clear back to the background color.

Mubramaj commented 1 year ago

Hi again,

I was testing your applet following this guide https://www.daskeyboard.io/applet-development/ section Loading Dev applet into Q Desktop and when I configure the applet with a server that is not running I get redirected to the applet questions page without any error message. Can you also provide me an address and a valid port to test the applet ( I don't have any minecraft server)

To see how to handle errors on the question page you can take a look at the applyConfig method of this applet https://github.com/daskeyboard/daskeyboard-applet--firewall-guard

Best

Baa14453 commented 1 year ago

Hi Mumbraj, I'll check it out soon, in the meantime feel free to use legitcorp.com as a server address to test with, use the default port of 25565

Baa14453 commented 1 year ago

Mubramaj it shouldn't matter whether your configured server is offline or not, I can add my applet with any IP address and port, if the server is offline the keys will show-up as all red which is intended.

Mine doesn't redirect me back to any text input area but it does remain on the configuration page like this:

image

In the guide the gif shows a message saying the applet was added successfully but this doesn't appear for me with any applet I add so maybe the guide is just outdated?

image

Baa14453 commented 1 year ago

Hi Mubramaj, I've added your proposed changes in the PR and also pushed some additional fixes, tests should work now I was missing a field.

Baa14453 commented 1 year ago

Did some more cleaning today, Readme reads better in daskeyboard, the ENDUSER readme didn't work at all because I'd used URL references instead of file references for some reason so those are all fixed

Mubramaj commented 1 year ago

Hi @Baa14453 ,

I am sorry, I updated our fork today https://github.com/daskeyboard/daskeyboard-applet--minecraft-server-status/tree/master with your last changes but I still cannot run the applet.

image

Can you tell me what IP you use for it to work ? I used legitcorp and the default 192.168.1.10 and same result each time, I cannot pass through the configuration

Baa14453 commented 1 year ago

@Mubramaj Just tried it in a virtual machine to see what's going on, it doesn't work until I run yarn manually to install the dependencies is that normal? Not sure how other applets handle dependency installation for the end user

fabiendv commented 1 year ago

@Baa14453 I made some changes. Can you update your repo?

Your applet will be live soon enough.

Thank you.