These are chat archives for cash-4-views/wood_chipper

20th
Apr 2015
James Griffiths
@MIJOTHY
Apr 20 2015 01:58
aint in tomorrow laptop is playing up
James Griffiths
@MIJOTHY
Apr 20 2015 09:43
what yall planning to do today
David Beech
@beechware
Apr 20 2015 09:59
I’m planning on carrying on getting the admin pages up to snuff. Got some similar code but will look into dynatables might be a better solution.
Happy to change directions if your already moving into that space now..
Rory
@rorysedgwick
Apr 20 2015 10:06
finish integrating mailgun first I guess
want to make sure I understand all the database stuff then can work on the admin editing maybe
James Griffiths
@MIJOTHY
Apr 20 2015 10:17
have you guys pushed or pulled recently?
Rory
@rorysedgwick
Apr 20 2015 10:20
just pulled this morning
James Griffiths
@MIJOTHY
Apr 20 2015 10:33
ok cool
react is also a possibility for the front-end if anyone feels like doing that, reactabular is a fairly simple table plugin i think
ill try to be pushing regularly
its pretty jokes
my laptop browser keeps crashing
cos the data is too much
Rory
@rorysedgwick
Apr 20 2015 10:37
yeah i was gonna ask hows it holding up?
ah shit
James Griffiths
@MIJOTHY
Apr 20 2015 10:37
but tbf i think its becuase im just doing a hacky client side display so i can see what happens
but displaying the whole thing in json or csv is ok
its just trying to render it all in html at once
anyway, any questions about the backend etc just hit me up, like if you wanna know the data format or w/e
also been looking into the YT analytics api a bit
Rory
@rorysedgwick
Apr 20 2015 10:38
cool
James Griffiths
@MIJOTHY
Apr 20 2015 10:39
fuck me this project is big, wouldn't mind doing an extra extra week
Rory
@rorysedgwick
Apr 20 2015 10:40
what are the login details that work now? i’ve been getting an error and realized it may be cos i don’t have legit details
James Griffiths
@MIJOTHY
Apr 20 2015 10:41
tuna
another non-admin: wally@wally.com
law
Rory
@rorysedgwick
Apr 20 2015 10:42
cheers
James Griffiths
@MIJOTHY
Apr 20 2015 10:45
big day yesterday, the storage account quota is now at 149.99, down 1p from £150
all those lines are costing
im uploading all of th elines again
so if you log in as admin in 5-10 mins
James Griffiths
@MIJOTHY
Apr 20 2015 10:50
you'll be able to visit the following endpoints to get the 2015_01 report
/api/v1/reports/2015_01?approved=true
/api/v1/reports/2015_01?approved=false
/api/v1/reports/2015_01/{customid}?approved=true
/api/v1/reports/2015_01/{customid}?approved=false
/api/v1/reports/2015_01/{customid}
David Beech
@beechware
Apr 20 2015 11:31
We’ve been talking about going React trying to think what we’ll have to redo?...
James Griffiths
@MIJOTHY
Apr 20 2015 11:32
what u mean
oh yeah just deleted the reports re-uploading them now
nice email rozza
but yeah, redo which parts
David Beech
@beechware
Apr 20 2015 11:33
exactly lol
James Griffiths
@MIJOTHY
Apr 20 2015 11:34
for the table look up reactabular
thats the main part
since that's the dom-heavy bit
David Beech
@beechware
Apr 20 2015 11:34
Yeah I’ve checked it it looks super
James Griffiths
@MIJOTHY
Apr 20 2015 11:34
just rendering all the data and having it able to edit each customid on the non-approved ones
well if you can get reactabular working with some dummydata then we can plug in the real shit
David Beech
@beechware
Apr 20 2015 11:35
Ok i’ll make that my main focus
James Griffiths
@MIJOTHY
Apr 20 2015 11:35
so you can expect data in the format from the above endpoints
look at rendering parts of the data since rendering it all at once isnt so great
so like you've got all the data sitting there, but only rendering (e.g. index 50-150) until the user scrolls somewhere or clicks the next page or some shit
David Beech
@beechware
Apr 20 2015 11:37
ok
David Beech
@beechware
Apr 20 2015 11:58
reactable also looks pretty good
James Griffiths
@MIJOTHY
Apr 20 2015 12:02
yeah man whichever, as long as we get something up and running
Rory
@rorysedgwick
Apr 20 2015 12:20
the users are being stored in their own azure table right?
James Griffiths
@MIJOTHY
Apr 20 2015 12:20
yh
Rory
@rorysedgwick
Apr 20 2015 12:21
might need a deleteAccount option, that would go in Account.js yeah? need to get rid of the test users i’ve created
James Griffiths
@MIJOTHY
Apr 20 2015 12:22
can do that online, hmu with any deletions/edits you want since its stuck to my microsoft account
Rory
@rorysedgwick
Apr 20 2015 12:22
ah seen that would be easier
hmu?
James Griffiths
@MIJOTHY
Apr 20 2015 12:23
hit me up
Rory
@rorysedgwick
Apr 20 2015 12:23
oh hit me up
James Griffiths
@MIJOTHY
Apr 20 2015 12:23
m8
Rory
@rorysedgwick
Apr 20 2015 12:23
everyone then I guess except the two you started with
I was just testing the chain to see if it was all fitting together
James Griffiths
@MIJOTHY
Apr 20 2015 12:24
dun
Rory
@rorysedgwick
Apr 20 2015 12:24
cheers
Rory
@rorysedgwick
Apr 20 2015 12:51
account creation notifications working, pushed to mailgun1
for the updating of records, were we having rebecca save each individual row after its been edited or will it be a ‘save all’ button when she’s gone through a bunch?
James Griffiths
@MIJOTHY
Apr 20 2015 13:00
i think individual save
probably the customid field will have the text input and the button i guess, saves her scrolling everytime
ill pull from yours in a sec, nice one
found a much faster way to upload
now it only takes 40s as opposed to 15mins haha
Rory
@rorysedgwick
Apr 20 2015 13:17
btw we had a chat with dan this morning and he was of the opinion to forget video uploads/part 2 and really focus on making part 1 solid and tested
James Griffiths
@MIJOTHY
Apr 20 2015 13:17
yeah makes a lot of sense
whats the deal for next week? I kinda wanna keep working on this or try out my own stuff tbh
this would be a pretty sick project to nail
Rory
@rorysedgwick
Apr 20 2015 13:18
and from now on may remind clients what MVP stands for and not to expect too much/get carried away with extras
James Griffiths
@MIJOTHY
Apr 20 2015 13:19
haha
to be fair she seemed pretty understanding that the video bit was a stretch stretch goal
Rory
@rorysedgwick
Apr 20 2015 13:19
think the squish guy is trying to sneakily add features for the others to work on this week
James Griffiths
@MIJOTHY
Apr 20 2015 13:19
fuckin squishy, so sly
Rory
@rorysedgwick
Apr 20 2015 13:19
yeah she was
think we’re having a discussion about next week projects this afternoon
i’m tempted to go back to the d3 stuff cos the deadline for that competition is friday next week
James Griffiths
@MIJOTHY
Apr 20 2015 13:33
turns out it wasnt actually uploading thats why it was running so fast haha
oh well w/e
James Griffiths
@MIJOTHY
Apr 20 2015 14:22
the azure people just called me since i registered for a free trial and set me up with someone in case i have questions haha
madness
Rory
@rorysedgwick
Apr 20 2015 14:54
keenos
James Griffiths
@MIJOTHY
Apr 20 2015 16:09
gonna write tests for the refactored server, then will pull your version, integrate and push back up this even
evenstar
James Griffiths
@MIJOTHY
Apr 20 2015 16:23
hows it looking on the table front
David Beech
@beechware
Apr 20 2015 16:36
reactabular was a dark rabbit hole we both fell down. We’re looking at griddle-react at the moment which looks more promising.
Rory
@rorysedgwick
Apr 20 2015 17:44
I’ve got a very basic example of one row of data rendered in react and the problem is theres so many columns the data is all merging together
we may have to give her the option to not display certain columns. Or make the page scroll miles to the side, which may be annoying if she’s going back and forth every row
James Griffiths
@MIJOTHY
Apr 20 2015 17:46
yeah i was thinking the former
so what we could do is somethin glike the following
when we map over the array of objects, we give each 'td' rendered an id
(e.g. col1)
then on clicking a button on the header
Rory
@rorysedgwick
Apr 20 2015 17:46
i’ll delve deeper into griddle, wouldnt be surpised if they had a toggle or something to display certain columns
James Griffiths
@MIJOTHY
Apr 20 2015 17:46
it would add/remove that id
ite
sick
m8 i want some griddled chicken now
Rory
@rorysedgwick
Apr 20 2015 17:48
griddled chicken lunch outing on friday

columns

array - The columns that should be displayed by default. The other columns can be chosen via the grid settings. If no columns are set, Griddle will display all columns by default
Rory
@rorysedgwick
Apr 20 2015 17:53
that works
James Griffiths
@MIJOTHY
Apr 20 2015 17:58
nice
pagination works too yeh??
Rory
@rorysedgwick
Apr 20 2015 18:01
about to test but see no reason it won't
Rory
@rorysedgwick
Apr 20 2015 18:08
indeed it does
infinite scroll too
we’re gonna need a build folder n gulpfile n all that junk in wood_chipper now right?
James Griffiths
@MIJOTHY
Apr 20 2015 18:17
yeah src and build folder
Rory
@rorysedgwick
Apr 20 2015 18:44
you think its worth going all out with flux?
how many components are we going to be rendering in react?
James Griffiths
@MIJOTHY
Apr 20 2015 18:53
for now just react
is griddle fluxified?
Rory
@rorysedgwick
Apr 20 2015 18:54
nah not by default
James Griffiths
@MIJOTHY
Apr 20 2015 18:54
jsut ract for now than
just the admin panel
which is
account table and report table mainly
Rory
@rorysedgwick
Apr 20 2015 18:55
righty ho
James Griffiths
@MIJOTHY
Apr 20 2015 18:55
give flux a go if you want though
Rory
@rorysedgwick
Apr 20 2015 18:55
nah was thinking it was a lot of initial effort for just a couple of components
James Griffiths
@MIJOTHY
Apr 20 2015 18:55
alright
Rory
@rorysedgwick
Apr 20 2015 18:56
we’ll see once the whole thing comes together
Rory
@rorysedgwick
Apr 20 2015 20:10
pushed basic react setup and some dummy data to react1 branch
James Griffiths
@MIJOTHY
Apr 20 2015 20:26
have you got build in gitignore btw?
im gonna pull from mailgun, merge, then work on the account page
or does react1 have all the mailgun stuff too?
Rory
@rorysedgwick
Apr 20 2015 21:27
react has mailgun stuff but shit didnt add build to gitignore
James Griffiths
@MIJOTHY
Apr 20 2015 22:02
nbd we can delete and add, doesnt have any creds in there
big refactored, im gonna pull from react1 and merge my shits
pretty huge conflict in server.js haha
James Griffiths
@MIJOTHY
Apr 20 2015 22:34
can i get the mailgun creds?
nvm for now
James Griffiths
@MIJOTHY
Apr 20 2015 22:52
made some changes with the mailgun, just so we can pass down config from server so testing is easier
added the main.js in public to gitignore
changed config back
will be in late tomoz gotta stop by the embassy u kno
Rory
@rorysedgwick
Apr 20 2015 23:16
mailgun creds: email - rory.sedgwick@gmail.com, password - laniakeadmin
aight, fraid I probs won’t be in at all tomorrow, dentist gonna go to town on me teeth