*** replaceafill has joined #schooltool | 00:47 | |
*** replaceafill has quit IRC | 02:58 | |
*** alga has quit IRC | 04:03 | |
*** th1a has quit IRC | 05:45 | |
*** aks has joined #schooltool | 06:11 | |
*** aks has quit IRC | 06:11 | |
*** aks has joined #schooltool | 06:11 | |
*** aks has quit IRC | 07:57 | |
*** aks has joined #schooltool | 08:13 | |
*** aks has quit IRC | 08:13 | |
*** aks has joined #schooltool | 08:14 | |
*** aks has joined #schooltool | 08:14 | |
*** aks has quit IRC | 08:32 | |
*** aks has joined #schooltool | 08:49 | |
*** aks has joined #schooltool | 08:49 | |
*** aks has quit IRC | 09:35 | |
*** aks has joined #schooltool | 09:37 | |
*** alga has joined #schooltool | 10:58 | |
*** klausade has joined #schooltool | 11:13 | |
*** alga has quit IRC | 11:41 | |
*** alga has joined #schooltool | 12:23 | |
*** menesis has quit IRC | 13:29 | |
*** aks has quit IRC | 14:19 | |
*** menesis has joined #schooltool | 14:24 | |
*** menesis has quit IRC | 14:57 | |
*** menesis has joined #schooltool | 14:59 | |
*** th1a has joined #schooltool | 16:19 | |
* th1a goes to take a quick shower. | 16:19 | |
th1a | back | 16:31 |
---|---|---|
th1a | hi yvl, menesis, aelkner, repl... | 16:32 |
yvl | hey guys | 16:32 |
aelkner | morning | 16:32 |
*** replaceafill has joined #schooltool | 16:32 | |
menesis | hi | 16:32 |
replaceafill | good morning | 16:32 |
th1a | OK, let's start at a high level today. | 16:33 |
* th1a was just doing a lot of thinking in the shower. | 16:33 | |
*** vastu has joined #schooltool | 16:33 | |
th1a | What led you to naming the new skin "flourish," yvl? | 16:33 |
*** dreich has joined #schooltool | 16:33 | |
yvl | thesaurus :) | 16:33 |
th1a | For... growth? | 16:34 |
*** vastu is now known as pgulley | 16:34 | |
yvl | don't remember now actually, | 16:34 |
yvl | I was searching for a word that could represent all we want to do with SchoolTool | 16:34 |
th1a | What would you guys think about changing the name of SchoolTool to Flourish? | 16:35 |
th1a | Like, for the next release. | 16:35 |
th1a | ? | 16:36 |
aelkner | what's wrong with SChoolTool as a brand? | 16:36 |
yvl | my opinion would be strongly subjective ;) | 16:36 |
aelkner | and what does the word, flourish, have to do with schools? | 16:36 |
th1a | aelkner: We do have this trademark stalemate with schooltool.com | 16:37 |
aelkner | hm | 16:37 |
aelkner | what kind of difficulty has that caused us? | 16:37 |
th1a | More to the point, we're working on new branding in general. | 16:37 |
* yvl had the same thought | 16:37 | |
th1a | And the first drafts of a new logo from Schwa weren't particularly inspiring. | 16:38 |
th1a | But I think we could come up with a Flourish look really easily. | 16:38 |
th1a | A Flourish brand. | 16:38 |
th1a | oh... http://flourishlib.com/ | 16:39 |
th1a | Hm... | 16:39 |
* yvl thinks that their second logo is not that bad | 16:40 | |
th1a | heh http://www.flourishconf.com/2011/ | 16:40 |
th1a | http://floridaflourish.com/ | 16:41 |
th1a | Flourishing is a positive psychology concept that refers to the concept of living in an optimal range of human functioning. | 16:42 |
menesis | https://launchpad.net/flourish | 16:42 |
menesis | and I don't like this name at all | 16:43 |
th1a | lol | 16:43 |
yvl | ... you would think that a word like flourish would be unclaimed by now :))) | 16:43 |
aelkner | +1 on not liking flourish as a name | 16:43 |
yvl | menesis, this brand is awesome! | 16:44 |
th1a | It is relatively un-taken for a single word. | 16:44 |
th1a | I don't like Flourish SIS. | 16:44 |
* yvl too | 16:44 | |
th1a | Flourish... something. | 16:44 |
yvl | Card Flourish: a stage magic term for a visual display of skill. | 16:44 |
yvl | for developers to feel good ;) | 16:45 |
* yvl thinks that if we go with flourish, it should probably stay a single word -- in terms of a brand | 16:46 | |
aelkner | in music, a flourish is the act of adding extra notes to a phrase to make it more ornamental | 16:46 |
aelkner | i still don't see what this has to do with schools | 16:46 |
th1a | We'd need a secondary word for, say, launchpad. | 16:46 |
yvl | true | 16:47 |
th1a | aelkner: Well, you're stuck on a secondary meaning. | 16:47 |
th1a | This would require Mark's approval, of course. | 16:48 |
aelkner | otherwise, to flourish is to prosper | 16:49 |
aelkner | like with a biological organism or population of people | 16:49 |
th1a | That's what we want, aelkner. | 16:50 |
th1a | Our children to flourish. | 16:50 |
yvl | and Flourish as a style of branding is kind of distantly related to Ubuntu style of branding ;) | 16:50 |
yvl | for LP we could go with flourish-school | 16:50 |
th1a | Did you guys get an email with the logo ideas? | 16:50 |
yvl | yes | 16:50 |
replaceafill | yes | 16:50 |
th1a | They were too circle of friends. | 16:51 |
yvl | liked the second one most of all, but can't say I'm extremely thrilled | 16:51 |
th1a | They're too Ubuntu. | 16:51 |
* yvl agrees | 16:52 | |
th1a | I mean, it is an understandable error considering our conversations, so I'm not mortified. | 16:52 |
th1a | Look at the suit icon in the first panel here: http://www.canonical.com/ | 16:52 |
th1a | We could have something kind of like that that said "school" somehow. | 16:53 |
menesis | I like the second logo | 16:53 |
th1a | The magnifying glass? | 16:53 |
th1a | Oh, in Schwa's? | 16:53 |
yvl | no, the one with a teacher "holding" a child | 16:53 |
th1a | Yes, that's the best one. | 16:53 |
th1a | The first looks like biohazard and the third looks like the inquisition. | 16:54 |
yvl | :D | 16:54 |
yvl | fourth is a nice try, but realy -- that's as old as design itself | 16:54 |
menesis | :D | 16:54 |
th1a | But "cuddle" isn't really the brand I want. | 16:55 |
aelkner | how does one sign in to the site to see the pdfs? | 16:55 |
yvl | :D | 16:55 |
th1a | Did you get an invitation to set up an account? | 16:56 |
yvl | from Basecamp | 16:56 |
yvl | some weeks ago | 16:56 |
replaceafill | aelkner the email i got was titled "You're invited to join our project management system" | 16:57 |
th1a | Flourish Baking Company | 16:57 |
aelkner | got it | 16:58 |
th1a | I think that PHP Flourish didn't come up on Google when we started using the name. | 16:59 |
menesis | schoolman.org | 17:00 |
yvl | Google probably thinks that we're talking about that framework a lot :) | 17:00 |
th1a | Trending up! | 17:00 |
th1a | schoolman? | 17:00 |
menesis | for "school management application" | 17:01 |
th1a | I'm trying to get something *more* evocative menesis. | 17:01 |
th1a | OK. | 17:02 |
th1a | So, basically I think I'd need a secondary word even if we usually just called it Flourish. | 17:02 |
th1a | So I'll think about that. | 17:03 |
th1a | And suggest it to Schwa. | 17:03 |
th1a | I am seriously considering this, but I don't consider it particularly likely. | 17:03 |
th1a | OK. | 17:04 |
th1a | Let's look through Justas's response to my pending issues mail. | 17:05 |
th1a | So one thing we need to prioritize is things that will affect translations. | 17:05 |
th1a | Do we have the new jquery calendars anywhere in trunk? | 17:06 |
th1a | Or just in Cambodia? | 17:06 |
yvl | just Cambodia I think | 17:06 |
replaceafill | but Cambodia doesn't need the widget to be translatable to all the languages | 17:06 |
replaceafill | trunk does | 17:07 |
yvl | that's one part of "not 100% straightforward" | 17:07 |
th1a | OK, so even if it isn't everywhere in trunk by next Thursday, it should be *somewhere* in trunk, correct? | 17:07 |
yvl | we won't translate it anyway, I think | 17:07 |
th1a | It is jquery's problem? | 17:08 |
yvl | just use the existing translations - right? | 17:08 |
th1a | Oh... same words? | 17:08 |
yvl | their translations are built in javascript | 17:08 |
yvl | they have some set of languages built-in | 17:08 |
yvl | a lot, actually | 17:09 |
th1a | So... yvl, you can look into that. | 17:11 |
yvl | ok | 17:11 |
th1a | Yes to "Maybe add a school calendar section to the manage (School) view and bring back the Calendar tab for your own calendar." | 17:11 |
th1a | We can fiddle with the school view later. | 17:11 |
yvl | yes | 17:11 |
yvl | one more important thing - we will need to go over everything and make sure texts are translatable | 17:12 |
th1a | Regarding levels, they're really one of the most deeply embedded concepts in any school system. You just don't change them. | 17:12 |
aelkner | th1a, what about a new school? | 17:13 |
* yvl was more interested in how data is bound to them later on | 17:13 | |
aelkner | like with SLA, they only had freshman the first year | 17:13 |
aelkner | also, if a school adds a level as it grows | 17:13 |
th1a | Then add a level. | 17:13 |
aelkner | of if the township changes a middle school to be 6-8 | 17:14 |
th1a | Having unpopulated levels does not hurt. | 17:14 |
aelkner | true | 17:14 |
yvl | like -- track record of how a person advanced over levels over the years | 17:14 |
yvl | Well, anyway -- if you're sure, you're sure. | 17:15 |
th1a | It would only be complicated if a school switched to a completely different system of grade levels, which almost never happens. | 17:16 |
th1a | Anyhow, yes, I want to make the change. | 17:16 |
aelkner | th1a, i was thinking the same thing about the rare switch | 17:17 |
aelkner | would it be a case for setting up a new instance? | 17:17 |
th1a | No. | 17:17 |
aelkner | and perhaps the old data could be imported in | 17:17 |
th1a | At this point I don't think levels DO enough for it to be a big issue. | 17:18 |
aelkner | but a switch is not possible if it means removing a level | 17:18 |
th1a | You never need to remove one. | 17:18 |
aelkner | i'm speaking to the switch case you just brought up | 17:18 |
aelkner | if 6-8 turns to 9-12? | 17:18 |
th1a | Are they a sequence now? | 17:19 |
aelkner | it's a list, right? | 17:19 |
th1a | Unused levels are not a problem. | 17:19 |
aelkner | ah, so 6-8 becomes 6-12 | 17:19 |
th1a | At WORST, we'd need to allow multiple sequences. That's it. | 17:19 |
th1a | OK, moving on. | 17:19 |
th1a | So, yvl, what did you work on today? | 17:21 |
yvl | ok... | 17:22 |
yvl | oh, and the Fri report | 17:22 |
yvl | Friday: | 17:22 |
yvl | a lot of breadcrumbs, including "server" | 17:23 |
yvl | and some small tweaks you asked me to do | 17:23 |
yvl | today: | 17:23 |
yvl | overlaid calendar selection | 17:23 |
yvl | some other calendaring tweaks | 17:24 |
yvl | found one more forgotten resource booking view -- fixed | 17:24 |
yvl | now making ttwizard look... well like the rest of the app | 17:24 |
yvl | that's it. | 17:25 |
yvl | oh, and for developers - breadcrumb metadirectives are now upgraded a bit | 17:26 |
yvl | just look for flourish:breadcrumb and flourish:page_breadcrumbs all over the core | 17:26 |
replaceafill | yvl i had an issue with page_breadcrumbs, i guess i just need to learn how to use it :) | 17:28 |
replaceafill | http://69.164.203.135:6660/errors | 17:28 |
replaceafill | btw, yvl another question of mine (sorry for interrupting your report) | 17:28 |
replaceafill | is it ok if we change the errrors view to live under /errors | 17:29 |
replaceafill | it used to be: /++etc++site/default/RootErrorReportingUtility | 17:29 |
yvl | fine by me ;) | 17:29 |
replaceafill | kk | 17:29 |
th1a | So take a look at evolution next. | 17:30 |
th1a | That's definitely a blocker for a preliminary release. | 17:30 |
th1a | I guess we should just shoot for beta1 after we do a string freeze next Thursday. | 17:31 |
yvl | th1a - please send me the db :) | 17:31 |
th1a | You should have it. | 17:31 |
th1a | I sent it during the meeting. | 17:31 |
aelkner | i had breadcrumb issues that lead me to create breadcrumb classes | 17:31 |
* yvl just checked mail | 17:31 | |
aelkner | yvl, did you see that change? | 17:31 |
yvl | got it, thanks | 17:31 |
yvl | no, aelkner | 17:32 |
aelkner | i should find the revision a sec... | 17:32 |
yvl | was a bit busy with, well, breadcrumbs ;) | 17:32 |
aelkner | http://bazaar.launchpad.net/~aelkner/schooltool.gradebook/flourish/revision/327 | 17:32 |
aelkner | i needed a breadcrumb class that would simply pass along to the parent | 17:32 |
aelkner | because i needed IActivities to be the context that created the Gradebook breadcrumb | 17:33 |
aelkner | because there are many levels of contexts | 17:33 |
aelkner | IActivities, IWorksheet, IGradebook | 17:33 |
yvl | hmm, breadcrumbs are wildly undocumented at this point | 17:34 |
aelkner | IActivities/addActivity needed to yield Gradebook -> New Activity | 17:34 |
aelkner | well, i groked it by looking at the code | 17:34 |
aelkner | and sub-classing it | 17:35 |
yvl | ... and the code got upgraded recently :) | 17:35 |
aelkner | yes, so i need to regrok it | 17:35 |
replaceafill | in my case the problem is that i get Server >> Errors successfully, but i can't get Server >> Errors >> foobar | 17:35 |
yvl | but thanks aelkner, good to hear that code is readable | 17:35 |
aelkner | and perhaps even change my subclasses | 17:35 |
yvl | ok, let's go over this after the meeting | 17:35 |
replaceafill | all of them being on views of ISchoolToolApplication | 17:35 |
th1a | OK. | 17:37 |
th1a | Thanks yvl. | 17:37 |
th1a | menesis: So after next Thursday the top priority is getting new translations up for people. And then an early beta out. | 17:38 |
th1a | Unless you want to put out an alpha first. | 17:39 |
menesis | translations of the new skin... | 17:40 |
menesis | will look into that | 17:40 |
th1a | OK. Thanks menesis. | 17:41 |
th1a | aelkner? | 17:41 |
aelkner | i added a number of views to the intervention package, not worrying at first about style issues | 17:41 |
aelkner | but wiring the templates to work with the new flourish view classes | 17:42 |
aelkner | and being that we are using z3c in all our new views | 17:42 |
aelkner | i needed to create a z3c version of AddMessage | 17:42 |
aelkner | and had to grok how to create a z3c field widget for the email person list widget | 17:43 |
aelkner | i got it to display, but it fails on submit | 17:43 |
aelkner | i private chatted yvl so as not to interrupt the flow of our meeting | 17:43 |
aelkner | perhaps he will have a chance to figure out the widget error by his day's end | 17:44 |
aelkner | but we could go over cosmetics, too, so here's the link: | 17:44 |
aelkner | as always, jelkner:jelkner | 17:44 |
aelkner | http://69.164.203.135:36660/persons/jelkner/intervention_tab | 17:44 |
aelkner | i put Search Students as you asked | 17:45 |
aelkner | the search view works | 17:45 |
aelkner | if you click on a student, you get to the student intervention view | 17:45 |
aelkner | you will have many suggestions for changing that form, but i thought the sidebar would be good for | 17:46 |
aelkner | adding messages, goals an status messages | 17:46 |
aelkner | but we could also change the Add Message link in the form to be a + icon | 17:46 |
th1a | Make the inbox view look more like People. | 17:47 |
aelkner | yes, i alrady had that in mind | 17:47 |
aelkner | i was looking at them side by side | 17:47 |
th1a | Make the search students view look more like people too. | 17:47 |
aelkner | yep | 17:47 |
aelkner | the tricky one s the student intervention view | 17:48 |
aelkner | also, any suggestions for the title/subtitle pairs for these views? | 17:48 |
th1a | I don't think you need the name in the content area if it is the subtitle, which seems fine. | 17:48 |
th1a | Put the year in the sidebar like gradebook. | 17:49 |
aelkner | ah | 17:49 |
aelkner | cool | 17:49 |
th1a | And can the sub-sections look like tables rather than forms? | 17:49 |
th1a | The form boxes are rather heavy. | 17:49 |
aelkner | definitely i like the way the tables are a consisten way the user sees our data now | 17:50 |
th1a | It is a big improvement. | 17:51 |
aelkner | funny thing is i only used fieldsets because of the whole css support in the old skin | 17:51 |
aelkner | there isn't actually a FORM to submit | 17:51 |
th1a | Just make them tables. | 17:51 |
aelkner | tables makes a lot more sense | 17:52 |
th1a | And use add icons. | 17:52 |
th1a | What does "View All Messages" etc. do? | 17:52 |
aelkner | that's another view which i haven't made yet that shows all messages in one long view | 17:52 |
aelkner | erhaps one table for each message? | 17:52 |
th1a | Could that just say More... | 17:52 |
aelkner | since our table css is so nice now | 17:53 |
aelkner | More... s better link name | 17:53 |
th1a | Um... I'd have to see it. | 17:53 |
th1a | A giant cell for the message? | 17:53 |
aelkner | yeah, i haven't looked yet so we can look tomorrow | 17:54 |
aelkner | or i could look at it first today and talk to you later today | 17:55 |
th1a | I think it can just look like subheaders and paragraphs. | 17:55 |
aelkner | ah, we have the css set up for that | 17:56 |
th1a | It doesn't need a lot of lines, just clean formatting, which should be easy if our styles are finally straight. | 17:56 |
aelkner | replaceafill, what is it, h2 or h3? | 17:56 |
replaceafill | aelkner hm? | 17:56 |
aelkner | th1a, when you said subheader, were you referring to table still | 17:57 |
th1a | No. | 17:57 |
aelkner | sorry, i got confused thinking you meant to go in another direction | 17:57 |
th1a | If we're talking about a list of actual message texts. | 17:57 |
aelkner | like h3, p, h3, p, etcv. | 17:57 |
aelkner | each h3 (or h2) would be the subheading you refer to, right? | 17:58 |
th1a | If we're talking about essentially an "inbox" view with titles, dates, etc., then a table. | 17:58 |
aelkner | replaceafill, do you have an old skin instance running on the demo server? | 17:58 |
aelkner | with intervention? | 17:58 |
th1a | If we're talking about messages, then it should look like text, not jammed in boxes. | 17:58 |
replaceafill | aelkner yes, but no data | 17:59 |
replaceafill | aelkner http://69.164.203.135:9990/calendar | 17:59 |
th1a | LIke this? http://localhost:7080/schooltool.interventions/2009-2010/cbrown/messages/allMessages.html | 18:00 |
th1a | I'm saying that for that view ^ we don't need boxes in boxes in boxes. | 18:00 |
th1a | Or really even lines. | 18:00 |
th1a | If the styles are working correctly. | 18:01 |
aelkner | there's a message sent by, a recipients list and a body | 18:02 |
aelkner | would it be h3 for the message sent by, <p> forthe other two | 18:03 |
th1a | We can fine tune it. Just on the first pass try to only use text styles. | 18:03 |
th1a | Yes. | 18:03 |
aelkner | ok, i'll do that then | 18:03 |
aelkner | replaceafill, is it h3 or h2? | 18:03 |
replaceafill | aelkner we usually use h3 | 18:04 |
aelkner | ok | 18:04 |
th1a | OK, thanks aelkner. | 18:04 |
th1a | replaceafill? | 18:04 |
replaceafill | th1a http://69.164.203.135:6660/errors-configure.html | 18:04 |
replaceafill | i made the changes you suggested to /errors | 18:05 |
replaceafill | today i'm fixing the gap issue in the gradebook/journal | 18:05 |
replaceafill | th1a can we style the add/edit term forms today? | 18:06 |
th1a | Probably. | 18:06 |
th1a | I have an appointment at the Apple Store Genius Bar at 2:00 PM ;-) | 18:06 |
replaceafill | :| | 18:06 |
th1a | My iMac has a shadow in its screen. | 18:06 |
replaceafill | ah ok | 18:06 |
replaceafill | or tomorrow, that's fine | 18:06 |
replaceafill | it's just in my TODO | 18:06 |
replaceafill | th1a i think i'll finish my gradebook/journal queue today | 18:07 |
th1a | Excellent. | 18:08 |
replaceafill | should i jump to the gradebook report sheet views? | 18:08 |
th1a | Yes. | 18:08 |
replaceafill | i mean, management views? | 18:08 |
replaceafill | ah ok, will do | 18:08 |
replaceafill | i'll ask yvl a couple of things after the meeting | 18:08 |
th1a | OK. Thanks. You can ask him now. | 18:08 |
* th1a drops the bag of gravel. | 18:08 | |
replaceafill | yvl http://69.164.203.135:6660/errors | 18:09 |
yvl | looking | 18:09 |
replaceafill | so, as i was saying, the breadcrumbs here work well | 18:09 |
replaceafill | click on Settings | 18:09 |
replaceafill | i couldn't find a way to make the breadcrumbs on the settings form: Server >> Errors >> Error Settings | 18:09 |
yvl | ah! | 18:10 |
replaceafill | is it possible? | 18:10 |
replaceafill | i mean, all the views are on the same context | 18:10 |
replaceafill | is that the problem? | 18:10 |
yvl | yes, but it's quite work-aroundable :) | 18:11 |
replaceafill | :D | 18:11 |
aelkner | i worked around things by subclassing | 18:11 |
aelkner | yvl, is that the way to do it? | 18:11 |
yvl | from Fri, no :) | 18:11 |
aelkner | i have to look over your new changes now | 18:12 |
yvl | ok, first replaceafill | 18:12 |
yvl | let me find your breadcrumb code... | 18:12 |
* replaceafill listens | 18:12 | |
replaceafill | it's mostly zcml | 18:12 |
replaceafill | app/browser/app/flourish.zcml | 18:12 |
replaceafill | i defined a breadcrumb class for Errors, but i was getting an error about 'property + list | 18:13 |
replaceafill | in the base breadcrumbs method | 18:13 |
yvl | that's the way to go | 18:13 |
yvl | you want to add more than one breadcrumb for same context | 18:13 |
yvl | you have two options here: | 18:13 |
yvl | 1) inherit from Breadcrumbs and in your breadcrumbs property put more than one BreadCrumbInfo | 18:14 |
yvl | basically copy the Breadcrumbs.breadcrumbs property | 18:14 |
yvl | 2) again, make some Breadcrumbs class, and set it as follow_crumb in zcml | 18:15 |
replaceafill | ok, since i don't want to keep you for long, i'll go with 2) again and show you the code with the error tomorrow | 18:16 |
yvl | you can also set your follow_crumb in the inherited class to whatever | 18:17 |
replaceafill | it needs to be a list with classes, correct? | 18:17 |
yvl | a list with instances | 18:18 |
yvl | of BreadCrumbInfo | 18:18 |
replaceafill | :| | 18:18 |
yvl | [BreadCrumbInfo(title, url), BreadCrumbInfo(another_title, another_url)] | 18:18 |
replaceafill | ah! | 18:19 |
replaceafill | ok, i didnt do that | 18:19 |
replaceafill | i'll try it | 18:19 |
replaceafill | last question | 18:19 |
replaceafill | what is it crumb_parent for? | 18:19 |
aelkner | that answers my question about how to fix gradebook breadcrumbs, too :) | 18:19 |
yvl | ah :) | 18:19 |
yvl | basically there are some interesting things configurable from zcml: | 18:20 |
aelkner | yeah, i was wondering why crumb_parent didn't seem to get followed | 18:20 |
yvl | title - if you set a breadcrumb's title="" it will be hidden, but parent breadcrumbs will be displayed as normal | 18:20 |
yvl | crumb_parent - a quick way to specify "the rest of parent" breadcrumbs | 18:20 |
yvl | say, you have an adapter for IActivity that returns IGradebook | 18:21 |
yvl | and you have a breadcrumb for IActivity | 18:21 |
yvl | you can do: | 18:21 |
yvl | (in zcml) | 18:21 |
yvl | crumb_parent="something.interfaces.IGradebook" | 18:21 |
aelkner | what about __parent__? | 18:21 |
aelkner | isn't that what crumb_parent uses? | 18:22 |
aelkner | by default, i mean | 18:22 |
yvl | yes, that's the default | 18:22 |
aelkner | so, the parent of IAcitivies is ISeciton | 18:22 |
yvl | yes | 18:22 |
yvl | but you can override that | 18:22 |
aelkner | no, i wanted it | 18:22 |
yvl | you can even write a function: | 18:23 |
aelkner | but it didn't seem to follow he parent | 18:23 |
yvl | def getGradebookFromActivity | 18:23 |
aelkner | it stopped at IAcitivites for some reason | 18:23 |
yvl | and set crumb_parent="my_module.getGradebookFromActivity" | 18:23 |
yvl | ah! | 18:23 |
aelkner | yvl, it's IWorksheet -> IGradebook, fyi | 18:23 |
yvl | thanks :) | 18:23 |
yvl | there are no breadcrumbs defined by default for objects | 18:23 |
yvl | that's an explicit design decision | 18:24 |
yvl | so if IActivity has no breadcrumb, the chain stops there | 18:24 |
aelkner | IActivities does | 18:24 |
yvl | then the chain continues | 18:24 |
aelkner | that's the container of IWroksetts | 18:24 |
aelkner | but it deosn't, that's the problem | 18:24 |
aelkner | i would expect to get breadcrumbs for ISection, ITerm, ISchoolyear | 18:25 |
aelkner | just becuase the __parent__ is in place | 18:25 |
aelkner | but it stops at IAcitivites | 18:25 |
aelkner | for some reason, i need to pdb it | 18:25 |
yvl | hmm, let's talk real code :) | 18:25 |
yvl | you have it pushed to trunk, yes? | 18:25 |
aelkner | the gradebook stuff, yes | 18:26 |
aelkner | the intervention is still just my branch, is that ok? | 18:26 |
yvl | that's ok | 18:26 |
yvl | pulling gradebook... | 18:26 |
aelkner | i'm curious about your comments on my subclasses | 18:27 |
aelkner | for instance, since the heirarchy for objects is: | 18:27 |
aelkner | ISection, IAcitivities, IWorksheet, IGradebook (or IActivity) | 18:27 |
yvl | ok, first - if you want to skip a breadcrumb, just set title="" | 18:28 |
yvl | no need to subclass | 18:28 |
aelkner | i decided to just make IAcitivities be the context for the Gradebook breadcrumb | 18:28 |
aelkner | ah, so that's what you meant before, cool | 18:28 |
replaceafill | title - if you set a breadcrumb's title="" it will be hidden, but parent breadcrumbs will be displayed as normal | 18:28 |
replaceafill | that's "if you dont set a..." | 18:28 |
replaceafill | right? | 18:28 |
aelkner | yes, it makes more sense now | 18:29 |
replaceafill | got confused for a moment :P | 18:29 |
yvl | yes :) | 18:29 |
yvl | sorry for confusion | 18:30 |
aelkner | yvl, but i do need the subclass for the IActivites breadcrumb | 18:30 |
aelkner | though maybe link = '//.gradebook' would work to get to the sections gradedbook? | 18:31 |
aelkner | i meant link = "../gradebook' | 18:31 |
yvl | ah, I think I found why it's not working | 18:31 |
aelkner | yes? | 18:32 |
yvl | sorry, no, I haven't | 18:32 |
aelkner | :) | 18:32 |
*** jelkner has joined #schooltool | 18:32 | |
yvl | it's the hacky zope.container.contained.contained of course | 18:32 |
aelkner | can link be overriden in zcml? | 18:32 |
yvl | well, no | 18:33 |
yvl | but a little bit yes | 18:33 |
aelkner | so i did need that subclass, right? | 18:33 |
yvl | yes | 18:33 |
aelkner | ah, ok | 18:33 |
yvl | I should have expanded zcml metadirective to do that, but... | 18:33 |
aelkner | but what do you mean a little bit? | 18:33 |
yvl | you can specify relative links, but that is really dangerous | 18:34 |
yvl | i.e. don't be surprised if it works for some reason, but don't be surprised if it breaks later | 18:35 |
aelkner | that's what automated tests are for :) | 18:35 |
yvl | and I will change that behaviour as soon as I can :/ | 18:36 |
yvl | btw | 18:36 |
yvl | I'm running an instance with latest gradebook | 18:36 |
yvl | breadcrumbs seem to work? | 18:36 |
yvl | * School | 18:36 |
yvl | * Sections | 18:36 |
yvl | * Blasphemy (1) | 18:36 |
yvl | * Gradebook | 18:36 |
yvl | * Edit | 18:36 |
yvl | @ schoolyears/2010/2010/sections/1/activities/Worksheet/edit.html | 18:37 |
aelkner | yay | 18:37 |
aelkner | you fixed them! | 18:37 |
aelkner | thanks, yvl | 18:37 |
yvl | well, you see - sections did not have breadcrumbs earlier, so... :) | 18:37 |
yvl | or something :D | 18:37 |
aelkner | :) | 18:38 |
aelkner | anyway, nice that it works | 18:38 |
yvl | in any case | 18:38 |
yvl | fell free to play around with them :) | 18:39 |
replaceafill | yvl could you check schooltool.app.browser.app.ErrorsBreadcrumb? (i did define the class for the "Errors" breadcrumb) | 18:39 |
replaceafill | i thought i hadn't | 18:39 |
replaceafill | <flourish:page_breadcrumbs | | 18:40 |
replaceafill | view="schooltool.app.browser.app.FlourishErrorsView" | @property | 18:40 |
replaceafill | class="schooltool.app.browser.app.ErrorsBreadcrumb" | def crumb_parent(self): | 18:40 |
replaceafill | follow_crumb="schooltool.app.browser.app.ManageSiteBreadcrumb" | if getattr(self.context, '__parent__', None) is None: | 18:40 |
replaceafill | /> | 18:40 |
replaceafill | oops, sorry | 18:40 |
yvl | I found it | 18:40 |
replaceafill | why doesn't get to Server when i visit the configure form? | 18:41 |
replaceafill | i have the zcml for ErrorsBreadcrumb with follow_crumb to the ManageSite breadcrumb | 18:41 |
yvl | ah | 18:42 |
yvl | because you specified it for a specific view, I gues | 18:42 |
replaceafill | duh! | 18:42 |
replaceafill | :D | 18:42 |
yvl | hmm | 18:42 |
yvl | you should hack-in the follow_crumb directly in the ErrorsBreadcrumb | 18:43 |
yvl | as a property | 18:43 |
replaceafill | ah ok | 18:43 |
yvl | returning ManageSiteBreadcrumb(self.context, self.request, self.view) | 18:43 |
replaceafill | ah ok, will try that | 18:44 |
aelkner | yvl, do you think you'll have a chance to pdb that intervention widget? | 18:45 |
yvl | doing it already :) | 18:45 |
aelkner | you're so handy :) | 18:46 |
replaceafill | yvl it worked!!! | 18:46 |
replaceafill | http://69.164.203.135:6660/errors-configure.html | 18:46 |
yvl | yay :) | 18:46 |
replaceafill | so, dont mix classes with zcml :) | 18:46 |
replaceafill | thanks yvl! | 18:46 |
yvl | well, you were simply specifying a different thing there: | 18:47 |
replaceafill | ah | 18:47 |
yvl | zcml was saying: | 18:47 |
yvl | when rendering errors page, start with it's title, then follow that breadcrumb | 18:47 |
yvl | (and you can add show_page_title="false" to page_breadcrumbs by the way) | 18:48 |
yvl | and errors breadcrumb (used for other pages) was saying: | 18:49 |
yvl | hey, I'm ISchoolToolApp I has no parent so I'm root | 18:49 |
replaceafill | :D | 18:49 |
aelkner | yvl, btw, it's great having you back! | 18:59 |
yvl | good to be back, aelkner :) | 18:59 |
aelkner | replaceafill, i snuck in another commit to the gradebook, pushed to trunk | 19:00 |
replaceafill | ok | 19:00 |
replaceafill | just pushed the Errors breadcrumb fix to trunk | 19:01 |
*** jelkner has quit IRC | 19:08 | |
yvl | doh :) | 19:10 |
aelkner | yvl? | 19:11 |
yvl | a moment... | 19:11 |
yvl | add this: | 19:11 |
yvl | <zope:class class=".widgets.PersonListZ3CFormWidget"> | 19:11 |
yvl | <require | 19:11 |
yvl | permission="zope.Public" | 19:11 |
yvl | interface="z3c.form.interfaces.IWidget" | 19:11 |
yvl | /> | 19:11 |
yvl | </zope:class> | 19:11 |
yvl | to flourish.zcml in interventions browser | 19:11 |
yvl | damn, how I missed it? Getting tired probably :/ | 19:12 |
aelkner | :) | 19:12 |
replaceafill | th1a zyt? | 19:12 |
* th1a is looking at tld's. | 19:12 | |
aelkner | i thought it was somting like that, a permission registration | 19:12 |
th1a | flouri.sh | 19:12 |
th1a | ;-) | 19:12 |
replaceafill | th1a :D | 19:12 |
replaceafill | th1a can i spend a couple of hours in the afternoon working with the pyquiz developer? | 19:13 |
th1a | yes. | 19:13 |
replaceafill | th1a great | 19:13 |
yvl | aelkner, if that works, I could... well, go home :) | 19:14 |
th1a | I don't think we could get an .edu domain. | 19:15 |
aelkner | yvl, that solves the permission issue, yes, now i have to get it to know that i clicked something :) | 19:16 |
aelkner | but thanks a ton for the solution | 19:17 |
yvl | you're welcome | 19:18 |
yvl | good luck, guys! | 19:18 |
aelkner | ans yes, i release you :) | 19:18 |
yvl | :D | 19:18 |
aelkner | thanks again, cya | 19:18 |
th1a | You know, it would be awesome if in the group add view you could filter by groups from other years. | 19:33 |
replaceafill | in the "group add view"? | 19:35 |
th1a | er, group membership edit | 19:35 |
th1a | whatever you call it. | 19:36 |
replaceafill | with tertiary navs :) | 19:37 |
th1a | Basically so if you forgot to bring across last year's students, you could just search for last year's and select all. | 19:38 |
replaceafill | ah, i was looking at person's group memberships | 19:39 |
replaceafill | but you meant members_persons.html | 19:39 |
replaceafill | or maybe not... | 19:40 |
* replaceafill is confused with all the memberships! | 19:40 | |
th1a | Oh... | 19:41 |
th1a | I'm looking at the old http://localhost:7080/schoolyears/2009-2010/groups/students/@@members_persons.html | 19:42 |
*** alga has quit IRC | 19:49 | |
*** menesis has quit IRC | 19:52 | |
dreich | replaceafill, I'm going to start working on tests for pyquiz soon | 21:40 |
dreich | not right now, actually, but I thought i'd ask if there was any documentation I should look at beyond https://docs.pylonsproject.org/projects/pyramid/dev/narr/testing.html | 21:41 |
replaceafill | for unit testing maybe nose documentation, for functional tests look for webtest | 21:41 |
replaceafill | that's what the buildout uses | 21:42 |
dreich | ok | 21:42 |
replaceafill | there's also the nose-cov plugin | 21:42 |
replaceafill | which is enabled by default in the buildout | 21:42 |
replaceafill | so when you run the tests you get the summary with coverage info | 21:42 |
dreich | alright | 21:43 |
replaceafill | and for webtest there's a dummy example in the test.py module :) | 21:43 |
replaceafill | using xpath for testing | 21:43 |
dreich | right, jamie had some old ones that are apparently broken as well | 21:44 |
replaceafill | since you're not using the pyramid default skin, they should | 21:44 |
dreich | yeah, ok | 21:44 |
dreich | great, i think that's enough to get me started at least | 21:45 |
dreich | I might bother you with some more specific questions once I actually start on it | 21:45 |
dreich | but thanks a lot! | 21:45 |
replaceafill | np | 21:45 |
replaceafill | ah, and look for lxml too | 21:45 |
replaceafill | for xpath examples | 21:45 |
dreich | k | 21:46 |
* replaceafill goes to get lunch | 22:12 | |
*** pgulley has quit IRC | 22:19 | |
*** dreich has quit IRC | 22:20 | |
*** replaceafill has quit IRC | 23:13 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!