These are chat archives for geh4y8/pdxshelter

16th
Nov 2014
Guy Halperin
@geh4y8
Nov 16 2014 06:34
alskdjg
Guy Halperin
@geh4y8
Nov 16 2014 07:25
hey the latest is up on github
boylea
@boylea
Nov 16 2014 07:37
sweet
Do you want to work on the phone stuffs, and I can look into adding events?
Guy Halperin
@geh4y8
Nov 16 2014 07:39
yes
boylea
@boylea
Nov 16 2014 07:51
So for events, we can create a new data base, branch the current one into shelters and events, any strong opinions?
*or
Or I can add them to the current data structure as is, and flag them as events, but I think I like that less
Guy Halperin
@geh4y8
Nov 16 2014 07:53
I think branching would be best
querying multiple database might bog it down a bunch
boylea
@boylea
Nov 16 2014 07:54
Thats what I figured
Guy Halperin
@geh4y8
Nov 16 2014 07:54
coolio
boylea
@boylea
Nov 16 2014 08:00
what are the g and .priority fields in coords?
Guy Halperin
@geh4y8
Nov 16 2014 08:01
im not sure, I think its created when I use create a geo instaance
boylea
@boylea
Nov 16 2014 08:02
ok, i am manually typing in a couple test cases, not going to worry about it for now then
Guy Halperin
@geh4y8
Nov 16 2014 08:13
so I spent way too long trying to get pdxshelter.co to connect to the firebase app
boylea
@boylea
Nov 16 2014 08:16
:(. I don't think the URL is a big deal to get working
Guy Halperin
@geh4y8
Nov 16 2014 08:16
agreed
everyone thought it was
everyone else
boylea
@boylea
Nov 16 2014 08:19
Well I say we put it at the bottom of the priority list. I think it is fine to say "This will be our URL". The fact that it's up is great.
Someone else can work on it tomorrow perphaps?
besides, maybe we can get one of the mentor or the like to help us with it since it's part of the sponsored stuff
Guy Halperin
@geh4y8
Nov 16 2014 08:21
yeah the pop.co is a joke
boylea
@boylea
Nov 16 2014 08:22
what is that?
Guy Halperin
@geh4y8
Nov 16 2014 08:23
the free domain registrar
boylea
@boylea
Nov 16 2014 08:23
really?
I looked at it and thought it was another groups project
boylea
@boylea
Nov 16 2014 08:30
I am going to update the data to reflect the restructuring, I can change it back and submit the PR that fixes the code to match shortly
Guy Halperin
@geh4y8
Nov 16 2014 08:37
I think I got the load time to be much better
boylea
@boylea
Nov 16 2014 08:38
Thats pretty good. My internet isn't very fast either
Just changed the data again
Guy Halperin
@geh4y8
Nov 16 2014 09:12
let me know before you create a PR
boylea
@boylea
Nov 16 2014 09:15
ok, I am ready to
Guy Halperin
@geh4y8
Nov 16 2014 09:15
ok hold on let me push
boylea
@boylea
Nov 16 2014 09:15
ok
Guy Halperin
@geh4y8
Nov 16 2014 09:16
good to go
boylea
@boylea
Nov 16 2014 09:17
I'm only going to add 2 lines, that creates the Firebase references from the new branching structure of the data
So we can keep working from the same live dataset
Guy Halperin
@geh4y8
Nov 16 2014 09:19
ok
phone is live
boylea
@boylea
Nov 16 2014 09:21
woot!
PR submitted
I tried to create references from children of one Firebase object, but it wouldn't work with the on callbacks
I think its fine though because the docs say "Creating a reference does not create a connection to the server or begin downloading data"
Guy Halperin
@geh4y8
Nov 16 2014 09:30
it works locally but when I deployed it doesnt render the pins
boylea
@boylea
Nov 16 2014 09:34
Guy Halperin
@geh4y8
Nov 16 2014 09:35
strange, i cant get the latest version
i tried clearing cookies
ha i got it in a private window
boylea
@boylea
Nov 16 2014 10:56
Do you know how I can get a couple checkboxes to always show over the top corner of the map? Can I use bootstrap for that?
Guy Halperin
@geh4y8
Nov 16 2014 10:57
hmm
im pretty sure you can z-index
to say 99
Guy Halperin
@geh4y8
Nov 16 2014 11:02
did that work?
boylea
@boylea
Nov 16 2014 11:03
nope
I could just be screwing up the css heirarchy though
Guy Halperin
@geh4y8
Nov 16 2014 11:06
ok lets see
boylea
@boylea
Nov 16 2014 11:06
<div id="filters">
<checkbox label="Shelters" />
<checkbox label="Events" />
</div>

filters {

   bottom: 0;
   right: 0;
   position: fixed;
   z-index: 99;
    }
Guy Halperin
@geh4y8
Nov 16 2014 11:07
cool so wrap the map-canvas in a div
boylea
@boylea
Nov 16 2014 11:07
hmm there is a #
Guy Halperin
@geh4y8
Nov 16 2014 11:09
is it not blocking the map
boylea
@boylea
Nov 16 2014 11:10
If I wrap canvas in a div it disappears
Guy Halperin
@geh4y8
Nov 16 2014 11:10
yeah im seeing that too
hmm
add a height to the wrapper
of 100%
boylea
@boylea
Nov 16 2014 11:16
It's back
But I still don't know how to make the tick boxes.
Guy Halperin
@geh4y8
Nov 16 2014 11:17
could you just use the sidebar for them instead of overlaying the map
boylea
@boylea
Nov 16 2014 11:17
I suppose
Guy Halperin
@geh4y8
Nov 16 2014 11:18
if it wasnt 3:18 I would say pound through it
boylea
@boylea
Nov 16 2014 11:18
yeah, thats true
boylea
@boylea
Nov 16 2014 12:21
Got it working except for one stubbon shelter!
boylea
@boylea
Nov 16 2014 12:44
If you're still there I just submitted the PR