*** replaceafill has quit IRC | 02:07 | |
*** replaceafill has joined #schooltool | 04:25 | |
th1a | hi replaceafill. | 04:25 |
---|---|---|
replaceafill | hey th1a | 04:25 |
th1a | Does the CanDo gradebook use Ajax? | 04:26 |
replaceafill | no | 04:26 |
replaceafill | it uses a lot of javascript, but no ajax calls | 04:26 |
replaceafill | full reload on save | 04:26 |
replaceafill | and to me, what breaks is that, javascript | 04:26 |
th1a | Hm? | 04:26 |
replaceafill | maybe is not transfered completely | 04:27 |
replaceafill | the undefined David talks about is javascript | 04:27 |
replaceafill | the descriptions are not fully loaded | 04:27 |
th1a | Hm... | 04:27 |
th1a | I see. | 04:27 |
replaceafill | and hear this: the gradebook template has TWO body tags | 04:27 |
replaceafill | and the onload=... attribute is in the second one! | 04:27 |
th1a | Ah, so probably we need to clean it up. | 04:27 |
replaceafill | definitely | 04:27 |
replaceafill | i was writing a response to David, but wanted to sync with you first | 04:28 |
replaceafill | i mean, if we were going to spent time on it, etc | 04:28 |
th1a | Well... | 04:28 |
th1a | If you could diagnose the problem more later this week it would be a start. | 04:29 |
replaceafill | i spent some time looking at the generated code, and trying out software like firefox throttle and iprelay | 04:29 |
replaceafill | to simulate the delay | 04:29 |
replaceafill | but i remember seeing the undefined problem when i was working with David last year | 04:30 |
replaceafill | i just didnt spend time on it | 04:30 |
replaceafill | also, i think resources, specially jquery could be cached in the web server side | 04:31 |
th1a | OK. I can imagine roughly what is going on. | 04:31 |
replaceafill | but i remember when ignas explained to me how the journal ajax works | 04:31 |
replaceafill | and it seems like a good solution, maybe | 04:31 |
replaceafill | less transfer | 04:31 |
th1a | I seem to recall hearing some crazy explanations of what that gradebook actually does. | 04:35 |
th1a | It reloads a ton of stuff every time? | 04:37 |
replaceafill | yes | 04:37 |
replaceafill | sends all the inputs | 04:38 |
replaceafill | and gets lots of javascript back | 04:38 |
replaceafill | i tested a middle-big size competency gradebook today | 04:38 |
replaceafill | and it takes 404 kB total | 04:38 |
replaceafill | just the generated html was 200 kB | 04:38 |
replaceafill | javascript like 120 | 04:39 |
replaceafill | jquery takes like 80 | 04:39 |
replaceafill | and the rest style sheets | 04:39 |
th1a | So that all has to be optimized and cached where possible. | 04:40 |
replaceafill | yes | 04:40 |
replaceafill | move the dynamic stuff to a single place and optimize | 04:40 |
replaceafill | lots of global ids for competencies flying around | 04:40 |
replaceafill | in the page | 04:40 |
replaceafill | i mean, those kind of things could be easier to do than say make it ajaxy | 04:41 |
th1a | Yes. | 04:41 |
th1a | I'm not going to have you do the Ajax. | 04:42 |
replaceafill | :) | 04:43 |
replaceafill | th1a, http://img24.imageshack.us/f/pantallazoei.png/ | 04:49 |
replaceafill | i know it's a big gradebook | 04:49 |
*** aks has joined #schooltool | 05:16 | |
aks | th1a, yvl, replaceafill: hello | 05:17 |
replaceafill | hey aks | 05:17 |
aks | replaceafill: so the RPMs worked, right? | 05:18 |
replaceafill | yes! | 05:18 |
replaceafill | after updating the system everything was easy | 05:18 |
*** th1a has quit IRC | 07:21 | |
*** menesis has joined #schooltool | 08:52 | |
*** replaceafill has quit IRC | 09:07 | |
aks | yvl: check http://gitorious.org/schooltool-rpm/schooltool-rpm/trees/master/schooltool-build for my automated RPM build system for schooltool | 10:11 |
aks | yvl: though it is not 100% automatic, but it is very helpful as it does much of the trivial work | 10:12 |
*** alga has joined #schooltool | 10:13 | |
yvl | will do, aks | 10:18 |
aks | yvl: ok, also report if there are any bugs | 10:18 |
yvl | aks, in buildspec, what exactly do you send? | 10:25 |
yvl | spawn rpmbuild -ba --sign $specfile | 10:26 |
yvl | expect "Enter pass phrase:" | 10:26 |
yvl | sleep 2 | 10:26 |
yvl | send "somethingthatlooksveryinteresting" | 10:26 |
aks | yvl: oh that's redundant file | 10:26 |
aks | yvl: deleting that | 10:26 |
yvl | ok | 10:26 |
aks | yvl: there will be more changes to that after i test it | 10:29 |
yvl | of course | 10:30 |
yvl | but - it's really nice work! | 10:30 |
yvl | thanks! | 10:30 |
yvl | sorry, I won't test the build, at least today | 10:32 |
yvl | I'd need to set up the build environment... | 10:32 |
aks | yvl: it's better if you do it tomorrow | 10:36 |
aks | yvl: I've found a few bugs which I'll be fixing today | 10:36 |
yvl | ok | 10:38 |
yvl | again, thanks! | 10:38 |
yvl | you did a lot of work there :) | 10:38 |
aks | yvl: :) | 10:39 |
*** ignas has joined #schooltool | 11:24 | |
*** ignas has quit IRC | 11:41 | |
*** aks has quit IRC | 13:19 | |
*** ignas has joined #schooltool | 13:23 | |
*** Aiste has joined #schooltool | 15:21 | |
*** replaceafill has joined #schooltool | 16:27 | |
*** th1a has joined #schooltool | 16:37 | |
*** alga has quit IRC | 18:59 | |
*** Aiste has quit IRC | 19:27 | |
replaceafill | th1a, you around? | 19:28 |
th1a | y | 19:30 |
replaceafill | th1a, i have a question about worksheet preferences | 19:31 |
replaceafill | right now, we handle 6 preferences | 19:31 |
replaceafill | 2 for labels, 2 for hiding the labels, 1 for hiding the due date filter and one for the average scoresystem | 19:32 |
replaceafill | all of them are 'global' in the person | 19:32 |
replaceafill | with the work i'm doing, we're moving them to the worksheet level and the section level | 19:32 |
replaceafill | section level = gradebook level | 19:33 |
replaceafill | but my question is, if we still handle the 6 preferences | 19:33 |
replaceafill | how do override just some of them? | 19:33 |
replaceafill | for instance a user defines the 6 at the gradebook level | 19:34 |
replaceafill | but then in one single worksheet he only wants to override the scoresystem | 19:34 |
th1a | Everything will eventually be pulled toward overrides. | 19:34 |
th1a | It is like gravity. | 19:35 |
th1a | We've just tried to delay that a bit, but now we have to give in. | 19:35 |
replaceafill | but i mean, from the usability point of view, do we show in the single worksheet all the fields with empty values and if the user changes only one, that means he wants to customize only that one? | 19:36 |
replaceafill | or in the single worksheet form do we pull the values from the gradebook level? | 19:36 |
replaceafill | and let the user customize and then store all of them for the worksheet? | 19:36 |
th1a | I would say the lowest level of granularity wins. | 19:36 |
th1a | I mean... | 19:37 |
th1a | Well, we have to keep it sane, too. | 19:37 |
th1a | I would say that if you want to change all the worksheets, you do that at the gradebook level. | 19:38 |
replaceafill | right | 19:39 |
th1a | If you change one worksheet, the other worksheets just the gradebook level defaults. | 19:39 |
replaceafill | yes | 19:39 |
replaceafill | but what do you present the first time in the single worksheet form? | 19:39 |
replaceafill | empty values? | 19:39 |
replaceafill | or pulled values from the gradebook preferences? | 19:39 |
replaceafill | all of this thinking came to me after justas suggested for the average scoresystem an option like 'inherit from xxx' | 19:39 |
replaceafill | (in case we provide later app defaults for example) | 19:40 |
th1a | I don't know. | 19:40 |
replaceafill | but that makes it trickier... | 19:40 |
th1a | Less tricky is better. | 19:40 |
th1a | Explicit is better than implicit. | 19:40 |
replaceafill | :D | 19:41 |
replaceafill | in my head this is perfect: | 19:41 |
replaceafill | you set up the preferences in the gradebook level (the 6 of them) | 19:41 |
replaceafill | then in a single worksheet | 19:41 |
replaceafill | you see in the form a drop down with (inherit from xxx, customize...) | 19:41 |
replaceafill | if you select customize... all the 6 fields are enabled | 19:42 |
replaceafill | and then you can change all of them | 19:42 |
th1a | That would be ok. | 19:42 |
replaceafill | if you select inherit from xxx, you get all of them | 19:42 |
replaceafill | does that sound right? | 19:42 |
th1a | Is that the default? | 19:42 |
replaceafill | the default would be, inherit from (the closest "parent") | 19:43 |
replaceafill | in this case (the gradebook level) | 19:43 |
replaceafill | but in the long distant future we could have (inherit from gradebook level, inherit from instructor level (tricky), inherit from term, inherit from app, etc) | 19:44 |
replaceafill | like aelkner suggested | 19:44 |
th1a | OK. | 19:44 |
replaceafill | will go with the customize... option then | 19:44 |
replaceafill | thanks th1a | 19:44 |
th1a | Sure. | 19:46 |
th1a | Are you sending Welsh a mail? | 19:46 |
replaceafill | ah yes | 19:47 |
replaceafill | will tell him what i told you last night | 19:47 |
replaceafill | i mean, random findings | 19:48 |
*** ignas has quit IRC | 19:55 | |
*** Lumiere has quit IRC | 20:21 | |
*** ignas has joined #schooltool | 20:38 | |
th1a | replaceafill: ayt? | 20:44 |
*** replaceafill has quit IRC | 20:47 | |
*** replaceafill has joined #schooltool | 20:59 | |
*** replaceafill has joined #schooltool | 20:59 | |
th1a | replaceafill: zyt? | 21:07 |
replaceafill | th1a, yes | 21:07 |
*** alga has joined #schooltool | 23:08 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!