*** povbot has joined #schooltool | 14:43 | |
*** faassen has joined #schooltool | 14:58 | |
*** jinty has quit IRC | 15:32 | |
*** pcardune has joined #schooltool | 16:31 | |
pcardune | th1a: ayt? | 17:01 |
---|---|---|
th1a | Yep. | 17:01 |
th1a | Hi pcardune. | 17:02 |
pcardune | would you like to discuss what needs to be done to finish the UI stuff? | 17:02 |
pcardune | (we were going to do it now right? or do I have the time wrong?) | 17:02 |
th1a | I believe this is the right time. | 17:03 |
th1a | As long as we both think it is... then it is! | 17:03 |
pcardune | good | 17:03 |
th1a | OK. I think you have to take the lead here... as usual, I'll provide moral support. | 17:05 |
pcardune | was just answering a question from interns | 17:05 |
pcardune | you want me to skype you? | 17:06 |
th1a | Um... well, if we do it here I can just use the transcript later. | 17:06 |
pcardune | alright | 17:06 |
th1a | To make the proposal up. | 17:06 |
pcardune | So, what we have right now are a few tabs, and a few modes that kind of work and some temporary tabs. | 17:07 |
th1a | Yes. | 17:07 |
pcardune | I think the way views are registered for these differents tabs and modes works well enough | 17:07 |
th1a | That seemed to be the rough consensus at the meeting. | 17:08 |
pcardune | there are no tests, functional or unit against any of the new code | 17:08 |
pcardune | the old navigation stuff is still there and needs to be removed... doing so will cause havoc in all the functional tests | 17:08 |
th1a | OK. 1) write tests and fix old tests. | 17:08 |
th1a | 2) need to look at old views and indicate what should be removed or moved. | 17:09 |
pcardune | The next things is to write some generic base code for working with sessions | 17:10 |
th1a | What's the goal there? | 17:11 |
pcardune | the goal is to store variables which are used across multiple views... like what day you are looking at or what section you are looking at... as appropriate | 17:12 |
pcardune | temporary tabs use session data to store themselves. | 17:12 |
pcardune | I think we need to abstract how we use sessions to store data so that it is done uniformly across display code | 17:13 |
pcardune | we also need some macros to handle management of session data used across multiple views | 17:14 |
pcardune | We need a way to navigate between dates on multiple pages. It would be best to write one "date navigation widget" that gets displayed on whatever pages want it. | 17:15 |
pcardune | that macro would then handle storage and access to datetime data in the session | 17:15 |
pcardune | the same might go for modes | 17:15 |
th1a | OK. That's getting more specific (which we need). | 17:16 |
pcardune | for example, if you are in the month view on a calendar, and you then go look at attendance reports, you would want to see a month view of attendance reports | 17:16 |
th1a | You probably would. | 17:17 |
pcardune | the complicated part is that "month" is clearly a mode of a calendar, but it probably shouldn't be a mode of "attendance"... however it is a mode of "attendance report" | 17:17 |
pcardune | so we might have another macro for dealing with time frames: day/week/month/year | 17:18 |
th1a | So there will be a session variable to store the data and a handy macro to display it if needed? | 17:19 |
pcardune | right | 17:20 |
pcardune | the next thing to figure out is how to delegate the display of the correct screen | 17:20 |
pcardune | a monthly report view might be a completely different page template than a daily report view | 17:20 |
th1a | You know, maybe we shouldn't try to do this now but refactor later. | 17:21 |
pcardune | something would have to figure out which page to serve up | 17:22 |
pcardune | i've did this a bit with redirector views, but I'm not sure that is the best way in the end | 17:22 |
pcardune | done* | 17:22 |
pcardune | which of "this" do you mean to refactor later, and when is later | 17:23 |
th1a | I mean, do we need this abstraction yet? | 17:23 |
th1a | And by later I mean, not in this 3-4 week contract. | 17:24 |
pcardune | well, we aren't going to use it in cando2006 | 17:26 |
th1a | Now what do *you* mean by 'it.' | 17:26 |
pcardune | well, until the tabs have this kind of abstraction layer, we won't be able to do much with them | 17:28 |
pcardune | so unless you have another suggestion, we were going to stick with whats in the schooltool trunk for now | 17:28 |
pcardune | or possibly with the smaller changes I made in my branch | 17:29 |
th1a | Well, OK. So you do regard the abstraction layer as essential. | 17:29 |
pcardune | OT: Jeff wanted me to remind you about bringing the slideshow | 17:30 |
th1a | Hm... I'm not sure if I can actually export it as a slideshow, but I'll have the photos. | 17:30 |
pcardune | oh yeah, that's all he wants | 17:31 |
th1a | OK... so session abstraction. Anything else? | 17:31 |
pcardune | and delegation | 17:31 |
pcardune | here is the thing | 17:31 |
pcardune | you go to attendance reports, and stored in the session is data saying you are looking at a month | 17:32 |
pcardune | so whatever page template handles reports will be able to see you are look at a month | 17:32 |
pcardune | one possible implementation is to put all the different reports in the same page template and just display the one corresponding to session data | 17:33 |
pcardune | that would also mean putting all back end logic code for all the different reports into the same python class | 17:34 |
pcardune | and that to me is not very pythonic or zopey | 17:34 |
pcardune | zopic? | 17:34 |
th1a | Zopish. | 17:34 |
pcardune | that's the one | 17:34 |
pcardune | so if you seperate them out into different views, then you need another class whose sole purpose is to look at the session data and redirect you to the right view | 17:35 |
pcardune | I don't know whether it's better to call that a delegator or a redirector | 17:36 |
pcardune | summed up, that would be 3) session abstraction 4) navigation macros 5) redirection (abstraction) | 17:37 |
th1a | Well, here's the thing: right now we don't do any of this either. | 17:37 |
pcardune | right | 17:37 |
th1a | How long do you think 3, 4 & 5 will take? | 17:38 |
pcardune | well, we need to know what all the different navigation macros would be | 17:40 |
pcardune | I'm going to guess 5-8 days | 17:40 |
th1a | For all of it? | 17:40 |
pcardune | well, if you know the right way to implement it, yes | 17:41 |
pcardune | if you don't know the right way to implement, multiply that by the number of attempts | 17:41 |
th1a | OK. | 17:41 |
pcardune | I think it would be pretty easy to do this the wrong way and not know it until you got towards the end | 17:42 |
pcardune | I wouldn't trust myself to do it right the first time without consulting more expert zope folks | 17:42 |
th1a | What else is new? | 17:42 |
th1a | (that was referring to the first comment, | 17:43 |
th1a | not the second) | 17:43 |
pcardune | i thought so | 17:43 |
th1a | :-) | 17:43 |
th1a | OK. Is that it? | 17:44 |
pcardune | I think so | 17:44 |
th1a | OK. Cool. | 17:44 |
pcardune | we wont really know until the end though ;) | 17:44 |
th1a | I'll try to get this written up more coherently during the sprint. | 17:44 |
pcardune | alright | 17:45 |
pcardune | we might end up revising the time estimate | 17:47 |
th1a | Well, POV will make the time estimate. | 17:47 |
pcardune | ok | 17:47 |
pcardune | i'm going to go help folks now | 17:48 |
pcardune | but i'll take a look at whatever you write up | 17:48 |
th1a | OK. Thanks! | 17:48 |
*** mgedmin has joined #schooltool | 18:11 | |
*** Aiste has quit IRC | 18:14 | |
*** Aiste has joined #schooltool | 18:14 | |
*** ignas has joined #schooltool | 18:24 | |
*** ignas has quit IRC | 20:29 | |
*** faassen has quit IRC | 20:43 | |
*** th1a_ has joined #schooltool | 20:54 | |
*** ignas has joined #schooltool | 21:08 | |
*** ignas has quit IRC | 21:09 | |
*** Aiste has joined #schooltool | 21:53 | |
*** th1a_ has quit IRC | 22:21 | |
*** vidasp has quit IRC | 23:01 | |
*** th1a_ has joined #schooltool | 23:01 | |
*** th1a_ has quit IRC | 23:34 | |
*** alga has quit IRC | 23:35 | |
pcardune | srichter: jeff wants your cell phone number, or to give you his | 23:45 |
pcardune | but is not willing to get on irc himself :/ | 23:45 |
*** tiredbones has quit IRC | 23:53 | |
*** tiredbones has joined #schooltool | 23:55 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!