/srv/irclogs.ubuntu.com/2011/02/24/#launchpad-yellow.txt

=== Guest72054 is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Guest70297
=== Guest70297 is now known as Ursinha-afk
=== Ursinha-afk is now known as Guest94180
=== Guest94180 is now known as Ursinha_
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
gary_posterhey danilos I still have one more part of the pre-imp that I'd particularly like to talk about (because it involves choosing among what I consider non-wonderful options).  You available in five or ten minutes, or maybe after the team call?13:04
danilosgary_poster, yeah, available now13:05
gary_posterok cool will ping in just a few min.  ty13:05
danilosgary_poster, k13:05
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
bacbenji: let's talk.  i can push my updates when you're ready13:34
benjibac: is this the plan: you push ~bac/launchpad/accordionoverlay, I merge from it to fix any conflicts, I push my branch and you merge from it?13:40
bacbenji: or i can push to the shared yellow branch, you merge, and push back to the shared yellow branch.13:41
bacs/~bac/~yellow/13:41
benjithat sounds good13:41
bacin your url above13:41
bacok, let me do so now.  it still acts funky but it isn't going to get any better.  first, i have to merge in huw's changes.13:42
benjik13:43
bacbenji: have at lp:~yellow/launchpad/accordionoverlay13:48
benjithanks13:48
gary_posterhttps://pastebin.canonical.com/43866/14:02
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
=== Ursinha is now known as Ursinha-lunch
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
benjiok bac: I had to fix some relatively minor conflicts and do some testing by hand, but lp:/~yellow/launchpad/accordionoverlay/ has been updated15:23
benjiI'm very interested in your thoughts on the structure of the JS I added.15:23
bacbenji: ok15:23
danilosgary_poster, anyway, my branch is up for review, ready whenever you are15:26
danilosactually, bb in a minute :)15:27
=== gary_poster is now known as gary_poster|away
bacbenji: i'm just scanning through it now and it looks good.15:30
benjicool15:30
* danilos : back15:30
bacbenji: i found one thing that appears to be a regression, possibly a merge issue15:30
benjiwhat's that?15:30
bac/ XXX Should this be part of config instead of hard coded?15:30
bac    add_subscription_overlay.render('#add-subscription-container');15:30
bacin my branch i was using a config variable for that15:31
baci had it so there were no external dependencies on magic names15:31
=== gary_poster|away is now known as gary_poster
benjibac: I've not plumbed the depths there yet, but the original code didn't work, I /think/ it's a difference between the way FormOverlay and PrettyOverlay work.15:37
bacbenji: ok.  your comment is correct, though, and we need to get back to a place where the id comes from the config15:38
benjiyep15:38
bacyour comment in the code, i mean15:38
bacbenji: i'm still fighting the open/close stuff15:41
bacbenji: would you be able to look at actually populating the accordion?15:41
benjibac: I certainly can.  I wonder about scheduling issues, i.e., Gary seems keen on me starting on the edit functionality because the other line of development needs it too.15:43
bacbenji: just a suggestion for you and gary_poster to decide15:44
gary_posterI'm fine with either. collaboration +115:45
benjigary_poster, bac: I'll work on popultating the accordion widget then.15:49
gary_postercool15:50
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
=== Ursinha-lunch is now known as Ursinha
benjibac: does this seem like a sane approach? http://pastebin.ubuntu.com/571806/17:08
benjiI'm a little annoyed at duplicating the contents of the importance vocabulary, I guess I could add that data to what's provided when the page loads.17:09
* benji lunches17:14
=== gary_poster is now known as gary_poster|away
=== gary_poster|away is now known as gary_poster
=== danilos is now known as danilo-afk
bacbenji: that is annoying18:39
benjiI'm working on the smuggle-vocabulary-data-from-the-server approach now.  If it works out we can use it for the other bits too.18:40
bacbenji: we might also try including a hidden div on the page and just referencing it18:44
bacbenji: i think the items inside the accordion can just be a node18:44
baci'm not sure that's any better than your smuggling, though18:44
benjiyeah, I have a slight preference for moving data from the server to the client instead of HTML; it's an odd sensation for a web app developer ;)18:45
gary_posterbac, call?19:30
bacyep19:30
gary_posterbenji, preview question from our call because my curiosity burns, it burns!  Did Huw ever get bac to you about your email about the twisty usage/placement?19:55
gary_postereh, sorry Brad :-P.  "back"19:55
benjigary_poster: I was thinking about that this morning.  Not a peep yet.19:55
gary_poster:-/19:56
gary_posterbenji, could you retry?  Maybe this time include jml in the CC and see if that changes anything.19:56
benjiI'll write down a to do to ping him again.19:56
gary_posterthanks19:56
* gary_poster stares at "a to do to" and contemplates the wonder of it all19:57
gary_posterbac or benji, do you happen to know if we have an existing way to generate a short unique resolvable identifier to arbitrary LP model objects--or at least those that might be a bug target?  The best I can think of is a url, but that's significantly longer than I need--I need, say, an integer or something I can compress to 8 chars or less.20:00
benjiThe only think I can think of would be the name and type (e.g., "firefox", "p" (for project)).20:01
gary_posterbenji, yeah, or the id and type, but I assume we don't have an existing type mapping-ish thing20:02
gary_posterwhich is kind of the trick :-/20:02
* gary_poster misses that Zope 3 ZODB thing with the integer ids for everything20:03
benjiyou could also use URI and a shorthand for the vairous prefixes, p/firefox would expand to https://launchpad.dev//api/devel/firefox20:03
gary_posterthat's an interesting idea.  sort of a traversal-y approach20:04
benjion a related note, they finally got around to doing an int ID utility that doesn't generate as many conflicts: http://pypi.python.org/pypi/zc.intid/1.0.020:04
benji(the IDs are stored in the object instead of in the int ID utility)20:05
benjigary_poster: where are you doing the generation of IDs and expansion of IDs?20:05
gary_posterOIC--you remove one of the two big btrees?20:05
benjiexactly20:07
gary_posterbenji, I was thinking I could use just ids and a few types until I realized that targets could be a variety of types, so this was just in, say, bugs/mail and bugs/scripts.  I'm still at the sketching step, sadly20:07
benjigary_poster: it wouldn't be hard to do a pair of utility "URI shortener/expander" utilities; you could even make them leave the URI alone (and maybe log a warning) if they don't know how to shorten the input20:09
gary_posterbenji, I don't have a picture for how this would work yet--unless you mean it has a new table that maps ids to URIs?20:10
gary_posterThat doesn't seem to be what you mean, which is good, 'cause that seems problematic :-P :-)20:10
benjiI was thinking the mapping would be in code, but you could store it in the DB if that made more sense20:11
benjioh, no, I meant that the shortener would have a set of *prefixes* it recognized and replaced with one character shortcuts20:11
gary_posterIf you were to create a mapping in code, might it make more sense to map ids to classes?  That's what I was thinking20:11
benjicould be, I'm not entirely clear on what you'll be using the short IDs for20:12
gary_postersure20:12
gary_posterI'll putz around on it and talk to you about it on our call if we have time benji :-)20:13
benjicool20:13
benjibac: I just pushed checkbox generation for importances and statuses, using server-side data from the proper enums to generate them; they're not yet saved in the resulting filter object yet though20:58
bacnice20:58
benjigary_poster: I'll be ready in a couple of minutes20:59
gary_posterack benji, thanks.  I'm listening so just talk on mumble and I'll figure out how to unmute and then say hi. :-)21:00
gary_posterhttps://dev.launchpad.net/LEP/BetterBugSubscriptionsAndNotifications/Testing/EditingRound221:32

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