IRC log of #schooltool for Monday, 2012-02-27

*** alga has quit IRC03:32
*** aks has joined #schooltool05:05
*** yvl has joined #schooltool07:07
*** yvl has quit IRC08:49
*** yvl has joined #schooltool09:55
*** menesis has joined #schooltool11:21
*** alga has joined #schooltool11:38
*** alga has quit IRC12:58
*** alga has joined #schooltool12:59
*** alga has quit IRC13:15
*** aks has quit IRC14:46
*** th1a has joined #schooltool15:34
*** alga has joined #schooltool15:37
*** th1a has quit IRC16:06
*** th1a has joined #schooltool16:07
th1aOoh, Ubuntu Condensed font.16:31
th1aThis is good for IRC...16:31
th1ahi yvl, menesis, aelkner.16:31
yvlgood morning16:32
th1aPerhaps replaceafill is having connection problems.16:33
th1aI think he got lucky the first few years...16:33
th1aOK, yvl, how are we doing?16:34
* yvl got slightly sick last Thu16:34
yvlmost of the AJAXy tables are in trunk though16:34
* yvl had issues with relationship views16:35
yvlsolution I'm going with now is keeping them, well, working exactly as before16:35
yvlpage reload on everything16:35
yvljust style a tiny bit16:35
yvlthat's my report.16:36
*** replaceafill has joined #schooltool16:37
replaceafillgood morning/afternoon16:37
replaceafillsorry that i'm late16:37
th1aAre you feeling better?16:38
th1ahi replaceafill.16:38
yvlyes :)16:38
yvljust lost some thime, that's all16:38
th1aSo you have a couple more days work on this?16:38
yvlwell, depends16:39
* yvl is kind of done16:39
yvlunless there are bugs16:39
yvlor we want the relationship tables to work ajaxy16:39
yvl(apart from adding/removing)16:39
aelkneryvl, i'm confused16:40
aelkneron friday you showed me ajax relationship views16:40
yvlsorry, I said that was an old instance16:41
yvlth1a said that this was not a step forwards, so I scrapped that work16:41
yvlI made the views that list persons work ajaxy16:42
th1aOK, sorry, I think I forgot what you were doing too.16:42
th1aOK, so we have "ajax batching."16:42
yvleverywhere except relationship edit views16:42
aelknerah, ok, sounds like what we looked at16:42
th1aRight, this is just the little changes I want to jam into the release.16:43
th1aRetain search/filter info.16:43
th1aAjax batching.16:43
th1aAdd all visible.16:43
th1aBut not Ajax add.16:43
yvlbut ajax batching also does not work in relationship views at the moment16:43
yvlneed some half a day to add that16:44
th1aProbably worth it for the sake of consistency.16:44
yvlreplaceafill, could I ask you to refresh some instance with changes from trunk?16:45
replaceafillyvl, sure16:45
yvlthanks man16:45
* replaceafill goes update his flourish trunk instance16:45
th1aOK, so basically we'll have to decide whether to put off/cutting down testing love to keep the CanDo work on schedule, since everything else is dependent on yvl getting the data model done.16:47
th1aI will consult my mystical Gantt charts and make a decision on Wednesday.16:47
yvldon't forget to sacrifice a goat ;)16:47
aelkneri need to so the section locations (and equipment) based on yvl's relationship stuff16:48
aelknerso i's be glad if that is solidified before we move on16:48
replaceafillyvl, the journal seems broken16:48
replaceafill  File "/home/replaceafill/sandboxes/flourish/flourish.journal/src/schooltool/lyceum/journal/browser/", line 31, in <module>16:49
replaceafill    from schooltool.table.catalog import makeIndexedColumn16:49
replaceafill    ImportError: cannot import name makeIndexedColumn16:49
th1aI feel like we were overstating the extent of the relationship changes last week.16:50
yvlprobably, th1a16:50
yvlreplaceafill, can you set import to16:50
yvlschooltool.table.column for now?16:50
replaceafillah ok16:50
* yvl forgot to test that :/16:51
replaceafill from schooltool.table.catalog import RenderUnindexingMixin, unindex16:51
replaceafill    ImportError: cannot import name RenderUnindexingMixin16:51
replaceafilli can disable the journal :)16:52
yvlsame refactoring16:52
yvlmoved to schooltool.table.column16:52
yvlgive it one more go, please :)16:52
replaceafillok,, the server starts now, but:16:54
replaceafillAttributeError: 'HeaderNavigationManager_header_navigation' object has no attribute 'viewlet_dict'16:54
menesisreplaceafill: i fixed this in schooltool16:54
menesisa minute ago16:54
aelknerthat has to do with my tab hiding change16:54
aelkneri think16:54
replaceafillmenesis, ah ok16:54
* replaceafill updates again16:54
aelknerbut i don't get that error in my instance which doesn't have the latest schooltool trunk16:55
replaceafillok, it works now:
th1aSo does aelkner still need to be worrying about relationship view changes by yvl?16:56
aelknerin other words, wat's in trunk now is ok for what i'm doing, right?16:56
th1aCharge ahead aelkner.16:57
th1aThanks yvl.16:57
th1aOn to aelkner.16:57
aelknerreplaceafill, how did you fix the object has no attribute 'viewlet_dict' problem?16:57
replaceafillpulled again16:58
aelknerah, ok, that's good16:58
replaceafillmenesis just fixed it16:58
aelknerthanks menesis16:59
aelknerthough it's weird that i didn't have a problem with that17:00
aelknerth1a, here's a link to the server tab on my instance:17:00
aelkneryou see a Tabs link17:00
aelkneri added the manager to one section so that the Gradebook and Journal tabs were visible17:01
th1aCan you invert it so the column is "Visible" instead of "Hidden?"17:01
th1aAlso, do we generally use question marks there?17:02
th1aI don't think we do.17:02
aelkneri modeled after the gradebook worksheets view17:02
aelknerwhich has a Hidden? column17:02
th1aOK.  Well...17:03
aelknerif i change it to be Visible (no ?) should i not change the gradebook worksheets view as well?17:03
aelknerthat's only if you want it to be consistent17:04
aelknerbut it doesn't have to be i guess17:04
th1aIt is just a matter of how much time it will take.17:04
aelknerto change the worksheets view?17:05
aelknernot much time17:05
aelknerany screenshots of the worksheets vidw for the book would have to be changed17:05
th1aI think "Visible" is better -- we just have "hide" and "unhide" purely because that's what we're thinking when we're implementing it.17:06
aelknerthese are things that i lack opinion on, i leave it up to the customer to decide17:06
aelknershall i change both views?17:07
th1aYeah, go ahead.17:07
aelknerok, will do first thing17:07
th1aI'll think about the text.17:07
aelkneri'll leave it up to you to update the book when i'm done with it17:08
th1aIt needs to be changed too.17:08
aelknerthe what's this, right?17:08
th1aWell "Hide or Unhide" isn't the way humans actually talk.17:08
th1aAnyhow, I'll think about it.17:09
aelkneri'm human, if you prick me do i not bleed? :)17:09
th1aThat's not been empirically verified.17:09
th1a(by me)17:09
aelkneri'm glad you can't try it out now :)17:09
th1aWhat's next then aelkner?17:10
aelkneri'll update both views to have Visible (no ?) as the column header and switch the logic on the checkboxes17:10
aelknerafter that, i'll continue on with the section locations and equipment sections of the section view17:11
aelkneri can make any text changes (and add what's this for the server tabs view) after you email me the details17:11
aelknerbut that's it for me17:11
th1aThanks aelkner.17:12
replaceafilli think i'm done with the id card work:17:12
replaceafillit works for persons:
replaceafilland for groups:
replaceafillth1a, there's still two XXX in the request dialogs17:13
th1aShouldn't there be other reports for groups?17:14
replaceafillth1a, ah, probably for the plugins17:14
replaceafilli dont have them enabled here17:14
th1aJust wondering.17:15
th1aNice photos!17:15
th1aThe vertical spacing is a bit cramped.17:16
th1aNeed more space between sections.17:16
replaceafillyou mean ID, Birth date, Contact and Contact's Phone?17:16
th1aAlso, the name is less prominent than the bold field names.17:17
th1aThe name should be bigger and have more spacing below as well.17:17
th1a(person name).17:17
replaceafillah ok17:17
th1aFor that matter...17:17
th1aReally the student name should probably be at top.17:18
th1aI mean, everyone knows what school they're in.17:18
replaceafillok, i'll work on that then17:19
replaceafillshould i make the photo bigger?17:19
th1aSwitch the student and school name, or maybe even put the school name at the bottom like a footer.17:19
th1aI don't think so.17:19
* replaceafill done17:20
th1aThanks replaceafill.17:21
th1aAnything to report, menesis?  Your upcoming schedule?17:21
menesisnothing to report17:22
menesisI only updated the book on friday17:22
th1aWhat's your schedule for this week?17:22
menesisand was reviewing merges today17:22
menesisI plan to work only on schooltool this week17:23
th1aWe're wrapping up the things I'd like to have in Precise.17:24
th1aOnce the CanDo stuff start's that's completely targeted for the summer.17:25
th1aOK.  Let me know if you have questions about particular things.17:26
th1aThanks menesis.17:27
th1aOK, so I'm going to need some replaceafill time today.17:27
replaceafillah ok, what time?17:27
th1aWe need to mock up some static files for me to work on visualizations in CanDo reports.17:28
th1aSo basically this should use Flourish styles.17:28
th1aI just want to stub everything out into static files so I don't end up Zope wrestling.17:29
th1aDo you want to work on it now replaceafill?17:29
replaceafillcan you give me 20 mins? haven't had breakfast yet :)17:30
th1aI could use a shower too.17:30
* replaceafill woke up late today17:30
th1aLet's say in a half hour.17:30
th1aThanks guys!17:30
th1aSee you Wednesday.17:30
* th1a drops the bag of gravel.17:30
yvlsee you Wednesday!17:30
aelknercya guys wed17:31
replaceafillthanks everybody17:31
*** alga has quit IRC17:54
*** ignas has joined #schooltool17:59
* replaceafill back17:59
* th1a back.18:02
th1aSo I had some fruitful ideas in the shower.18:05
th1aBasically this is an HTML view, and then a script runs which draws SVG over certain cells.18:05
th1aSo in fact there's no particular reason not to simply include the data in text form and then you can sniff the browser for SVG support (presumably).18:06
th1aAnd then just pull the data from the HTML -- no additional json required.18:06
replaceafilljson is smaller though18:07
th1aOR... we could just render the whole table with Javascript.18:07
th1aHTML and SVG.18:07
th1aThat will require me to think of more things at the same time, but probably isn't difficult.18:08
th1aOK, so let's think about what pieces I need.18:10
th1aI need some json data (really I can start with one record).18:10
th1aI need Flourish CSS.18:11
th1aAnd I need a static stub of a Flourish HTML page.18:11
replaceafilli can put together the html stub + css18:13
replaceafilldo you need all the "content" parts?18:13
replaceafillsidebars, content, tertiary nav?18:13
th1aWell, this would be a "wide" page I think with no sidebar.18:13
replaceafillah ok18:14
replaceafillhhmm so, you just want the content space...18:14
th1aReally I just need a wide content area.18:14
th1aYes.  Nothing complicated.18:14
replaceafillwe don't have one of those yet18:14
th1aOK, give me a regular one.18:14
replaceafillbut we can set up a new css file just for this18:14
th1aOr that.18:14
replaceafillto get rid of the sidebar18:14
replaceafillok, want me to start doing it?18:15
replaceafilli suppose you want it in your d3 branch, right?18:16
replaceafillin a flourish directory maybe18:16
th1aAnd do we have the actual report anywhere?18:16
replaceafillah yes18:17
replaceafilli'll PM you the instance and credentials18:17
replaceafillth1a, log in as manager18:18
replaceafillclick on the CanDo tab18:18
replaceafilland there you have the completion reports18:18
replaceafill(the ones david showed in the sprint)18:18
replaceafillth1a, you haven't pushed your last changes to your d3 branch right?18:21
th1aYou mean run "make upload"18:22
replaceafillah, i thought you had more changes18:22
th1aNot really.18:23
replaceafillth1a merge lp:~replaceafill/+junk/d318:42
replaceafillthere's a new flourish directory18:42
replaceafillwith main.html and d3.css18:42
replaceafillthe flourish/resources directory is a copy of schooltool trunk's18:43
replaceafillit has lots of js you don't need, but i think it's easier to just update the whole directory than copying specific files from it18:43
replaceafill(that's what i do in pyquiz) :)18:44
* th1a goes to get lunch.18:51
*** menesis has quit IRC19:47
th1areplaceafill:  I forwarded your email to Mark's banker.19:54
replaceafillth1a, thanks19:55
*** povbot has joined #schooltool21:35
replaceafillis it me or there's no way to control the order of reportLink directives...?21:43
replaceafillth1a, zyt?21:48
*** th1a has quit IRC22:17
*** th1a has joined #schooltool22:17
th1ahi replaceafill.22:21
replaceafillhey th1a22:21
replaceafillcould you check:
replaceafilli made the changes you asked22:21
replaceafilli still need a proper description for the request dialog22:21
replaceafillalso, i enabled the plugins in the instance so you can see the order of the report links22:22
th1aDescription: "Includes student name, ID number, contact name and contact phone number."22:31
replaceafilland for group?22:31
th1aSame... plus "Prints six (or whatever) per page."22:31
replaceafillah ok22:31
th1aCan you make the school name a bit bigger and more prominent?22:32
replaceafillth1a, reload22:36
replaceafilloops, we forgot the birth date22:36
replaceafillmaybe i should make the school name darker...22:38
replaceafillcompletely black?22:38
replaceafillit's #bbbbbb now22:38
th1aUm... nearly?22:39
replaceafillit's darker, but you can notice is different from black :)22:42
replaceafill(i guess)22:42
th1aI think that's ok.22:44
th1aI can run it past Vinny.22:44
replaceafillok, i'll move to my next task then22:46
th1aYes.  Good job.22:46
* replaceafill is one week behind according to the planner :(22:46
th1aWell, I added some non-trivial tasks.22:46
replaceafillkk, thanks th1a22:46
replaceafillis the flourish template for your d3 work ok?22:47
th1aI think so.22:47
th1aI've just figured out some json at this point and drawn some sketches.22:48
* replaceafill goes study yvl's new ajax machinery22:48
*** alga has joined #schooltool23:08
*** alga has quit IRC23:09
*** alga has joined #schooltool23:09
th1areplaceafill:  This is helpful
replaceafillsounds very similar to jquery23:38
th1aYes, so I'm killing two birds with one stone.23:39
th1a(in my own learning)23:39
th1aThis really should be pretty easy because I really just need a few lines for this.23:40
th1aIt actually could be done with <div>s.23:40
* th1a goes to make supper.23:42

Generated by 2.15.1 by Marius Gedminas - find it at!