/srv/irclogs.ubuntu.com/2014/11/07/#juju-gui.txt

=== kadams54 is now known as kadams54-away
=== urulama__ is now known as urulama
=== urulama is now known as urulama__|home|
=== urulama__|home| is now known as urulama
kadams54hatch: https://github.com/kadams54/juju-gui/commit/252f24ad38649027e64aff7e2252968a0b37fabc#diff-8d19084702f50f400641361a9cb7859114:27
kadams54hatch: tests for setMVVisibility14:27
hatchhmm is that enough?14:28
hatchthere are 4 conditionals in the code so shouldn't there be a test for each path14:29
hatchit's definitly missing adding a key to the _highlightedServices prop14:30
hatchdoes one of the tests test the !machine.units story? (sorry I'm pre coffee but I don't see it)14:32
hatchspeaking of which.....running real quick to grab a coffee :)14:33
hatch1H 9M until I can buy linkin park tickets - I may miss our standup :P 14:51
hatchthe ticketmaster experience *refresh* *cuss* *refresh* *cuss* *get seat assignment* *website crash* *cuss* *refresh* *sold out* *wait 2 minutes* *refresh* *get same seat assignment* *cuss* 14:53
rick_h_surely something better to do with your time :P14:54
rick_h_hatch: no link for the branch you've got in review 14:54
hatchnah I almost booked a half day for this14:54
hatch:P jk14:54
hatchhttps://github.com/juju/juju-gui/pull/64814:55
hatchthat one?14:55
rick_h_hatch: yea, got it thanks14:55
hatchrick_h_: that thing you tweeted about would make for a cool charm for people who wanted to host it in their own env15:00
hatchjujugui need one more review https://github.com/juju/juju-gui/pull/64815:00
kadams54hatch: looking15:02
rick_h_hatch: right, like us or other properties in canonical15:02
rick_h_hatch: I want to look more but ran across it in my rss feed last night15:02
hatchit's a pretty cool idea if it works :)15:02
rick_h_yea15:03
hatchneed actions so people can click 'update dictionary' :)15:03
rick_h_heh yea15:03
hatchwas thinking they should go in the inspector15:04
hatchunder another tab15:04
rick_h_unit and service details is the first thought, maybe running actions in the inspector for results?15:04
rick_h_because it's unit level as well the inspector is a bit harder15:04
hatchthere is no service level?15:04
rick_h_there is, service + unit15:04
hatchwell that's a pretty big oversight no?15:05
hatchif I wanted to update the internal dictionary from a remote location for all units I'd have to manually loop through them all?15:05
kadams54hatch: missing key added to _highlightedServices prop is tested implicitly in both "highlights XXX properly" tests. Ditto for !machine.units, since none of the machines setup in beforeEach have units set.15:06
rick_h_huh? you can trigger actions at the service and unit level15:06
hatchohh ok then that's good - sorry I missunderstood15:07
rick_h_hatch: so yes, you can do what you want, and with leader elections there's more power to them as well15:07
hatchperfect15:07
rick_h_where the service level trigger can get a single unit nominated to do the action/etc15:07
hatchyeah that will be nice - we've needed this functionality for a long time15:08
rick_h_yea15:08
kadams54Alright, this is getting ridiculous. Just had my third merge build fail. Two failures due to NPM errors, one due to a failed notification test.15:08
hatchreally would like an 'upgrade ghost' button which just goes and pulls the latest version 15:08
hatchnot sure how one would do a rolling update15:09
hatchbut....yeah15:09
hatch:)15:09
rick_h_there was talk in brussels of apis to upgrade single units15:09
hatchoh?15:10
rick_h_yea, not sure when but the idea is out there15:10
hatch*notes that ticketmaster is down again*15:11
hatchwell that's good to hear at least15:11
hatchkadams54: ok now I see how the tests work15:11
hatchcould you maybe add some comments to that effect15:11
hatchit's not really clear that it's hitting those conditionals15:11
kadams54Will do15:13
hatchkadams54: working on this latest branch I've noticed that there is a LOT of noise around the machine and unit events15:17
hatcheasily a 5x multiplier on thenumber of machines/units per highlight15:18
kadams54Yeah.15:18
kadams54I noticed that we fire off change events for every machine in setMVVisibility15:19
kadams54When in reality we should be checking for machines that actually change their hide attribute and only trigger events for those15:19
kadams54I think re-doing things so that the service token modifies service flags directly, instead of firing an event, will also help quiet things down15:20
kadams54I'll be creating some cards once I get this branch to land15:21
rick_h_kadams54: let's chat and walk through it before hand. I'm nervous of tokens making model changes. 15:23
kadams54Sure. I can chat whenever. tldr version is that changing the attributes directly would simplify a great deal.15:24
hatchkadams54: did you review 648?15:38
kadams54hatch: No, no I did not. I forgot about it and made a breakfast sandwich instead. Lo siento.15:39
kadams54Looking now.15:39
hatchdo you? do you feeeeeeel it?15:40
hatchI think lo siento literally translated means "feel it"15:41
hatch:)15:41
kadams54"Siento" is also the I form of "sentar", which means "to sit"15:44
kadams54hatch: I'm worried about 648.15:52
hatchwhy?15:52
kadams54hatch: the lines that you removed were put in by Makyo as part of the added services work15:52
hatchyeah, but they don't fit the spec15:52
kadams54I tested highlighting and showing and they still seem to work, but I'm not entirely sure why.15:52
hatchbecause the code I removed was only for hiding container tokens15:53
kadams54Specifically I'm worried about highlighting15:53
rick_h_right, what lines are we talking about in 648? there's no lines there really, just MV tokens?15:53
kadams54Deleting lines 206-213 in container-token.js15:54
kadams54What's supposed to happen if you have multiple containers on a machine and only one has the service that is highlighted?15:55
kadams54Should the other containers be hidden (as we do with other machines)?15:55
kadams54Or should they be shown, just without their units?15:55
kadams54I don't think the specs we have cover that.15:55
hatchkadams54: according to the spec it doesn't say - but it says it should represent the environment15:56
hatchso keeping them visible makes sense15:56
kadams54Why?15:56
rick_h_jujugui call in 6 kanban please15:56
kadams54We hide other machines on highlight.15:56
hatchthis is true15:58
hatchbut I also think that's weird :)15:58
rick_h_no sense highlighting if the one you're highlighting is 3 scrolls down the page15:59
kadams54I think showing a bunch of machines with nothing on them is pretty useless in highlighting.15:59
hatchI would sort them to the top15:59
kadams54Yeah, what rick_h_ said :-)15:59
rick_h_so we either remove machines not highlighted or sort and redorder but now you're doing another evil thing and a pita to do :)15:59
hatchbecause hiding them when trying to be a representation of the hardware doesn't make sense 15:59
rick_h_hatch: it's tough because there's not an easy 'grey it out' like in services16:02
kadams54FWIW: both develop and this branch behave the same way when you have multiple containers and only one has a highlighted service:16:02
rick_h_hatch: let's try it one way and get user feedback and update16:02
rick_h_I'm with kadams54 on containers acting like machines for the first pass if it's not in the spec16:02
kadams54They both display all containers and all services on those containers, even the ones that aren't highlighted.16:03
kadams54As long as one service on the machine is the highlighted one.16:03
hatchok it'll be considerably more difficult to do it the other way than I did16:06
hatchkadams54: did you want to start on that then while I continue on what I'm on?16:07
kadams54hatch: No, not really. I'd like to talk with rick_h_ about having the tokens update the service flags directly and then work on that :-)16:08
hatchwell this one is blocking release, that isn't16:08
kadams54Given that this branch doesn't actually change behavior currently on develop wrt containers being hidden on highlight, I'm fine with landing it and will +1 after standup.16:09
kadams54We can then bike shed about correct container behavior separately :-)16:09
hatchwell it does change it - it makes it so it's not broken lol16:09
hatchatm containers with no units are hidden16:10
kadams54Which has nothing to do with highlight.16:10
kadams54So it doesn't change highlight behavior and it DOES fix brokeness elsewhere16:10
kadams54Which is why I'm in favor of landing it.16:10
hatchyeah ok cool16:11
hatchyou make a good point about it matching the machines column16:11
hatchsee the issue is that there is no way (from within the token) to know if a container should be hidden based on some other service being hidden 16:12
hatchit just knows that it has no units 16:12
hatchkadams54: so can  you +1 with your comment on the PR so I can land it?16:18
kadams54Yeah.16:18
hatchuiteam16:31
hatch#first16:31
hatchkadams54: when on Monday did you want to start pairing on that stuff?17:06
kadams54Right away?17:06
hatchso.....your 9:30 ?17:07
* rick_h_ goes and takes a deep breath after thinking hatch was going to blame us for using views as widgets :P17:07
hatchlol!17:08
kadams54hatch: whenever you get in. 7:30 seems awfully early to me especially on a Monday.17:08
hatchevents sent17:09
hatchwe are only 1H apart now remember :)17:09
rick_h_TZ party!17:09
kadams54Ah yet17:09
kadams54yes17:09
hatchrick_h_: I invited you as well but it'll probably be a bunch of fumbling around for the first little while :)17:10
rick_h_uiteam make sure you put the pr urls in the kanban cards please? I've trained myself now but been a few missing today/yesterday17:10
rick_h_hatch: yea, all good. I can let you guys get a plan together without me being nosy :)17:10
rick_h_hatch: I think you know where I'm coming from and have been deeply involved in the lessons of the past so :)17:10
hatchyeah we've had some.....discussions.....before17:11
hatch:P17:11
rick_h_I think as much as we go back/forth together we've put some good stuff in place. 17:11
hatchrick_h_: kadams54 so once I finish this current branch I THINK that's all that's necessary for the AS release 17:11
hatchyup I agree17:11
rick_h_hatch: rgr, will do QA today. Going to deploy to guimaas later on and put it to good use with real env17:12
rick_h_someone say uiteam17:12
urulamauiteam17:12
hatchuiteam17:12
* rick_h_ wonders if /reload works or if I have to close/reopen irssi to pick up the higlight17:12
rick_h_ooh yay ty17:12
rick_h_ /reload ftw17:12
urulamasay ui ... uuuuiiii ... say team ... teeeeeaaaam17:12
rick_h_lol17:13
hatchhaha17:13
hatchI can't find where I change the highlights17:13
* rick_h_ will like one highlight to rule them all17:13
hatchyeah that was a good idea17:13
kadams54rick_h_, hatch: I'd like to look into getting bundle icons to show up in machine view when you first deploy. https://launchpad.net/bugs/136449317:14
hatchok there we go17:14
mupBug #1364493: Machine token charm icons do not show when you add a bundle <juju-gui:Triaged> <https://launchpad.net/bugs/1364493>17:14
hatchkadams54: heh that's a deep one17:14
hatchpre-imp?17:14
kadams54Yeah, but it annoys the crap out of me.17:14
rick_h_kadams54: hmm, I'd hold off on that. I've got a chunk of work this cycle to get first page loads to work without data and I think that falls into this? 17:15
rick_h_kadams54: if there's a temp quick fix (1-2days) ok, but we knowwe've got a bigger problem and it's on the schedule for later this cycle17:15
kadams54Yeah, sure17:15
rick_h_k17:15
hatchI'm pretty sure there isn't17:15
hatchat least not a clean one17:15
hatchsomeone say ui team :)17:16
kadams54What about this one? https://bugs.launchpad.net/juju-gui/+bug/137965317:16
mupBug #1379653: Health bar in the inspector is in the wrong position <juju-gui:Triaged> <https://launchpad.net/bugs/1379653>17:16
rick_h_hatch: yea, that's my fear and why I've got a multi week chunk of work on the schedule for the cycle17:16
rick_h_uiteam17:16
hatchwoot17:16
hatchthanks17:16
rick_h_kadams54: sounds good to me17:16
hatchand yeahgood idea with the time block17:16
kadams54+117:16
rick_h_kadams54: the notification count one would be good pre-release17:16
rick_h_kadams54: as that's a bit of a regression17:16
kadams54On it17:17
rick_h_kadams54: ty17:17
* frankban removes juju-gui, jujugui and guihelp from the alerts17:17
hatchfrankban: heh I think you were the last remaining guihelp user17:18
rick_h_heh still have that one17:18
kadams54I still have guihelp17:18
kadams54as well as jujugui17:18
hatchright, but who used it :)17:18
kadams54I used it all the time!17:18
kadams54Maybe that explains why I could never get anyone to do code reviews… ;-)17:19
frankbanhatch: I suspected that17:19
rick_h_yea I never got two highlights that hit the same people17:19
hatchhaha17:20
rick_h_it seemed like giving me two different cell phone numbers to call you on the same phone17:20
hatchdid you guys ever have 'identicall' where you had multiple numbers that rang differently on the same phone?17:21
hatchthis would have been back in the late 90s early 2k?17:21
rick_h_yea, when we got our second line when I was a teenager I had that a little bit17:21
hatchheh and the caller id separate box17:22
hatchahh people have it too easy today17:22
hatch"back when I was your age"17:23
=== kadams54 is now known as kadams54-away
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
kadams54afk - going to take the dog for a short walk and enjoy some rare sunshine.18:45
=== kadams54 is now known as kadams54-away
urulamahatch: if you think yosemite looks bad on non-retina display, imagine how yosemite looks on a hdtm tv!19:08
urulamahatch: that thing is horrible!19:09
hatchurulama: lol!19:17
hatchsigh got to reboot again, vm is being wako19:22
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away
=== kadams54-away is now known as kadams54
=== kadams54 is now known as kadams54-away

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