/srv/irclogs.ubuntu.com/2014/10/30/#juju-gui.txt

=== urulama___ is now known as urulama
hatchkadams54: hey get my email this morning?14:09
kadams54Yeah, looking things over right now14:09
hatchgreat thanks14:09
hatchthe fix ended up being rather extensive lol14:10
hatchkadams54: I'm going to take this branch and work on the services side now14:11
kadams54OK14:11
kadams54hatch: when you have a few minutes, I'd like to talk over the changes.14:25
hatchyeah I'm good14:31
hatchstandup?14:31
hatch^ kadams5414:32
kadams54yup14:32
rick_h_jujugui call in 10 please kanban14:50
hatchjujugui hi mom14:50
kadams54hatch: all changes are now pushed to the PR15:37
=== alexpilotti_ is now known as alexpilotti
kadams54Will get the tests working and then (hopefully) land this puppy.15:37
hatchthanks15:38
hatchkadams54: did you want to rebase your branch to get it down to less commits? 15:58
kadams54That'll be the last step before landing.15:59
kadams54Once I get the tests passing.15:59
hatchok I'll make sure that my stuff can be added on after15:59
hatchjust lemme know if you make any code changes :)15:59
kadams54hatch: just changes to test code16:08
kadams54Which should be all fixed now. *fingers crossed*16:09
hatch haha nice16:12
hatchkadams54: without any changes the 'highlight' and 'fade' work for the source service but any related stuff doesn't work16:12
hatchdarn heh16:13
hatchwas hoping for better results by default16:13
kadams54I'm actually surprised anything works, so it's glass half full for me.16:13
kadams54Just pushed test fixes, so hopefully it'll have a green light in about 20 minutes.16:16
hatchgreat16:18
hatchkadams54: there is also a css bug in the tooltip when deploying a bundle, it's shifted to the left16:18
hatchthis likely happened when I did the header changes to make the header tooltip notificatiosn line up16:19
hatchmaybe that'll be a simple fix you can do as a driveby with the other css stuff16:19
kadams54hatch: Yeah, I can take a look as I'm updating the icon.16:23
kadams54guihelp: Need another QA on https://github.com/juju/juju-gui/pull/63116:23
hatchthanks16:24
rick_h_hatch: you did the first pass can you make sure the issues are all better?16:24
hatchyeah I already have locally and we did a shared qa16:24
hatchbut we both have been in here a while :)16:24
kadams54This is complex enough that I want a fresh set of eyes on it.16:25
rick_h_kadams54: hatch rgr16:25
rick_h_Makyo: you were a test away from  your branch up for review, can you qa while you get reviews?16:26
Makyorick_h_, yep16:26
rick_h_ty16:26
rick_h_fabrice: rather than the cookie one can you look at the clicking on deploy card next?16:27
rick_h_fabrice: updated the board to reflect the priority/new card there if that's ok?16:28
hatchkadams54:  I created the cards for your next tasks 16:31
kadams54Thanks16:31
hatchI THINK this is everythinig16:31
hatch(famous last words)16:31
hatchlol16:31
kadams54luca__: any updates on the highlight icon SVG -> PNG?16:43
luca__kadams54: not yet, sorry. Give me a sec.16:43
hatchluca__: YO16:44
hatchI have a problem with your service spec16:44
luca__:(16:44
hatchwait no I don't16:44
hatchignore me16:44
hatchI just figured it out16:44
hatchtoo many names for things lol16:44
hatchyou keep doin good things :)16:45
rick_h_luca__: kadams54 is asking about the highlight icon? ^16:48
luca__otp16:48
hatch:/17:14
hatchhaving multiple hidden/shown in the canvas is seriously messing things up :)17:15
hatchkadams54: got a few minutes to be a sounding board?17:21
kadams54hatch: yeah17:24
hatchok joining standup17:24
hatchMakyo: you able to hop into standup?17:28
hatchrick_h_: maybe you will know, able to hop into standup?17:29
hatchnm Makyo joined17:30
hatchMakyo: were you able to qa 631?18:05
Makyohatch, no, not yet, I'm still struggling through mine.18:09
hatchahh ok np18:14
kadams54jujugui: need reviews and QA on https://github.com/juju/juju-gui/pull/63318:41
hatchon it18:41
kadams54hatch, rick_h_, Makyo: that's the toggling for highlight buttons, so that only one can be active at a time.18:41
hatchkadams54: review and qa done - just need one more for both brancheds18:58
hatchjujugui - I know everyone is busy but could we get another QA on 631 and a review on 633?19:13
MakyoOn it19:14
MakyoI need out of test hell.19:14
hatchhaha u rock19:14
Makyohatch, kadams54 just to confirm, 631 doesn't affect service view?19:19
hatchorrect it's very broken19:19
hatch:)19:19
MakyoAssuming that's fixed later?19:19
hatchyup in my current local branch19:19
hatchjust need to get 633 and 631 landed so I can finalize my branches code19:20
=== kadams54_ is now known as kadams54
hatchkadams54: so looks like we can ship 631 now19:41
kadams54Yay19:41
hatchodly enough I no longer get user icons in github 19:41
hatchahh had to clear the cache19:41
kadams54Shipped19:42
hatchawesome19:43
kadams54Gotta switch locations, be back shortly.19:45
hatchjujugui one more review required - pretty small, qa already done https://github.com/juju/juju-gui/pull/63319:56
Makyohatch, kadams54 +119:58
hatchawesommmmmme19:58
hatchthanks for clearing these Makyo19:58
hatchcan you +1 on gh? 19:59
kadams54Woot woot.19:59
hatchawesome so....19:59
hatchkadams54: so I think the only thing else for this (besides my cards) is the tooltip thing I mentioned20:01
kadams54Yeah, looking into that.20:02
hazmatwhy does quickstart try to bootstrap a running environment?20:36
hatchhmm I've never seen that20:36
hatchbut it has been a while20:37
hazmatlooks like it always trys to bootstrap which is inane20:38
hatchhmm odd maybe I've just never noticed :)20:39
* hazmat files a bug https://bugs.launchpad.net/juju-quickstart/+bug/138786720:39
mupBug #1387867: always tries to bootstrap .. check the api endpoint instead <juju-quickstart:New> <https://launchpad.net/bugs/1387867>20:40
hatchthanks20:42
hatchkadams54:  I found another bug20:49
kadams54Gah20:49
hatchmaybe you can work on this one20:49
kadams54K20:50
hatchwell, can you try and reproduce it first heh20:50
hatchit is...20:50
hatchload up the gui so it lands on the service view and charmbrowser on initial load20:50
hatchdeploy20:50
hatchthe mongodb bungle20:50
hatchclick to highlight mongosvr20:50
hatchconfigsvr*20:50
hatchswitch to mb20:50
hatchmv*20:50
hatchno machines are hidden20:50
hatchyou will need to add this code to models.js:142420:51
hatch        if (!machine.units) {20:51
hatch          // If the machine view hasn't been opened yet then there won't be a20:51
hatch          // units collection on the machines.20:51
hatch          return;20:51
hatch        }20:51
kadams54K20:51
hatchto avoid it from falling over 20:51
kadams54I'll make a card and get on it.20:54
hatchthanks 20:55
hatchI really hope this isn't yet another oddity20:55
hatchMakyo: hey - we don't have a 'hide relation line' method?21:03
hatchwe have show and fade but no hide?21:03
hatchI can just copy the other methods but I thought we had something to do this already21:04
hazmatis there a config option yet to display icons for non official charms?21:05
Makyohatch, no, nothing in place21:05
hatchallllllllrighty21:07
hatchMakyo: just to confirm - in a relation topology d.source is the 'near' and d.target is the 'far' ? There is a bug where it's showing relation lines where the 'far' is hidden so I'm just wondering if this terminology is consistant 21:19
hatchit's around line 770 in topology/relation.js21:19
hatchit appears to be so21:19
MakyoIt shooould be?21:20
hatchheh ok I'll asume so as well :)21:20
hatchd3 is pretty awesome even if it's api is horrible ;)21:23
hatchahhhhh just rebased in develop and it broke it!21:33
hatchblargggg21:33
hatchkadams54: so the branch which did the toggle thing actually has these events propogate everywhere21:35
hatchwe need to use method calls instead of events21:35
kadams54Why?21:35
hatchkadams54: actually I was able to fix it reordering the events21:37
hatchit was highlighting then unhighlighting21:37
hatchhah21:37
hatchby switching them around it works21:37
kadams54I can make it less spammy21:37
kadams54Great21:37
hatchphew21:38
hatchMakyo: FYI target is not always 'far' 21:44
hatch:'(21:44
Makyo:/21:45
hatchsweet I got all the functionalities down21:55
hatchkadams54: any luck tracking down that bug?21:55
kadams54Not yet. My work time's been sporadic with dinner time, but the family is off to dance class now so I now have some quality bug squashing time.21:56
hatchohh right it'a past your EOD21:56
hatchwell you could just leave it for me21:56
hatchNow that I have this functionality done I need to write tests21:57
hatchrick_h_: are you around tonight?21:58
=== kadams54_ is now known as kadams54
kadams54hatch: It's no problem.22:00
hatchjujugui if anyone wants to do some preemptive qa work on this added services stuff it would be appreciated https://github.com/hatched/juju-gui/tree/canvas-fade22:02
MakyoOn it22:03
hatchMakyo: thanks - the only currently known bug is the one I mentioned to kadams54 at 14:50 in the scrollback22:03
hatchand now to write tests....OOOOBOY!!!22:04
hatchMakyo: also I seem to have re-introduced the error when trying to hide/fade ghost services :/22:05
hatchwill look at that now22:05
hatchok that's being done as a follow-up22:10
hatchmoving the card back 22:10
kadams54hatch: OK, I think I figured out what the bug is.22:16
hatchok shoot22:16
kadams54It's actually the line you had me add at 1424 in models.js :-)22:16
kadams54if (!machine.units)22:16
kadams54machine.units isn't set in the DB22:16
kadams54We set it by making a call to db.units as part of render()22:16
hatchsooooooooo howdowefixit?22:18
kadams54_updateMachineWithUnitData, machine-view-panel.js, line 140922:18
kadams54I think setMVVisibility needs to be moved out to the DB or a util method22:19
hatchso on render it should populate that unit data with the visibility statuses22:19
kadams54It will need to make a similar query to db.units first and then do the unit check22:19
hatchwell setmv is in the db22:19
kadams54It's in MachineList22:19
kadams54I think?22:19
kadams54Yeah.22:20
hatchoh yeah22:20
hatchbut that's ok22:20
hatchif we have the db we can access the machone list22:20
hatchbut you're suggesting updating the machines with the unit data before we open the mv?22:20
kadams54No22:20
kadams54I'm saying setMVVisibility just needs to do this:22:21
kadams54var units = db.units.filterByMachine(machine.id, true);22:21
kadams54if (!units) {22:21
kadams54...22:21
kadams54Instead of just:22:21
kadams54if (!machine.units) {22:21
kadams54That make sense?22:22
hatchnope22:22
hatchbut I can try it22:22
hatchlol22:22
hatchsec22:22
kadams54We can't count on the internal list (machine.units) being initialized when setMVVisibility is called22:23
kadams54We need to go back to the DB (db.units.filterByMachine()) instead22:23
hatchoh wait I can't, now I see why you want it on the db22:23
hatchheh22:23
hatchohhh22:23
hatchso you're saying we need to update the 'real' units22:24
kadams54Yes22:24
kadams54Those "real" units will get populated into machine.units at a later point22:24
hatchso does it make sense to do that OR do we run the update on mv load?22:25
hatchI think your idea is better22:25
kadams54Also: lines 1427-1432 in models.js is some crazy shit22:25
hatchyeah don't go there22:25
kadams54nested some() calls22:25
hatchit's dangerous22:25
hatchtherebedragons22:25
kadams54#22:26
kadams54#therebedragons22:26
hatchtruth22:26
kadams54Can you throw a comment on there?22:26
hatchno I don't remember what it does22:26
kadams54lol22:26
hatchlol!!22:26
hatchjk yeah I can22:26
kadams54kk, I gotta run again, but will check in again in about an hour22:27
hatchthanks! 22:27
hatchcya22:27
=== kadams54 is now known as kadams54-away
=== Guest89108 is now known as bodie_
rick_h_hatch: around what's up?23:48

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!