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

rick_h_morning huwshimi 00:33
=== rogpeppe is now known as rogpeppe1
=== rogpeppe1 is now known as rogpeppe
rick_h_frankban: do you still need a review? If so can you shoot me the link and I'll look.12:27
frankbanrick_h_: thank you! https://codereview.appspot.com/8463004312:28
rick_h_thanks for the link12:28
* frankban lunches12:52
hazmatwhat's the status of icons and local charms?13:23
rick_h_hazmat: on the board for this week hopefully13:28
rick_h_hazmat: got delayed due to juju 1.18 changes messing with quickstart a bit13:28
hazmatrick_h_, i need to discuss that a bit more.. we're using local charms for a demo.. afaicr.. gui was still fetching icons from the store based on what the store told it, but apis where put in place to fetch from state server?13:29
hazmater. demo this week13:30
hazmater. apis on the state server where put in place to fetch/return files from a charm.. 13:31
rick_h_hazmat: yep, that's the work we've got to do to hook to those13:31
rick_h_hazmat: free if you want to chat now13:32
rick_h_hazmat: https://plus.google.com/hangouts/_/canonical.com/weekly-gui13:33
rick_h_or https://plus.google.com/hangouts/_/canonical.com/weekly-gui?authuser=1 for the second account business if you need13:34
hatchmorning all13:35
rick_h_morning hazmat 13:35
rick_h_err hatch13:35
rick_h_damn tab complete13:35
hatchhaha - I'm so close to finishing this darn url parser 13:35
hatchman we have a lot of urls13:35
rick_h_hatch: very cool13:36
hatchhttp://www.regexr.com/ it's like regex pal but "modern" :)13:37
hazmatrick_h_, grabbing coffee, 1m13:38
rick_h_hazmat: rgr13:38
hatchrick_h_ I can't seem to boot ubuntu with an external monitor plugged in - have you tried that with yours yet?13:45
rick_h_nope13:46
rick_h_my only monitor is my 4k on the desktop 13:46
rick_h_so no spares around13:46
hatchahh ok - it just kernel panics so I'll have to do some digging13:48
hatchone of these days I'll get it working hah13:48
hatchusually I wait a few months before trying out a new version, this is very out of character :)13:48
hatchjujugui lf two reviews on the url request to state parser https://github.com/juju/juju-gui/pull/225 plz and thanks (no qa)14:11
rick_h_hatch: will look in a bit14:11
hatchit's *snif* beautiful 14:11
rick_h_frankban: are you looking for reviews? kadams54 or bac  might be able to help?14:11
kadams54hatch: taking a look14:11
hatchthanks14:11
frankbanrick_h_, guihelp: yes, I need one review for https://codereview.appspot.com/84520047 (quickstart). thanks!14:12
rick_h_frankban: heads up, after quickstart we've got a important thing to try to get local charm icons for this week. Will bring it up on call today14:12
bacfrankban: i'll look14:13
frankbanrick_h_: ack14:13
hatchI can look14:13
frankbanbac: thank you!14:13
hatchoh14:13
hatchtoo slow :)14:13
hazmatwhat does token mean?14:14
rick_h_hazmat: it's the widget used in the browser14:15
hatchrick_h_ kadams54 I'm purposefully leaving out reviewer comments because I wrote it to try and be as easy to read as possible - let me know if I failed in that :)14:15
rick_h_for search completion suggestions, sidebar, etc14:15
hazmatrick_h_, ic.. not to be confused with auth token etc14:15
rick_h_hazmat: correct14:15
hazmatrick_h_, thanks14:15
hazmatrick_h_, iotw a viewlet by another name/impl ?14:16
rick_h_hazmat: sure14:16
rick_h_hazmat: it's pre the viewlet work and the charm tokens were done as YUI widgets. so it was a non 'widget' word14:16
hazmatgadget is open ;-)14:17
hatchhaha14:17
rick_h_go go gui gadget!14:17
hatch"gadget all the things!"14:17
frankbanjujugui: during the weekend I had some fun writing a little juju plugin which allows deploying charms hosted on github. Maybe it can be useful for someone: https://github.com/frankban/juju-git-deploy14:17
hazmatfrankban, hatch i saw that one..14:17
rick_h_frankban: sweet14:17
kadams54nice14:18
hazmatfrankban, very nice ++ 14:18
hazmatwas trolling pypi looking for juju this morning and came across it14:18
hazmats/trolling/trawling14:18
hatchfrankban awesome! 14:18
hatchhazmat oh c'mon you were trolling it :P14:18
frankbanhazmat: yeah, uploaded this morning, I wanted to hack something with python314:19
* kadams54 tries to imagine what trolling pypi would look like14:19
frankbanhatch: thanks, I used your ghost charm for examples14:19
hatchkadams54 someone uploaded a bunch of null packages to npm as barack_obama ..... that's trolling...I think? lol14:19
kadams54lol14:19
kadams54Yeah, that qualifies14:19
hatchfrankban I hope it was good enough quality :)14:20
frankbanhatch: it deploys... good enough ;-)14:20
hatchlol14:20
hatchIf I could just figure out haproxy I could get it back in for review14:20
hatchI can't seem to get haproxy to proxy anything ( even wordpress ) so I'm guessing I'm doing something wrong14:21
kadams54hatch: that's a lot of code. What's going to be replaced?14:47
kadams54loadRequest…14:48
hatchkadams54 yeah loadRequest and anything loadRequest calls14:48
rick_h_chunks of routeView14:48
rick_h_lots of browser.js stuff14:48
hatchthat too14:48
hatchyeah14:48
kadams54Filter?14:48
hatchfilter doesn't technically exist right now14:48
hatchit's old code there14:49
rick_h_?14:49
hatchwe don't filter anything anymore14:49
kadams54this.filter.update(query) <- line 261 in loadRequest14:49
rick_h_k, will look into it. Thought we still needed it14:49
hatchohh I thought that we didn't use this because we only used search now14:50
rick_h_jujugui call in 10, kanban please14:50
rick_h_hatch: it's used in search still14:50
hatchyou can't select by series and whatnot any longer14:50
kadams54So is state.js taking on functionality that had previously existed in browser.js?14:50
rick_h_kadams54: yes14:50
rick_h_kadams54: well, the plan is it'll exist in state.js and statecontroller (not there yet) soon14:51
kadams54All of the new functionality seems like a good for state.js, so I approve :-)14:51
hatchyay!14:51
hatchrick_h_ kadams54  I was pretty sure that the only line in use in filter was `this.set('text', data.text);`14:51
kadams54Still not sure we need a state manager… I started down that route but decided it was overkill14:52
frankbanbac: thanks for the review. +0 == <shrug>, correct? ;-)14:52
hatchafter the call we can chat and you can educate me on this filter class14:52
hatchmaybe I missed the functionality somewhere14:52
hatchkadams54 entirely possible....the functionality is still required, just weather it's required in a capacity that requires a whole new class :)14:52
hatchwhether even 14:54
kadams54;-)14:55
hatchgood afternoon luca__ 14:55
luca__good morning hatch 14:56
hatchwe need to invent some cross-timezone greating 14:56
hatchgreeting14:56
hatchbleh I can't type14:56
kadams54Good day to you, fine [sir/madam].14:56
hatchold-english has to have something that would sound awesome14:56
luca__Good post-pre noon14:57
hatchhaha that's not very old-englishy14:57
hatchkadams54 is so far winning14:57
kadams54A merry Greenwich morning!14:57
luca__rofl14:57
luca__old english isn’t my forte14:57
hatchwhat? Isn't everyone in England fluent in old english?14:58
hatchjust like all Canadians live in igloos 14:58
kadams54It's just English, only all olde timey, right?14:58
luca__hmmm, don’t think so14:58
hatchenglish is a melting pot of other languages that's why it's such a mess lol14:58
kadams54My wife was a Chaucer nut, so I had some exposure Middle English.14:59
luca__though its the best language melting point14:59
hatchclearly - it's winning, that must mean it's the best14:59
hatchright? right?14:59
hatch...14:59
luca__I think Mandarin is winning14:59
rick_h_jujugui call in 115:00
hatchluca__ but outside of their borders too? 15:00
luca__hatch: think so, and then it’s spanish15:01
rick_h_kadams54: standup please15:01
hatchhmm, it sounds to me like I'm grossly misinformed15:01
hatchwhich woudln't be the first time15:01
kadams54tech diificulties, one moment15:01
kadams54 *sigh*15:03
kadams54"It's taking too long to connect you to this video call. Try again in a few minutes."15:03
hatchI'll review/qa huws branch 15:11
rick_h_hatch: thanks15:11
hatchohh rick_h_ did you want to educate me on the filter stuff?15:13
rick_h_hatch: let's plan that for later in the day? I want to go through the branch before my call at noon15:13
hatchyeah sure np15:14
rick_h_hatch: and I've got to review myself. I remember kadams54 and I talking about it and there was something there 15:14
rick_h_but hazy memory atm15:14
hatchok sure - take a peek at it when you get a chance, I'm pretty sure it's not being used anymore with the exception of that one line15:18
* frankban bbiab15:21
rick_h_hatch: comments added, have one big note I'd like to chat on15:27
hatchok looking15:27
rick_h_hatch: setup a link when you're ready. Would like to chat pre-call in 30. That's a 2hr call so will be afk for a bit15:34
hatchyep almost done replying15:34
hatchrick_h_ replied, generating hangout 15:37
hatchrick_h_ https://plus.google.com/hangouts/_/76cpjkvbtggmqe4fcb1apod8cs?authuser=1&hl=en15:37
* hatch puts thinking cap on15:50
rick_h_hatch: sorry to throw wrenches, duck harder lol15:52
hatchhaha - no this is good, we definitely need the state to be coordinated by UI 'section'15:52
rick_h_hatch: but <3 the well thought out series of urls/parsing/etc. Exactly what we need15:52
hatchI am thinking of a way to parse it and allow for expansion/modification easier 15:53
rick_h_know that was a pita to go through but it'll save so much time later15:53
hatchgreat15:53
rick_h_should actually have jcastro look at it and go "here's your new urls" :P15:53
jcastrohatch, show me!15:54
hatchhttps://github.com/juju/juju-gui/pull/225/files#diff-2a3133ac229f3cbcee63940b2d270c50R30015:55
hatch100 lines of supported urls lol15:55
hatchwill chrome stream .ogg files by default? I'm trying to test before it's up but the file 'could not be found'15:57
Makyohatch,  I don't think icecast is up yet15:58
hatchany idea if chrome will stream .ogg?15:58
MakyoIt will15:58
hatchok cool15:58
MakyoThere it goes.15:59
hatchI just didn't want to be scrambling to find a plugin heh15:59
hatchoh there we go15:59
hatchelevator music15:59
hatchcool15:59
hatchI feel like I'm in a uk sitcom15:59
MakyoHaha15:59
hatchoh billy go grab my trunk from the boot15:59
hatchhaha, that's all I got16:00
MakyoYou're weird. :)16:00
hatchtruth!16:00
MakyoThis coffee shop is playing country - it's a weird mix.16:01
hatchhaha16:02
rick_h_jujugui remember this call is internal and keep any notes/discussion in internal irc16:04
* rick_h_ puts away paranoid boss hat16:05
hatch:)16:05
hatchrick_h_ I think I figured out a good way to do this state thing - I'll throw it together after this call16:05
bacso don't mention the facebook buyout offer?16:05
rick_h_hatch: cool16:05
hatchlol - that was such a poorly executed april fools joke16:06
rick_h_ok, 2hr call ended16:17
rick_h_well cancelled16:17
rick_h_so yay me16:17
hatchrick_h_ before implementing I wrote a proposition in the PR, check it out when you can16:54
rick_h_hatch: will load it up16:55
* Makyo runs back home real quick. Back on there.16:58
rick_h_hatch: replied16:59
rick_h_kadams54: appreciate your feedback based on your state understanding as well please16:59
hatchthanks - I'm trying to think/read/listen at the same time heh16:59
hatchbrain isn't built for three tasks 16:59
rick_h_hatch: understand, same here17:00
hatchok call done, now back to single tasking17:01
hatchrick_h_ I'm going to keep replying in the PR so that others can get in on the convo/stay up to date on it...ok?17:02
hatchit's kind of an important architecture part of the app17:02
rick_h_hatch: I suppose, but let's not go an hour typing what we can talk in 1017:03
hatchhaha for sure17:03
rick_h_hatch: what I'm looking for is the example realistic use case that requires the dual state purpose17:03
hatchsure17:04
hatchtyping also helps to think things through before hitting send17:04
hatch:_17:04
hatch:)17:04
rick_h_rgr17:04
hatchrick_h_ ok replied, after you read through that if you want to chat on it fire me a link17:12
rick_h_reading17:13
hatchI think I prefer typing then discussing....helps flesh out ideas before trying to stumble through them in a call first :)17:13
rick_h_hatch: https://plus.google.com/hangouts/_/7acpjlm8eiil44q1btqpkg163o?hl=en17:14
rick_h_kadams54: ^ if you'd like to join17:14
rick_h_or anyone else17:14
rick_h_jujugui if anyone has any questions from that call today let me know and happy to see if I can answer or get answers. 17:50
bacjujugui: i'm going to be starting late due to dr appt tomorrow.18:26
rick_h_bac: rgr, thanks for the heads up18:27
=== BradCrittenden is now known as bac
hatchMakyo have you had any luck getting the tests to pass in vagrant?19:15
hatchI haven't...19:15
* hatch crys19:15
Makyohatch, not even in test-server?19:16
hatchMakyo yeah test-server works, but it's over 4x slower :)19:17
hatch"ain't no body got time for that"19:17
MakyoIt's not THAT bad, yeesh.19:20
MakyoAt least, not for me.19:20
MakyoAlso, xchat's broken for me, sorry if I don't see replies right away.19:20
hatchoh yeah it's about 20s in test-debug, and in the browser it's ~100s19:23
hatchso I guess that's 5x heh19:26
MakyoHasty, hasty :)19:40
* rick_h_ runs off to get boy from day care. Have a good evening all20:15
hatchlata20:16
hatchhmm20:39
hatchrick_h_ I ran into a slight glitch with this new object, ping whenever you get a chance20:39
hatchwe actually have three sections, sidebar (sectionA), machineView(sectionC), and charm details(sectionB)20:41
hatch^ kadams54 20:41
hatchunless the charm details is in section C20:41
hatchI'd create the new section...but I'm not sure if there are any new designs which have the charm details go into the machine view area20:42
kadams54Sorry, context switching is hard… we're talking about sections (substrings) of the URL, right? Not sections (panes) within the UI?20:42
kadams54Also, I haven't seen any designs that incorporate pulling details up in machine view… FWIW.20:43
hatchsections in the UI20:43
hatchok then in that case we 'need' three sections20:43
* hatch puts foots down20:44
hatchI guess when rick_h_  returns he can tell me to undo it all lol20:44
kadams54From what I've heard, details would be in the sidebar?20:44
hatchwhen you look at all of the information in the charm details pane, don't you think that would be hard to make legible in the sidebar?20:45
hatchespecially considering bundle examples20:45
hatchwell really it's pretty trivial to change in my code, just a pita to change 100 url results in the test20:45
kadams54Ah, yeah… some of my conversations two weeks ago with Rick are starting to come back20:46
kadams54We talked about three sections: sidebar, content, and canvas20:46
kadams54Well, maybe canvas was default content20:46
kadams54So then it would just be two20:46
hatchthen the charm details would go over the canvas, like the machine view?20:46
kadams54So details would display in the content section20:47
kadams54Content section would display these: canvas, machineView, details20:47
hatchok our current UI requires three states though20:47
kadams54Sidebar would display these: search/browse, inspector, ...?20:47
hatchI doubt he would have had that UI change also done by vegas20:47
kadams54Not sure what you mean by three states20:48
hatchsidebar: search/browse/inspector20:48
hatchdetails: charm details20:48
hatchcontent: canvas/machineview/networkview20:48
kadams54I'm not following why details can't be just another type of content20:48
hatchthe state needs to be organized by UI blocks so that we can parse this state to generate urls20:51
hatchso each block that can be rendered at the same time needs it's own 'section' in the state object20:52
hatchso since search, charm details, machine view can all be rendered at once, that's three sections20:52
hatchyup that's it....that was the defining argument - thanks mr sounding board :)20:52
rick_h_hatch: ping21:06
hatchpong21:07
* hatch points to the scrollback21:07
rick_h_hatch: yes, there are designs to make all details go into the machine view area by making it full size21:07
hatchok but that's not coming before.....21:07
rick_h_and there's designs trying to find a way to make a mini-details in the sidebar21:07
hatchwhatever the conf coming up is called21:07
rick_h_hatch: well, if it's easier to do that than deal with it as a 3rd component then yes21:07
rick_h_which I think it might be eaiser to just make the thing full width21:08
hatchfrom my end here it's really easy to add another section21:08
hatchthe harder part is writing all these darn tests21:08
hatchheh21:08
hatchas in, it took me about 15s to add another section :)21:08
hatchmaybe less21:08
rick_h_right ,but then you have to test that as a 3rd combination of sections21:09
rick_h_vs just showing the view or not showing the view21:09
rick_h_which is a dispatch problem really and not for this branch21:09
hatchyep21:10
rick_h_it makes this branch simpler, and dispatch has to destroy machine view and show details view21:10
hatchno I'd render it overtop21:10
rick_h_I'm not seeing what the big work is, it's some CSS to adjust the width, which doesn't have to happen right away21:10
rick_h_that's an optimization when we get there21:10
rick_h_right now they're two views, we show one or the other21:10
hatchwell the toggle buttons need to go to a 'blank' state, then when you click on it needs to hide the details21:10
rick_h_no, because details have a close button21:11
rick_h_you can have 'machine' clicked due to the url or your activity21:11
rick_h_and when you close it, the url updates, and it renders the machine view21:11
hatchand what happens if the user clicks the machine/canvas buttons?21:11
hatchit will need to close the details21:11
rick_h_the url updates, dispatch determines there's nothing to do21:11
hatch(if it's full screen)21:12
rick_h_because you've not closed details21:12
rick_h_it's part of the priority/ "should show XXX" work in dispatch21:12
hatchthat feels like a bug to me21:12
rick_h_at least for machine view 1.0 21:12
rick_h_sure, then we can work on the bug, but adding a 3rd state right now is asking for trouble we don't need21:12
hatchcall?21:12
rick_h_sure21:12
rick_h_link21:12
hatchon it21:12
hatchhttps://plus.google.com/hangouts/_/7acpiv3m6of4d4nfejfu4or3ns?hl=en21:13
bachey rick_h_, you're back.  what was the ES book you found to be good?21:19
rick_h_bac: looking21:20
rick_h_bac: I think it was http://www.amazon.com/gp/product/B00BAOC2KQ/ref=oh_d__o08_details_o08__i00?ie=UTF8&psc=121:21
bacrick_h_: ping me if you discover it was something else.  thanks21:25
bacbbiab21:25
rick_h_bac: that was the one21:32
bacrick_h_: cool.  now i have light reading for the evening21:33
hatchbac are you going to be our ES expert?21:37
hatchso the console version of mocha doesn't output the assertion failure message to the console....22:30
rick_h_mocha is fail22:35
hatchlol22:37
hatchI wonder if jasmine would fix the mocha bugs22:39
hatchprobably will fix the mocha ones and introduce others22:40
hatchlol22:40
huwshimiMorning23:01
huwshimiI wish our tests would all run :(23:13
hatchmorning huwshimi 23:26
hatchhuwshimi so the trash can is a different size and colour? Can you just pick one and use it for both then? kind of odd to have two trash cans that are so similar but different23:28
huwshimihatch: How about we make all our fonts the same colour and size as well?23:29
huwshimihatch: Ooh, ooh, we could do the same with our charm icons too!23:30
hatchwe don't need to load in multiple fonts to change the size23:30
hatchwe also don't need multiple trash cans to change the size either :P23:30
huwshimihatch: Well, it's a sprite, not a whole lot of extra bytes23:31
huwshimihatch: You could bring it up with spencer if you feel strongly about it.23:31
huwshimihatch: I'm not even sure where we use delete.png23:32
hatchrelation delete dialogue23:32
huwshimiAh23:33
hatchI just remember when we had you go through the sprites and clear out all the old unused junk23:33
hatchthat's going to happen again unless we keep on top of the assets23:33
huwshimihatch: Sure, but it's a bit crazy to say that things shouldn't be different sizes and shapes23:35
huwshimierm sizes and colours23:36
hatchno - but you can scale images down23:36
hatchso a single asset becomes multiple23:36
huwshimihatch: Not with our spriting system you can't.23:37
huwshimihatch: Also recolouring rasters is not fun.23:37
huwshimiWe're at least not set up to do that either23:37
hatchOH KAY then23:38
hatchjust trying to look out for the future!23:38
huwshimihatch: Additionally these are rasters so you can't do any pixel hinting on resize.23:39
hatchwe can't do a css scale transform on the element?23:40
huwshimihatch: Not with any pixel hinting23:41
hatchwhat's pixel hinting?23:41
hatchcss blend modes are coming soon23:42
hatchthat's gona be cool23:42
huwshimihatch: Well, if you scale an image you'll end up with blurry edges as they won't line up with the pixel edges, that's why images are redesigned, or at least recreated for different sizes.23:43
hatchyeah I suppose, I figured they were so small it wouldn't matter23:43
huwshimihatch: The smaller the image, the more this matters.23:44
huwshimihatch: Or at least, the more you will notice it.23:44
hatchhmm interesting23:45
hatchwell then they should be the same asset then lol23:45
rick_h_if they're different size then they're png's. We should be able to size somewhat23:45
rick_h_if they're different colors we need to address with UX23:45
rick_h_that seems like an issue and we've got a lot of trash cans coming in the machine view23:45
rick_h_so better to get it straight23:45
hatchso much garbage23:45
hatch:P23:45
rick_h_however, it's fine to land until we get answers, but we should get an email out at the very least and bring it up on comingsoon23:46
huwshimihatch: Well, the point is that they need to be different assets as you need to recreate them for each size so you can get the pixels in the right places.23:46
hatchhuwshimi yeah I am not saying your arguments aren't valid23:47
hatchI'm saying that we should probably use the same one in both places23:47
hatchlike...change the design23:47
huwshimihatch: But that's what I'm saying, that argument is like saying all the fonts should be the same size.23:48
hatchwell no, it's more like saying all the fonts should be the same font23:48
hatch:)23:48
rick_h_hatch: did you review/qa the rest of the branch? 23:48
rick_h_trash can aside?23:48
rick_h_e.g. is it ok to land and bring up with UX 23:48
hatchrick_h_ trying to do it while cooking supper23:48
rick_h_hatch: rgr, thanks. I can look in a bit as well after the boy goes to bed23:48
huwshimihatch: You want to change the design for technical reasons, but it is more than logical that the icons might be a different size to fit with different UI elements.23:48
rick_h_but let's agree we need to communicate with UX and not debate on it here. We can't move it forward without involving them and their wireframes23:49
rick_h_and from my pov, the change of color/etc is more interesting to debate than the size. 23:49
huwshimirick_h_: The colour may be because of the background it is on.23:49
huwshimiit may well be because of outdated colours too.23:50
hatchhuwshimi are you firing events for some reason? Or just to allow for testing?23:50
hatchdeleteToken, selectToken for example23:50
huwshimihatch: I assume we'll want to interact with the token somehow...23:51
hatchok - I wasn't sure if there was an actual reason or if it was just put there as a sort of placeholder23:51
hatchI'm not sure how we would interact with it tbh23:51
hatchevents do seem to be a good way though23:52
huwshimihatch: I actually don't know what will happen with those events yet...23:52
hatchcode looks good with some tidbits, just qa'ing now23:54
huwshimirick_h_: Should I move onto the container token next?23:55
rick_h_huwshimi: yes please23:55
rick_h_huwshimi: and you should be able to wire up the click on the machine token to fill out the containers. You might need to talk with kadams54 about that at some point23:55
huwshimirick_h_: ok sure23:56
rick_h_huwshimi: and I want to make sure you see https://www.dropbox.com/sh/lvdydgiu7jeuuso/7MlRX5-IPu#lh:null-05.4-container.png23:56
rick_h_that folder has a list of container-y wireframes23:56
kadams54huwshimi: I'll be around if you want to chat. Working on taxes right now. (Yay.)23:56
rick_h_including the container token stuff23:56
rick_h_kadams54: yay you23:56
rick_h_I'm so glad to get that over with, always hangs over my  head23:56
rick_h_huwshimi: check out 8 of 22 and 7 of 2223:57
rick_h_in particular for a start23:57

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