*** menesis has quit IRC | 00:24 | |
*** th1a has quit IRC | 01:20 | |
*** replaceafill has quit IRC | 01:44 | |
*** th1a has joined #schooltool | 01:47 | |
*** th1a has quit IRC | 04:12 | |
*** menesis has joined #schooltool | 10:03 | |
*** menesis has quit IRC | 11:25 | |
*** menesis has joined #schooltool | 11:32 | |
*** paulproteus has quit IRC | 12:15 | |
*** Lumiere has quit IRC | 12:15 | |
*** aelkner has quit IRC | 12:15 | |
*** paulproteus has joined #schooltool | 12:17 | |
*** aelkner has joined #schooltool | 12:17 | |
*** Lumiere has joined #schooltool | 12:17 | |
*** ignas has joined #schooltool | 12:37 | |
*** menesis has quit IRC | 13:54 | |
*** menesis has joined #schooltool | 15:04 | |
*** dreich has joined #schooltool | 15:15 | |
*** ignas has quit IRC | 15:51 | |
*** replaceafill has joined #schooltool | 16:13 | |
*** replaceafill has joined #schooltool | 16:13 | |
replaceafill | dreich, you around? | 16:14 |
---|---|---|
dreich | yep! | 16:14 |
replaceafill | hey dreich | 16:14 |
dreich | g'morning | 16:15 |
replaceafill | just pushed the project methods | 16:15 |
replaceafill | check the diff please | 16:15 |
replaceafill | i put a few XXX | 16:15 |
dreich | awesome! thanks a lot | 16:15 |
replaceafill | i didn't want to break your API | 16:15 |
replaceafill | so i used comments on some stuff | 16:15 |
replaceafill | like methods that should be renamed and so on | 16:15 |
dreich | ah, cool | 16:16 |
replaceafill | you did miss the grade parameter in the set_..._competence signature ;) | 16:16 |
replaceafill | so i added it | 16:16 |
replaceafill | http://bazaar.launchpad.net/~cando-developers/pyquiz/schooltool.pyquiz/revision/36 | 16:17 |
replaceafill | i'm not sure if there's a cando egg already, but i modified buildout to use the checkout in the meantime | 16:17 |
replaceafill | i tested the methods only manually :( | 16:18 |
dreich | ah, thanks | 16:18 |
dreich | and k | 16:18 |
replaceafill | they work so far ;) | 16:18 |
replaceafill | let me know if you have any trouble | 16:18 |
replaceafill | later we can refactor all the duplicated code, etc | 16:18 |
dreich | right | 16:18 |
replaceafill | good luck! | 16:18 |
*** pgulley has joined #schooltool | 16:19 | |
dreich | thanks again! | 16:19 |
replaceafill | np | 16:19 |
*** th1a has joined #schooltool | 17:07 | |
*** replaceafill has quit IRC | 17:40 | |
*** replaceafill has joined #schooltool | 17:41 | |
replaceafill | th1a, zyt? | 18:17 |
th1a | hi replaceafill | 18:17 |
th1a | You know what is bumming me out right now? | 18:17 |
replaceafill | what? | 18:17 |
replaceafill | svg? :D | 18:17 |
th1a | The feeling that I'm timed out of this report, and when I try to reload it, it'll make me sign in and then I'll be God Knows Where. | 18:18 |
th1a | OK, go on. | 18:18 |
replaceafill | right | 18:18 |
replaceafill | i think it's related to the traversers issue, right? | 18:19 |
th1a | Yes. | 18:19 |
th1a | Also, for some reason I can't get back via browser history. | 18:19 |
replaceafill | http://69.164.203.135:6660/schoolyears/2012-2013/SY/sections/13106-45-1-1/skills/6617-2011-0/gradebook/virginia_section_report_chart.html | 18:19 |
th1a | What's the url for the graphical report? | 18:19 |
replaceafill | as eunita ;) | 18:19 |
th1a | Ah. | 18:19 |
th1a | OK. It is a start. | 18:20 |
th1a | Change the header to be one row now. | 18:20 |
replaceafill | kk | 18:21 |
th1a | I think we can do tooltips on SVG... | 18:21 |
th1a | title attribute? | 18:21 |
th1a | I did it in one of my practice graphs. | 18:21 |
th1a | Oh, it is not consistent cross browser though. | 18:21 |
th1a | Safari doesn't show them. | 18:21 |
th1a | I don't know if this is somewhere where just mixing in some jquery is easier than trying to do everything in d3. | 18:22 |
replaceafill | ok, one line header | 18:22 |
replaceafill | do you want a single tooltip with all the data? | 18:23 |
th1a | Ideally one for each of the bars. | 18:23 |
replaceafill | ah ok | 18:23 |
th1a | Two total, that is. | 18:23 |
replaceafill | set the title attribute for the rect's | 18:29 |
replaceafill | reload | 18:29 |
replaceafill | the total one probably is not needed, right? | 18:29 |
replaceafill | since you have the number right there | 18:29 |
replaceafill | we could set titles like: | 18:30 |
replaceafill | Evaluated: 3 | 18:30 |
replaceafill | Rated (i know i know) : 1 | 18:30 |
replaceafill | :D | 18:30 |
th1a | Doesn't work in Chrome. | 18:30 |
th1a | (does in FF) | 18:30 |
th1a | Also I know it doesn't work in Safari) | 18:30 |
replaceafill | reload ff | 18:31 |
th1a | Yeah, that's the idea but I think we'll need JS. | 18:31 |
th1a | I spent a lot of time fiddling with this issue. | 18:32 |
replaceafill | got it | 18:32 |
replaceafill | th1a, should i send this to Glenda? | 19:12 |
th1a | NO. | 19:12 |
th1a | We need to clean it up. | 19:13 |
replaceafill | what changes should i make? | 19:13 |
th1a | Well, let's look at it again. | 19:15 |
th1a | I was wondering where you went. | 19:15 |
replaceafill | i was trying to put tooltips | 19:15 |
replaceafill | but it would require a new version of jquery | 19:16 |
th1a | It is tricky, isn't it. | 19:16 |
th1a | AGH! | 19:16 |
replaceafill | and i don't want that | 19:16 |
th1a | AAAGH! | 19:16 |
replaceafill | then i tried twitter bootstrap | 19:16 |
replaceafill | but it gets in the middle of our styles | 19:16 |
th1a | This might also be what got me thinking of divs... | 19:16 |
replaceafill | and i don't want that either :) | 19:16 |
replaceafill | ah | 19:16 |
replaceafill | well, changing the svgs for divs is not hard | 19:17 |
th1a | Does that solve the hover problem? | 19:17 |
replaceafill | let me see | 19:17 |
replaceafill | th1a, yes | 19:26 |
replaceafill | it fixes it | 19:26 |
replaceafill | i just have to adjust the divs again | 19:26 |
th1a | This won't always work but we should probably take it for now. | 19:26 |
th1a | replaceafill: Should I go for a sandwich now or will you have something in the next few minutes? | 19:45 |
replaceafill | almost done | 19:45 |
replaceafill | adjusting widths | 19:46 |
replaceafill | well | 19:46 |
replaceafill | reload | 19:46 |
*** menesis has quit IRC | 19:46 | |
replaceafill | evaluated and rated divs have tooltips | 19:46 |
replaceafill | and they work in ff and chrome | 19:47 |
replaceafill | i don't have safari :( | 19:47 |
th1a | OK. | 19:47 |
th1a | I'm sure it is fine. | 19:47 |
th1a | SVG implementation is still less consistent. More bleeding edge. ;-) | 19:48 |
replaceafill | i spent like 10 mins fighting .style vs .attr :( | 19:48 |
replaceafill | right | 19:48 |
th1a | what's the scale here? | 19:48 |
th1a | What does the white area represent? 100%? | 19:48 |
replaceafill | yes | 19:48 |
th1a | Make the tooltips "%" | 19:49 |
replaceafill | ah ok | 19:49 |
th1a | OK, so immediately we may run into the problem with this approach. | 19:49 |
th1a | How can we even do tick marks this way to indicate 25%, 50%, etc. | 19:50 |
replaceafill | ah | 19:50 |
replaceafill | i read about them, but didnt try them yet | 19:50 |
th1a | Oh... yes, we're still using d3. | 19:50 |
th1a | OK, play with that, I'll get a sandwich. | 19:50 |
replaceafill | sure | 19:51 |
replaceafill | ah damn! | 19:58 |
replaceafill | ticks work only with svg :( | 19:59 |
replaceafill | they produce <line>s | 19:59 |
replaceafill | i wonder if we could put transparent divs above the svg to get the tooltips... | 20:00 |
th1a | Did you do much googling on the svg tooltips in d3 issue? | 20:27 |
th1a | There are solutions. | 20:27 |
replaceafill | yes | 20:27 |
replaceafill | reload though | 20:27 |
replaceafill | hack ;) | 20:27 |
replaceafill | i'm putting ticks now | 20:27 |
th1a | I can't reload. | 20:28 |
th1a | I may have to create a bookmark. | 20:28 |
th1a | Much as I hate bookmarks... | 20:28 |
th1a | ok | 20:28 |
th1a | got it | 20:28 |
th1a | What am I supposed to be seeing? | 20:29 |
replaceafill | reload | 20:30 |
replaceafill | ticks | 20:30 |
replaceafill | + tooltips :) | 20:30 |
th1a | ok | 20:30 |
th1a | see it | 20:30 |
replaceafill | changing to 25% | 20:30 |
th1a | Switch the outline bar to solid but lighter (maybe just 50% transparent for now) | 20:32 |
replaceafill | i still need to understand how ticks work :/ | 20:33 |
th1a | How'd you get those? | 20:34 |
replaceafill | svg lines | 20:34 |
replaceafill | boy | 20:46 |
replaceafill | th1a, reload | 20:46 |
replaceafill | ticks are still off | 20:46 |
replaceafill | for a reason i don't understand | 20:46 |
th1a | misaligned? | 20:47 |
replaceafill | they're calculated differently in the required column and the all column | 20:48 |
replaceafill | reload now | 20:48 |
replaceafill | just 2 lines | 20:48 |
replaceafill | see the second column with 2 lines | 20:48 |
replaceafill | and the first one with a single line | 20:49 |
replaceafill | the second column produces an extra tick for some reason | 20:50 |
replaceafill | probably a bad selector somewhere | 20:50 |
th1a | I found them to be weird. | 20:50 |
th1a | (ticks) | 20:50 |
replaceafill | absolutely | 20:51 |
replaceafill | but i'll figure it out ;) | 20:51 |
replaceafill | can we remove them for now | 20:51 |
replaceafill | ? | 20:51 |
replaceafill | while we continue | 20:51 |
replaceafill | they're distracting me :D | 20:51 |
th1a | uh... they're really the main issue | 20:51 |
replaceafill | ok | 20:52 |
replaceafill | will dig into the manual | 20:52 |
replaceafill | this manual could use some index | 20:52 |
th1a | I at least did enough to understand the pain points. | 20:54 |
th1a | in d3 | 20:55 |
*** dreich has quit IRC | 21:17 | |
*** pgulley has quit IRC | 21:17 | |
replaceafill | th1a, do you remember anything about transforms in d3? | 21:20 |
*** th1a has quit IRC | 22:13 | |
*** menesis has joined #schooltool | 22:23 | |
*** th1a has joined #schooltool | 22:24 | |
th1a | replaceafill: Not really. | 22:25 |
replaceafill | th1a, finally understood ticks :D | 22:25 |
th1a | Ah! | 22:25 |
replaceafill | but i don't know what's the best way to fix it | 22:25 |
th1a | Good. | 22:25 |
th1a | Bad. | 22:25 |
th1a | What's the problem? | 22:25 |
replaceafill | they're constant :D | 22:25 |
replaceafill | like | 22:26 |
replaceafill | you say, i want 5 | 22:26 |
replaceafill | the 5 is like a minimum | 22:26 |
replaceafill | if you have a range of 90 | 22:26 |
replaceafill | you get | 22:26 |
replaceafill | 0, 20, 40, 60, 80 | 22:26 |
replaceafill | and in the other case we have 101 | 22:26 |
replaceafill | so it doesn't calculate 101/5 | 22:27 |
replaceafill | it gives you: | 22:27 |
replaceafill | 0, 20, 40, 60, 80, 100 | 22:27 |
replaceafill | because the range allows it | 22:27 |
th1a | So why this offset? | 22:28 |
replaceafill | looks like the linear scale is global | 22:28 |
replaceafill | but really, i'm still looking | 22:29 |
replaceafill | i want the 25% damn it! | 22:29 |
replaceafill | th1a, i'll set up a new instance for Evelyn | 22:30 |
th1a | Thanks. | 22:30 |
replaceafill | i need some rest of this d3 s**t :D | 22:30 |
th1a | It seems like there's something missing. I got stuck at this point too. | 22:31 |
th1a | Maybe a mailing list question is in order. | 22:31 |
replaceafill | i think i'll be able to find it out once i get lunch ;) | 22:31 |
th1a | kk | 22:32 |
replaceafill | should i include all the components in Evelyn's instance? | 22:32 |
replaceafill | with sample_data.xls? | 22:33 |
th1a | ALready loaded? | 22:33 |
th1a | No. | 22:33 |
replaceafill | empty? | 22:33 |
th1a | y | 22:35 |
replaceafill | kk | 22:35 |
replaceafill | th1a, http://69.164.203.135/schwa | 22:45 |
replaceafill | empty | 22:45 |
replaceafill | with all the components | 22:45 |
replaceafill | ok, food time | 22:46 |
* replaceafill goes to get lunch, bb in ~30 | 22:46 | |
th1a | Thanks! | 22:46 |
*** th1a has quit IRC | 23:52 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!