th1a | How does a document know its children? | 00:00 |
---|---|---|
replaceafill | and the document is just another node | 00:00 |
th1a | OK. | 00:00 |
th1a | So... | 00:00 |
replaceafill | a special node, because knows the hierarchy btw | 00:00 |
th1a | It knows the hierarchy, but what we're not seeing in the spreadsheet is that it knows its children, even if they're skillsets. | 00:00 |
replaceafill | no, nodes cannot have skillsets as childrens | 00:01 |
replaceafill | (i think) | 00:01 |
th1a | They have to. | 00:01 |
replaceafill | nodes can only have parents and children nodes | 00:01 |
th1a | Or do skillsets know their parents? | 00:01 |
replaceafill | parents = RelationshipProperty(URINodeLink, URINode, URIParentNode) | 00:02 |
replaceafill | see, node to parent node | 00:02 |
replaceafill | children = RelationshipProperty(URINodeLink, URIParentNode, URINode) | 00:02 |
replaceafill | parent node to node | 00:02 |
th1a | OK, nobody knows their children? | 00:02 |
replaceafill | yes, a cluster is a node for example | 00:02 |
replaceafill | then it has program areas nodes or whatever | 00:02 |
replaceafill | those are considered children | 00:03 |
th1a | OK, so what's missing is that skillsets should have a parent column? | 00:03 |
replaceafill | correct, in theory, since the doc is just a node | 00:03 |
th1a | I think it all works then. | 00:03 |
replaceafill | it can have skillsets assigned | 00:03 |
th1a | Wait, nodes has a skillsets column. | 00:03 |
replaceafill | yes, because nodes have a skillsets relationship | 00:04 |
th1a | But it uses that to assign parents to the skillsets? | 00:04 |
replaceafill | no, it just links the existing skillsets in the relationship | 00:04 |
replaceafill | i mean, that's what the importer does | 00:04 |
th1a | OK, so nodes can't have skillsets as "children" but then have a.. child-like relationship to skillsets. | 00:05 |
replaceafill | hmm i wouldn't call it child-like probably | 00:05 |
replaceafill | it's just a relationship | 00:05 |
replaceafill | i mean | 00:05 |
replaceafill | it's not used to traverse | 00:06 |
th1a | Skillsets are smaller branches in the tree. | 00:06 |
th1a | Conceptually. | 00:06 |
replaceafill | in my head skillsets are objects stored in single container far far away from nodes :D | 00:06 |
th1a | Well, that's not how a user sees it. | 00:07 |
th1a | Anyhow. | 00:07 |
replaceafill | true | 00:07 |
th1a | This is going to have to be fixed. | 00:07 |
replaceafill | i think i understand your point | 00:07 |
replaceafill | we should link the skillsets directly to the document | 00:07 |
th1a | One approach would be to give the document node a row in the nodes sheet. | 00:07 |
replaceafill | is that what you're thinking? | 00:07 |
th1a | Yes. | 00:07 |
replaceafill | got it | 00:08 |
th1a | So skillsets don't know their parents? | 00:08 |
replaceafill | well, it would be possible to get it | 00:08 |
th1a | Their parent-like nodes? | 00:08 |
replaceafill | since it's a relationship | 00:08 |
th1a | OK. | 00:08 |
replaceafill | but even in the code, it's like we don't care about that part | 00:09 |
replaceafill | we have a relationship property from node to skillsets | 00:09 |
replaceafill | but not from skillet to nodes for example | 00:09 |
th1a | I think we'd better add a skillsets column to documents. | 00:09 |
th1a | That's less crazy than having a document row in nodes. | 00:09 |
replaceafill | i agree | 00:09 |
replaceafill | if people don't want to mess with nodes | 00:10 |
replaceafill | they just use documents and skillsets | 00:10 |
th1a | Yes... | 00:10 |
th1a | If you do this soon I don't have to re-do all my docs. | 00:10 |
replaceafill | :D | 00:11 |
replaceafill | your call ;) | 00:11 |
replaceafill | i'm in the middle of the virginia completion reports | 00:11 |
th1a | Although I was thinking that maybe I should have added a node anyhow because now I'm saying "well, if you had any nodes they'd go here." | 00:11 |
replaceafill | i mean, converting them to pdf | 00:11 |
th1a | OK, I'll file the bug and re-do the docs. | 00:11 |
replaceafill | kk | 00:11 |
*** replaceafill has quit IRC | 00:49 | |
*** menesis has quit IRC | 02:11 | |
*** aks has joined #schooltool | 06:10 | |
*** aks has joined #schooltool | 06:10 | |
*** aks has quit IRC | 07:17 | |
*** ignas has quit IRC | 08:02 | |
*** menesis has joined #schooltool | 12:53 | |
*** khildin has joined #schooltool | 16:13 | |
*** menesis has quit IRC | 16:54 | |
*** ignas has joined #schooltool | 17:00 | |
*** ignas has quit IRC | 17:33 | |
*** khildin has quit IRC | 18:40 | |
*** povbot has joined #schooltool | 19:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!