minecraft-wrapper icon indicating copy to clipboard operation
minecraft-wrapper copied to clipboard

Re-doing the Dashboard code

Open benbaptist opened this issue 9 years ago • 5 comments

I'd love to just completely start fresh with the dashboard. It's awful. I wrote a hacky little web server, the HTML/JS/CSS3 (client-sided) part of it all sucks, it's just awful. awful awful awful awful awful awfulaful awuflawufla.

Anyways, I've thought about moving to Flask, and to that extent, Flask-SocketIO. This means it'll be an extra dependency, but it would be super worth it. It's incredibly easy to work with, lightweight, and would be able to have a nice websocket connection WITHOUT a separate port (it'll run on the actual web server port). Any ideas or thoughts on this?

benbaptist avatar Jan 08 '16 19:01 benbaptist

I say use that dependency! LOL whatever makes the rest of it work better and is easier to use..

suresttexas00 avatar Jan 08 '16 21:01 suresttexas00

Flask would be good! Looks like you are using bootstrap for the front-end. Is there a particular vision you have for the dashboard? Right now it looks like a remote server management console; in that case bootstrap might still be something we could leverage for the quick and dirty cross browser and mobile support, just would need to pretty it up some.

JasonBristol avatar Jan 09 '16 06:01 JasonBristol

Flak looks like good, because it's lite 'n simple. It's perfect for local-hosted webpages.

Sasszem avatar Jan 31 '16 14:01 Sasszem

It already uses bootstrap.

benbaptist avatar Jan 31 '16 22:01 benbaptist

Visualizations might add some flair to the dashboard as well, personally I think a visualized metric of player statistics would have benefit. I have around 20-30 players that play at all hours and being able to have a quick dashboard view to track player frequency, logons, etc would make scheduling random events easier. I think something like d3.js would come in handy there

JasonBristol avatar Feb 01 '16 20:02 JasonBristol