X-Wing List Juggler

By sozin, in X-Wing

finally sigi from outer rim smugglers is going to make a video tutorial for how to use Juggler!

Lyle, any word on the tutorial for this? Right now I'm working on learning cryodex, and I want to understand the whole process. This would really help out for the Galactic Cup 2.

Anyone know an easy way to record yourself doing something on your computer? I'd love to put together a Cryodex tutorial.

I've bumped Siggi!

Apologies, I was unaware that I was doing a video on X-Wing Juggler :o

I had offered to do it, but there was some communication error so I did not get the go ahead.

I will gladly do it though. I'll keep you posted.

A few updates.

1) Chris added a feature to Cryodex that lets you put in the voidstate list id into cryodex. if you export from cryodex in juggler format, when you load the json file into juggler it will autoload the lists from voidstate. (when geordanr has convenient list ids we'll support that too.)

2) made it so you can enter lists directly from the tourney_results page, as opposed to getting a random list from the main tourney page. see http://lists.starwarsclubhouse.com/tourney_results?tourney_id=96 for example.

Ok, stakeholders, wanted your thoughts on something.

DataTable Editor license in hand, I'm now tucking into the edit feature(s). I am going to start with being able to edit the tourney results - who participated, what their scores were, etc.

Easiest thing for me is to not having any permissioning at all - anyone who visits the web page can edit. This will create a problem if someone decides to deface/destroy using the edit feature. I can back up the database more regularly -right now I have a nightly job that backs it up 1x/day - I could back it up once every new tourney is entered for example. If things get defaced/destroyed I can just restore.

The alternative is to set up permissioning. For example, I ask the user to provide their email when they enter a tourney. When an edit operation occurs, the system could prompt the user to give the email address (which is never displayed on the site) before letting you proceed with editing.

The other alternative is to set up a login system. This is the most annoying one and one I'd like to avoid if possible. Lazy Ex-Programmer-Turned-Management-Scum is Lazy.

thoughts?

I like the "you have to enter your email address to edit" idea. It is minimal security, but enough to prevent random assholes from causing problems. Then I assume you would have a master login that is always accepted for yourself.

Personally I think the simple email works well. That way if someone else wants to edit, it is relatively easy to pass around the key, without completely opening it up to the entire internet.

Also make a note on email when entering it on the tourney info form that it is also used as the key for future editing.

Cool, will use email addy, ty

Hi Sozin

Check out Persona for authentication. Looks very easy to implement and isn't tied to Facebook it Google like other easy to add systems.

https://developer.mozilla.org/en-US/Persona

VS

Edited by voidstate

Thank you Fergus!

Good news, I've deployed list results editing!

Here's an example page to see it in action: http://lists.starwarsclubhouse.com/get_tourney_details?tourney_id=140

This feature is important because it allows us to start entering partial tourneys - that is, tourneys where the creator doesn't have all the details on what happened. The tourney results can now be entered incrementally. If you click on the lock/unlock button juggler will prompt you for the email address of who created the tourney. by default, tourneys that entered with cryodex are locked, and tourneys that are entered without cryodex are unlocked.

- Added a banner on the top of every page that shows some stats on how many tourneys, lists, ships, upgrades, and points have been spent

- Added a bunch of tournaments that hadn't been entered yet from the store championships thread. we're crowd sourcing the entry of those tournaments now if you want to participate; see this google doc for the details

added a store championships page to show all the lists from just the 2015 store champs

http://lists.starwarsclubhouse.com/store_champs

page has a cache that refreshes every 5 minutes, so if you happen to be the unfortunate who clicks on it after 5 minutes of idle time there will be an approx ~5s load time

Quick question. I uploaded the ListJuggler JSON file from Cryodex, but there's no way for anyone to add their lists. Is there a reason for this? I see other tournaments that have "Enter List" as an option next to each name.

http://lists.starwarsclubhouse.com/get_tourney_details?tourney_id=174

Cheers!

Hey there. Yeah, for some reason I auto-locked all the cryodex tourneys. I need to change it so the tourney only autolocks after all lists have been submitted :-)

To unlock the tourney, go to the tourney link listed above, click on the lock, and then type in the email address you used to create the tourney. it will then unlock for everyone.

ok, all tourneys are now unlocked by default. if every list from a tourney is entered, it will auto lock.

Thanks Sozin. I can enter the list now, but the "get it" button for uploading Voidstate or other list builder links does not do anything. Is that broken? Thanks!

Also, I think 2 people might have been entering lists at the same time, so "Mark F" and "Bill D" got really messed up and there's no way to edit. Is there a way to remove and let us reenter again?

Thanks!

http://lists.starwarsclubhouse.com/get_tourney_details?tourney_id=174

Edited by kryzak

hey Kryzaz! Re: changing tourney lists, yeah, I need to add that. I'll post here when done.

re: voidstate/yasb fetches - I just tried it in prod and all seems well. yasb is a little slow today but voidstate returned quickly. I saw that you entered all the lists - did you do that manually, or did list fetching start working?

Kryzak - just rolled out a feature that will enable you to renter the list.

http://lists.starwarsclubhouse.com/get_tourney_details?tourney_id=174 and the each list now has a 're-enter list' link. note, I, uh, accidentally deleted Ray B's list when testing it. I am sorry :-(

in other news, last night I rolled out TieX1. Naturally it broke my entire abstraction model around list building :-)

finally, I am thinking about re-doing the way list building works to better model the way people type lists out. this is what I'm thinking:

16333176707_9256a61a40_z.jpg

When I type in a list, the format I use is "<pilot> + <upgrade> + <upgrade> + ... ; <pilot> + <upgrade> ..."

I think that a natural list entry could follow that format. the <pilot> text box is just a search enabled text box that autocompletes the pilot name as you type it in. the same for the upgrade. thus, you can quickly type and tab your way through a list and never have to worry about using drop down boxes to select the ship type, then the pilot, then the upgrade, etc etc. compare this to the current list entry view:

16519135985_7ec32772c7_c.jpg

thoughts?

It's a minor thing, but I do like top to bottom instead of left to right. Auto complete may be easier than the drop downs, I guess I would have to test both to see what feels faster. Sounds like Autocomplete, especially since you don't need to select both ship and pilot.

finally, I am thinking about re-doing the way list building works to better model the way people type lists out. this is what I'm thinking:

Sozin, I have a JavaScript-powered web UI for entering XWS data. It's currently buried in another project of mine, but if you give me a couple of days I can work on pulling it out into a separate bower package (so it could be installed the same way the XWS stuff can).

It's set up to use select2 and has some clever* substring matching so you get the benefits of both drop-downs and autocomplete. I think it makes manual list entry really fast. It spits out an XWS compatible JS object, which should be pretty easy to dump to JSON and send to the backend, or whatever you want to do with it.

I've got a store champ on Sunday (Game Kastle Freemont, woo), but the wife and I are waiting until next weekend to celebrate Valentine's, so hopefully I can get something pulled together quickly.

Interested?

*If I don't say so myself. ;)

Edited by WickedGrey

yeah, that is exactly what I'm looking for! lets powwow whenever you are ready.

Thanks Sozin! I'll reenter the lists. We did it manually because none of the buttons were working, but I do like your new proposed method better, since entering with the current method is kind of painful with a lot of lists. I like the typing it out and pressing enter to accept it and jump to the next upgrade or something. Thanks a bunch!

Another idea is the ability to duplicate a ship, since a lot of people play swarms or 2 of the same ships. It'll make entering them a lot easier since two IG-88 will be pretty popular.

EDIT: not sure why the "reenter list" just relocked again... "Bill D" list has an extra Kath Scarlet in it, otherwise I think all is good.

Edited by kryzak