*** th1a has quit IRC | 00:15 | |
*** menesis has quit IRC | 00:37 | |
*** ignas has joined #schooltool | 01:42 | |
*** ignas has quit IRC | 02:07 | |
*** replaceafill has quit IRC | 02:59 | |
*** th1a has joined #schooltool | 07:15 | |
*** yvl has joined #schooltool | 07:59 | |
*** th1a has quit IRC | 08:37 | |
*** paulproteus has quit IRC | 08:43 | |
*** paulproteus has joined #schooltool | 08:46 | |
*** menesis has joined #schooltool | 09:34 | |
*** menesis has quit IRC | 10:57 | |
*** menesis has joined #schooltool | 11:11 | |
*** menesis has quit IRC | 12:33 | |
*** menesis has joined #schooltool | 13:19 | |
*** replaceafill has joined #schooltool | 15:26 | |
replaceafill | yvl, you around? | 15:26 |
---|---|---|
yvl | yes | 16:15 |
yvl | hi replaceafill | 16:15 |
replaceafill | hey yvl | 16:15 |
yvl | sorry, was coding, didn't notice IRC :| | 16:16 |
replaceafill | i have a catalog question | 16:16 |
replaceafill | :) | 16:16 |
replaceafill | np | 16:16 |
replaceafill | i'm adding search for skills for the projects gradebook | 16:16 |
replaceafill | and i was thinking of using a catalog for searching skills | 16:16 |
replaceafill | however skills are contained inside skillsets | 16:16 |
replaceafill | which makes a single catalog not useful | 16:17 |
yvl | why? | 16:17 |
replaceafill | because i'd need to access the skillset in order to use the catalog | 16:18 |
replaceafill | like ICatalog(skillset) | 16:18 |
replaceafill | correct? | 16:18 |
replaceafill | my point is, skills are not stored in a single container | 16:18 |
replaceafill | so the add and modified events wouldn't fire for a single container | 16:19 |
yvl | I can't recall how much of what I wanted is actually developed | 16:19 |
yvl | but you don't need to access the skillset | 16:19 |
replaceafill | i could attach the catalog to the skillsetcontainer? | 16:20 |
yvl | if a skill is added or modified it (shouldn't) matter where it is added/modified to | 16:20 |
yvl | yes | 16:20 |
replaceafill | and it would find the skills? | 16:20 |
yvl | need to test / look | 16:20 |
yvl | gimme a sec :) | 16:20 |
replaceafill | ok | 16:21 |
replaceafill | i checked zope.catalog and i think it looks inside the container you registered the catalog for | 16:22 |
yvl | hmm | 16:22 |
yvl | you can catalog ISkill simply | 16:22 |
yvl | inherit from AttributeCatalog | 16:23 |
replaceafill | ah ok, that's what i've done :) | 16:23 |
replaceafill | but haven't tested it yet | 16:23 |
replaceafill | (coding the view) | 16:23 |
yvl | and like PersonCatalog does, use setIndexes to also add indexes for skillset titles or whatever you need | 16:23 |
replaceafill | but the registration made me doubt | 16:23 |
replaceafill | yes, i added a text index + attributes | 16:24 |
yvl | see ContactCatalog for example | 16:24 |
yvl | contacts live in many places :) | 16:24 |
replaceafill | ah?!?! | 16:25 |
replaceafill | i thought they were only in a single container | 16:25 |
yvl | (bound contacts ;) ) | 16:25 |
replaceafill | ah damn! | 16:25 |
yvl | ;) | 16:25 |
replaceafill | hmm | 16:25 |
replaceafill | i thought they lived in the same container, and we only used a traverser for attaching them to the person! | 16:26 |
yvl | so the only problem is that for some reason the skill catalog would not be updated when skillsets are modified or something | 16:26 |
yvl | you'll have to test such cases | 16:26 |
replaceafill | ah got it | 16:26 |
yvl | or maybe something that implements ISkill is cataloged and you don't want that for some reason | 16:27 |
yvl | bound contacts live in person annotations btw | 16:27 |
replaceafill | so when i add a skillset (containing skills), those skills wont be registered | 16:27 |
* yvl shrugs | 16:27 | |
replaceafill | :) | 16:27 |
replaceafill | i'll try it and let you know tomorrow | 16:28 |
yvl | thanks man | 16:28 |
replaceafill | thank *you* :) | 16:28 |
yvl | really, those are sometimes tricky, I can't give a definite answer without actually testing | 16:28 |
yvl | (because I often forget something) | 16:28 |
replaceafill | i think we'll need a "special" subscriber, but we'll see | 16:29 |
replaceafill | maybe it works out of the box ;) | 16:29 |
* yvl keeps his fingers crossed ;) | 16:30 | |
replaceafill | :D | 16:30 |
yvl | oh, and try out selenium downloads some time | 16:30 |
yvl | they | 16:30 |
yvl | they'rrrrrre fun! :D | 16:30 |
replaceafill | do they only work for xls and txt? | 16:31 |
replaceafill | could i download a pdf? :) | 16:31 |
yvl | yes | 16:31 |
yvl | unless you want to test something else and know how to do it ;) | 16:31 |
yvl | wait | 16:31 |
yvl | yes | 16:31 |
yvl | yes, you can download | 16:31 |
yvl | but you'll use dnld = downloads.get() | 16:32 |
replaceafill | ah cool, i'd just want to make sure the request dialogs work :) | 16:32 |
replaceafill | ah ok | 16:32 |
yvl | and then do something with dnld.filename or dnld.path | 16:32 |
yvl | .read just automatically does xlrd.open_workbook for XLS | 16:32 |
replaceafill | ah got it | 16:33 |
yvl | also, I'm thinking to add default filename parameter for browser.screenshot, like name='screenshot' | 16:33 |
replaceafill | that's another feature i need to test :) | 16:33 |
yvl | when running in headless, doing manager.screenshot('what') is priceless | 16:33 |
replaceafill | haven't used it yet | 16:33 |
yvl | (in -D mode at least) | 16:34 |
*** th1a has joined #schooltool | 16:35 | |
th1a | yvl: ayt? | 16:40 |
yvl | yes, th1a | 17:03 |
th1a | Can you ask Živilė about your invoice. She included the airfare to portugal on it again and it should have been paid last month. | 17:04 |
yvl | oh, ok | 17:06 |
*** ignas has joined #schooltool | 17:57 | |
*** paulproteus has quit IRC | 19:04 | |
*** paulproteus has joined #schooltool | 19:05 | |
replaceafill | th1a, zyt? | 19:08 |
th1a | y | 19:08 |
replaceafill | as teacher001 | 19:08 |
replaceafill | http://69.164.203.135:6660/schoolyears/2011-2012/2012-spring/sections/1/projects/Project/addSkillBrowse.html | 19:08 |
replaceafill | note the XXXs :) | 19:09 |
replaceafill | the third-nav has two options, browse & select (default from the projects gradebook) and create new skill | 19:10 |
th1a | How are the search results proritized? | 19:12 |
replaceafill | they're not sorted right now | 19:13 |
th1a | teacher001 doesn't have permission to view the skills. | 19:13 |
replaceafill | it's the sorting from the catalog results | 19:13 |
replaceafill | right | 19:13 |
th1a | I'd prioritize title over description. | 19:13 |
th1a | label > title > description | 19:13 |
replaceafill | ah ok | 19:14 |
replaceafill | so, the teacher should be able to go to the skill, and back here? | 19:16 |
replaceafill | i was thinking on some kind of popup with that info | 19:16 |
replaceafill | hover box or something | 19:16 |
th1a | I've been seeing this view as more the launchpad for navigation. | 19:16 |
replaceafill | ah | 19:16 |
th1a | But... that's just imagining without really walking through it. | 19:16 |
replaceafill | you want to use it for /skills? | 19:17 |
th1a | Maybe. | 19:17 |
replaceafill | ah ok | 19:17 |
th1a | Anyhow, a teacher should be able to see all the skills, so those links should work. | 19:17 |
replaceafill | ok | 19:18 |
th1a | (that is, the basic permissions may be wrong here) | 19:18 |
replaceafill | i think so | 19:18 |
replaceafill | a problem we have right now is that the catalog is indexing all skills, including the ones created just for projects | 19:20 |
*** ignas has quit IRC | 19:20 | |
th1a | Well... let's not get hung up on that at the moment. | 19:21 |
th1a | One thing to add is filter by level. | 19:21 |
replaceafill | ah | 19:21 |
replaceafill | like groups in the person search | 19:21 |
th1a | Yes. | 19:21 |
replaceafill | dropdown below the searchbox | 19:21 |
th1a | Yes. | 19:21 |
replaceafill | what should the dropdown contain? first level in the layers hierarchy? | 19:22 |
replaceafill | (i don't know the right names for the hierarchy btw) :) | 19:23 |
th1a | Let's start with All levels and the node levels. | 19:23 |
th1a | (that is, not skillsets and skills) | 19:23 |
replaceafill | ah ok | 19:24 |
replaceafill | i'll add that next then | 19:25 |
replaceafill | what about the XXXs | 19:25 |
th1a | Maybe we should just separate browsing and searching. | 19:27 |
* replaceafill just realized this is not browsing ;) | 19:27 | |
th1a | So call it Search Skills and we'll add another tab for browsing. | 19:29 |
replaceafill | ok | 19:29 |
th1a | People may like this better anyhow. | 19:29 |
th1a | And let's add a popup for the details. | 19:29 |
replaceafill | true | 19:29 |
replaceafill | ok | 19:29 |
replaceafill | thanks th1a | 19:29 |
*** menesis has quit IRC | 20:01 | |
*** pigeonflight has quit IRC | 20:18 | |
replaceafill | th1a, http://69.164.203.135:6660/schoolyears/2011-2012/2012-spring/sections/1/projects/Project/addSkillBrowse.html | 21:29 |
replaceafill | added the Filter by... dropdown | 21:29 |
th1a | Ah... that's not what I meant at all. :-D | 21:30 |
*** menesis has joined #schooltool | 21:30 | |
th1a | Filter by level. | 21:30 |
replaceafill | ah you meant layers? | 21:31 |
replaceafill | i understood nodes | 21:31 |
th1a | LAYERS! | 21:31 |
th1a | Sorry. | 21:31 |
replaceafill | np | 21:31 |
replaceafill | ok, changing | 21:31 |
th1a | Should be easy enough. | 21:32 |
* replaceafill is trying to understand what's the benefit of searching skills by layers... | 21:34 | |
replaceafill | i'm definitely missing something... | 21:34 |
th1a | Welsh just wants to search courses. | 21:34 |
th1a | "courses" in the skill tree. | 21:35 |
replaceafill | but this form searches "skills" | 21:35 |
replaceafill | inside something (the filter by...) | 21:35 |
replaceafill | so the filter by should present the nodes in the "Course" layer | 21:36 |
th1a | Yes. | 21:36 |
th1a | Basically there can be a lot of repetition within a branch of the tree. | 21:37 |
th1a | "Automotive" may give you 50 things at different levels. | 21:37 |
replaceafill | right | 21:37 |
replaceafill | but looking for the "Course" layer sounds "hardcoded" | 21:38 |
th1a | No... | 21:40 |
th1a | You have a drop-down with all the layers in the system, pick one. | 21:40 |
th1a | "course" is just a layer. | 21:40 |
replaceafill | yes | 21:40 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!