IRC log of #schooltool for Friday, 2010-03-12

replaceafillth1a, ping00:14
replaceafillth1a, :D00:34
aelknerth1a: just so you know, i'm working on fixing the intervention dashboard to have the student table, then the inbox00:46
aelkneri assume that the gradebook stuff is sufficient for the screencast00:47
aelknerthere is a bug in the schooltool.gradebook egg that doesn't display the linked column labels00:48
aelknerso when you show the final worksheet, don't be surprised00:48
aelkneri already have a fix available, but it's not in the egg00:48
aelkneranyway, good luck with the screencast00:49
aelknerwhat time is it?00:49
replaceafillyou've got to love z3c.form! :D02:18
*** th1a_ has joined #schooltool02:29
th1a_replaceafill: zyt?02:29
replaceafillth1a_, yes02:29
th1a_What's our status?02:29
replaceafillth1a_, good progress02:29
replaceafilli had to remove the style though02:29
replaceafillthe edit form wasnt working02:29
replaceafilli fixed it02:30
replaceafilland now im applying the styling back02:30
replaceafill1 hour at much i hope02:30
th1a_OK.  Cool.02:31
replaceafillit looked pretty, but it didnt save the data :(02:31
replaceafilli had to move the relationship field to another fieldset02:31
replaceafillit's no big deal though02:31
replaceafillth1a_, btw we have no way of getting out of the edit forms02:33
replaceafilli mean, you enter the edit form02:33
replaceafillyou change the data02:34
replaceafillyou hit Apply02:34
replaceafilland then you get to the same form with the message "changes applied"02:34
replaceafillbut you stay there02:34
replaceafillit feels weird02:34
replaceafillyou'll see02:34
th1aIs that what normally happens in SchoolTool?02:34
replaceafilledit forms redirect to themselves in apply actions02:34
th1aThat gets back to the "this has always been so complicated we couldn't focus on little things" point.02:35
aelkneryes, edit forms need to redirect to self in order to get the update job done03:06
aelknerbut there's no reason they can't redirect to the same url as cancel would03:06
aelkneri mean, after updating the db03:07
aelknerbut that's an interesting question to consider about all of our edit views03:07
replaceafillth1a, ok pushing03:33
replaceafilloh wait, tests03:35
replaceafillth1a, do i make the Download Report Card appear until there's a schoolyear?03:39
*** pcardune has quit IRC03:57
th1areplaceafill, that's not crucial.04:10
replaceafillok it's ready04:11
replaceafilltest are broken though04:11
replaceafillbut you can use it :)04:11
th1aFrom lp:~replaceafill/schooltool/schooltool.cambodia04:13
replaceafillaelkner, don't branch yet :)04:13
replaceafilli have to fix a test :)04:13
replaceafillth1a, i couldn't make the student display to look like the add/edit forms :(04:14
replaceafilli don't know how to handle the white spaces04:14
th1ain what sense?04:14
replaceafillif you have:04:14
replaceafill[  ] [your name] [middle] [last] [  ]04:15
replaceafilli couldnt make the first empty field to stay the same width04:15
replaceafilli need css skills :(04:15
replaceafilland the same happened to me with all the empty non required fields04:16
replaceafillbut i don't think the student view looks that bad though04:16
aelknerdid you try various empty tags like <p />, <span />, etc?04:17
replaceafillth1a, could you pull it?04:17
replaceafillaelkner, yes04:17
replaceafilli guess you have to play with the widths04:17
replaceafilllet's use tables!04:17
th1aNow it worked.04:18
th1aThere is no shame in tables.04:18
aelknerdid you do <p style="width: 5em"> for example?04:18
aelkneri always used tables04:18
aelknerbut we did play around with spacing at the sprint04:18
aelknerit wasn't for nothing that we demonstrated that you don't need tables for spacing04:19
aelknerbut it's not important for now04:19
aelknerth1a: when's this screencast?04:19
replaceafillth1a, are you making a video?04:20
replaceafillor broadcasting?04:20
aelkneryeah, what up?04:20
th1aI just woke up from a nap.04:21
th1aI might need to take a shower.04:22
aelkneri'm just curious about when you're doing this demo?04:22
replaceafillth1a, are we meeting tomorrow morning?04:23
aelkner? not intended :)04:23
aelkneryeah, that, too04:23
th1aI would say yes to the meeting.04:23
th1aI'd like to send something to Cambodia tonight since it is tomorrow there.04:24
aelkneri'm terrible with timezones04:25
replaceafill9:25 phnom penh04:26
replaceafill04:26 vilnius04:26
replaceafill21:26 washington04:26
th1aThe regular meeting time.04:27
replaceafill20:27 el salvador04:27
aelkner9:30 then04:27
replaceafillth1a, do you want me to stay around in case you want to change something?04:27
replaceafillgood night guys, see you tomorrow04:29
aelknerth1a: i can deliver jelkner the improved dashboard this weekend04:29
aelknergood night replaceafill04:29
th1aaelkner:  OK.04:29
*** dlobo has quit IRC04:31
replaceafillth1a, you should pull again if you can04:42
replaceafillput back the courses info in the person view04:43
replaceafilland removed empty fieldsets04:43
th1aOK.  Thanks.04:43
*** replaceafill has quit IRC04:45
*** th1a_ has quit IRC05:21
*** ignas has quit IRC05:28
*** dlobo has joined #schooltool05:32
*** dlobo has quit IRC05:35
*** dlobo has joined #schooltool05:56
*** th1a has quit IRC07:16
*** pcardune has joined #schooltool08:29
*** pcardune has quit IRC09:20
*** yvl has quit IRC12:32
*** ignas has joined #schooltool13:37
*** jelkner has joined #schooltool14:33
*** th1a has joined #schooltool15:34
*** yvl has joined #schooltool15:37
*** replaceafill has joined #schooltool16:03
th1ahi replaceafill.16:03
replaceafillhi th1a16:04
replaceafilldid it work?16:04
th1aI ended up not doing the screencast last night because I realized I wasn't using the "classes" correctly and had to ask yvl about it.16:04
th1aTechnically, making the screencast works.16:04
th1aYou can do it nicely just with Quicktime Player.16:05
th1aSo there are a few things to change.16:05
th1aWe don't want to direct the user to the calendar now when they log in.16:06
replaceafillwhere do we redirect them?16:07
th1aIt is a little tricky because it depends on their group.16:09
th1aBasically, if teacher, then gradebook;16:09
th1aelif Manage.16:09
replaceafillah ok16:10
th1aIf we can handle such a complex heuristic.16:10
aelknerth1a, replaceafill: good morning16:38
replaceafillaelkner, good morning16:39
th1aah, sorry.16:39
aelknerwhaqt's up?16:39
aelkneris there anything i can do tho help?16:39
aelknerto help16:39
replaceafillth1a, you can pull the new redirect16:43
th1aaelkner:  I'm just going to feed replaceafill a few small bugs.16:43
replaceafillif you're in the teachers group in the active year you go to the gradebook16:43
th1aAnd do the screencast this afternoon.16:43
replaceafillelif you're in the administrator group you go to manage16:43
th1aaelkner:  I assume it would not be very easy to remove the "hide activities older than x weeks" think in the Cambodia gradebook.16:44
aelknerwhat about students?  are they not using schooltool?16:44
th1aNot in Cambodia.16:44
replaceafillaelkner, nope16:44
replaceafillaelkner, do you know if there's a way to recognize the schooltool administrator user?16:44
aelknerth1a: we would have to change the gradebook egg in order to make such a change16:45
replaceafilli mean the one that gets created when you create an app16:45
aelknerusername manager16:45
aelknerwhy do you ask?16:46
th1aaelkner:  Well, I guess one change that would be nice if possible in the core would be to make that control handle a narrower screen more cleanly.16:46
th1aBecause just breaking that line in the middle looks bad.16:46
aelknerwe need to make a few cosmetic changes to the egg anyway, so16:47
th1aBut that might require some serious CSS magic.16:47
aelknerwe could make that control be a preference16:47
th1aWell, we could.16:47
aelknerbut, not making it a preference, we could just make it break better16:48
th1aMaybe it should just be a preference.16:48
th1aDo that.16:48
th1aAlso... in the little bar where the title of an activity shows up -- left margin!16:49
aelkneryou saw my chat yesterday regarding the linked column headings bug16:49
aelknerif that fix gets into the egg, then we'll have that, too16:49
aelkneryes, and i can fix the left margin :)16:49
replaceafillth1a, pull again to get redirection for the schooltool manager too16:50
aelkneri could make these various changes and request yvl merge them and produce w new egg for you by monday morning16:51
th1areplaceafill:  Where are our blue buttons?16:54
replaceafillthe css style is there16:54
replaceafillwhere do we apply it?16:55
th1aInvert Selection16:55
th1aMake activate next school year green.16:58
th1ayvl & aelkner:  We have a new button style.16:59
aelkneri noticed16:59
aelkneri mean, i saw you discussing it16:59
aelknerin what type of cases would you want it used system-wide17:00
th1aIt is for when you have a button that is... between red and green.  ;-)17:00
th1aThe warning flag is if youve got two red or two green buttons together.17:00
th1aWell, I'm not entirely sure of the exact semantic meaning.17:01
th1aInvert selection is a good case though.17:01
aelknerred means stop, green mean go, neutral means hit the gas to make the light?17:01
th1aYou aren't canceling/deleting.17:01
th1aYou aren't adding/saving.17:01
th1aOne good question is this:  Should "OK" buttons be blue or green?17:01
aelkneryou mean the OK buttons that don't actually do anything but close the view, right?17:02
replaceafillok, we have Invert Selection templates in: app, contact and course17:02
aelknerthat would be a good case for neutral17:02
replaceafillth1a, the one in course is what you want to change, right?17:03
replaceafillfor enrollment17:03
th1aSection and group.17:04
th1aMake the "OK" buttons there blue as well.17:04
th1aSo feel free to change buttons to blue as you work on the app going forward...17:08
*** dlobo has quit IRC17:19
th1areplaceafill:  Are you working on that?17:25
replaceafillalmost there17:25
th1aI do need a status feed for replaceafill...17:25
replaceafilli wish we used z3c.template :)17:25
replaceafilli'll give you vnc to my laptop :P17:25
replaceafillok th1a ready17:42
replaceafillyou can pull now17:42
replaceafillinvert selection and ok buttons in relationship forms are blue17:42
replaceafilland activate next schoolyear is green17:42
*** dlobo has joined #schooltool17:51
th1aah... one more thing...17:52
th1alink to groups on the manage page.17:52
th1aOr did I say that already?17:52
replaceafilli dont think you did17:52
replaceafillok, right now17:52
replaceafillgroups as in 'schooltool groups'?17:53
replaceafilli'm all confused with these levels and classes and groups stuff17:53
th1aWell, really I want "classes," but we don't have a classes index yet, so just give me groups.17:54
th1aActually, give me link "Classes" that goes to SchoolTool groups.17:55
replaceafillah ok17:55
replaceafillGradebook Classes Manage17:55
th1aNo, I mean a link *on* the manage page.17:55
replaceafillsorry i thought of a tab17:56
th1aTry this blue: #9DB8D218:03
th1aI think the lighter is a little better.18:08
th1aWhat do you think?18:08
th1aI don't want the blue to be stronger than the green.18:08
replaceafillyes, that blue looks weaker in comparison18:08
th1aYour eye should be drawn first to the green.18:08
th1aOK, let's go with the lighter one for now.18:09
replaceafilli suppose all these css changes will end up in core, right?18:10
replaceafillth1a, done18:18
replaceafilloh, let me update the tests18:19
replaceafillth1a, pushed18:22
replaceafillpull for the Classes link18:22
replaceafilland the new color18:22
th1aRevision 36?18:24
replaceafillyes18:24 Download Report Card doesn't look right sitting there with only School Years above it...18:27
replaceafillmake it dependable on active schoolyear?18:27
*** dlobo has quit IRC18:29
th1aand can you change the Invert Selection in group edit too?18:33
replaceafillwhen you're assingnig members to a group?18:33
replaceafilli thought i already did that18:34
replaceafillth1a, weird, i see the Invert Selection as neutral in the edit group view18:40
th1aOh... let me reload CSS...18:41
replaceafillyes, maybe that's the problem18:41
replaceafilldid you pull rev 36?18:41
th1aOh, I'm looking at edit groups of a person.18:42
replaceafillah ok, will look18:42
th1a"OK" too on that form.  ;-)18:52
replaceafillrunning the loooong tests18:52
replaceafillth1a, ready18:53
replaceafillrev 3718:53
th1aPolished SchoolTool!18:53
th1aNow we just have to rebuild it one form at a time.18:53
replaceafill5 new views just to change buttons :S18:55
replaceafilland thank god you dont want OK in yellow in one and purple in another one :S18:55
replaceafillnow i understand all those arguments about separating the templates ;)18:56
th1aThat reminds me of why we've never tried to do that all at once.18:57
th1aaelkner, zyt?19:05
replaceafillzyt :D19:05
aelknera is next to z19:06
aelknerzyx, can you say the alphabet backwards?19:06
th1aUm... what is the url to configure a gradebook's preferences?19:06
aelkneron sec19:06
aelkneryou should append that to the gradebook url19:07
th1aAh, but we haven't pushed the new option yet.19:08
th1aThat gets me to the form.19:08
aelkneryvl needs to make the egg19:08
replaceafillaelkner, can't you override the view in the cambodia layer?19:09
aelknerreplaceafill: that would require copying the whole view to cambodia19:09
replaceafillnot necessarily19:09
replaceafilljust subclass19:09
aelknerthat's just too much code to copy19:09
aelknerah, yes, true19:09
replaceafillthat's what i've been doing to change buttons :P19:10
aelknerbut still, the gradebook view class is overly complex, needs refactoring19:10
replaceafillwhat's that english expression? "poor's man something..."19:10
replaceafillah ok19:10
replaceafilljust asking ;)19:10
aelknernp, good points all19:10
th1aIt isn't a big deal.19:11
th1aSince we really don't know what they'll want at all there.19:11
th1aI'm going to go get lunch and then do the screencast when the girls are napping.19:12
replaceafillth1a, i'm going out during the afternoon, send me an email if you want me to change something19:13
th1ayvl, menesis:  Is it possible for us to generate the (partial) Khmer translations for the branch?  We tried make compile-translations but that fails.19:14
th1amsgfmt: error while opening "src/schooltool/cambodia/locales/*.po" for reading: No such file or directory19:14
th1aThat is, is there a simple thing we could be doing?  ;-)19:15
replaceafilland that command creates a '*' directory in the locales dir :S19:15
* th1a goes to get lunch.19:20
*** dlobo has joined #schooltool19:31
*** pcardune has joined #schooltool19:53
*** replaceafill has quit IRC19:58
*** jelkner has quit IRC19:59
*** pcardune has quit IRC20:08
*** pcardune has joined #schooltool20:51
yvlok, th1a, I'm on locales...21:37
th1aGrr... Quicktime is finicky about letting you change screen resolution when you're making a screencast...21:45
th1aJust wasted two full runthroughs.21:45
th1aPlus the first one which was ruined when I didn't have PDF support on...21:45
*** pcardune has quit IRC21:46
yvlwell, I'll put the translations up soon21:47
yvljust warning, so you wouldn't need to waste the third one21:47
yvlth1a: you can get the code with translations from lp:~justas-pov/schooltool/schooltool.cambodia22:07
yvlit's basically the latest Douglas' branch with translation hacks22:08
yvlsome of the newer strings are of course untranslated22:08
yvljust get the code22:09
yvland 'make update-translations'22:09
yvlone thing is that our eggs do not include translations from other schooltool eggs they depend on22:10
yvlso there's a hack in schooltool.cambodia for Khmer language that does that22:10
yvlumm, one more thing22:10
yvlmake update-translations also makes your translation files 'dirty'22:11
yvlso if you are using 'bzr merge', bazaar will complain22:11
yvlyou'll have to bzr revert22:11
yvlor simply get a new checkout22:12
*** pcardune has joined #schooltool23:18

Generated by 2.15.1 by Marius Gedminas - find it at!