musiqpad / mqp-server

NodeJS server base for hosting an individual pad
MIT License
30 stars 18 forks source link

[Suggestion] Show pad social media/website links + error message if pad doesn't load. #80

Open Uricorn opened 8 years ago

Uricorn commented 8 years ago

If you misconfigured your pad or are having server issues, visitors to your pad are currently met with an infinite loading screen.

I suggest that you ask pads what their social media accounts and website are, and then if the pad takes too long to load, you display an error message and state that you can contact the owners via the links.

ImGrumpy commented 8 years ago

Great idea. Instead of asking owners for this info though, it should be stored in the config file (or the Admin Panel https://github.com/musiqpad/mqp-server/issues/39 once it exists).

Uricorn commented 8 years ago

Wouldn't the frontend have to access the config file though to pull the links?

The main point of this would be to help users know what to do in the event that it cannot reach the server.

ImGrumpy commented 8 years ago

Sort of? If it were in a config file, the pad could report it to the lobby for use when loading. Then when the pad is not available, the last reported info could be shown. Like an extension of the data that's transmitted currently during lobby updates.

explodingcamera commented 8 years ago

We could just add it to the config that only contains the socket host + port atm, that gets loaded even if the websocket connection fails.

DerpgonCz commented 8 years ago

@henr-y We would have to add it to the database in order to show it even when pad is offline. That could be changed using the Management Console