OpenPoGoWeb icon indicating copy to clipboard operation
OpenPoGoWeb copied to clipboard

Eliminate need for userdata.json

Open MaxLeiter opened this issue 9 years ago • 6 comments

It'd be great to fetch the usernames/api key/etc from the bots instead of requiring the user to modify a config file

MaxLeiter avatar Jul 27 '16 01:07 MaxLeiter

Should be easy with the new Web Sockets. However the JavaScript could need to better structuring, are there any thoughts on Frameworks for the DOM elements and stuff like that? I'm thinking ReactJS would be pretty nice for drawing the interface, but there are other options.

Saturate avatar Jul 27 '16 08:07 Saturate

@Saturate I second the notion to use ReactJS

Dekryptid avatar Jul 27 '16 18:07 Dekryptid

The issue isn't if we should implement it; the issue is who is going to implement it.

meyer9 avatar Jul 27 '16 19:07 meyer9

We need the issue for visibility, @jmeyer2k. I'm not necessarily for or against react/a different framework, but remember that limits a lot of contributions. I'd be fine with just modularizing the code into multiple files, or at least adapting a more readable style.

MaxLeiter avatar Jul 27 '16 20:07 MaxLeiter

I'm currently working on modularizing the code, though it's extremely messy atm and might take a lot of time.

wchill avatar Jul 27 '16 20:07 wchill

In not thinking ReactJS just because it's want I want to work with, I think the redraw nature and Virtual DOM would be quite handy for us, and the kind of data we are working with,

Another option could be MithrilJS, but quite frankly the documentation is not that good and almost no body knows it.

I could put some time into this, but it would be best if we agreed on a framework that most of us know.

Saturate avatar Jul 28 '16 06:07 Saturate