devboard
devboard copied to clipboard
Nested namespace
devcard.ns('sub-namespace') ? to create a nested namespace?
I can take a look at this if you think it's worthwhile.
Seems like a good idea
API-wise how about these options?
devboard.ns(a, b, c)
devboard.ns("a/b/c")
Would you expect to be able to put cards in non-leaf namespaces? I think this should be allowed
Should the namespace page include links to sub namespaces, or should the tree view only be on the root list? Unsure about this one
I hadn't thought about non-leaf but you could put the links up top, and any cards below, to keep it simple. As for api it could just do either.
EDIT: I think it should definitely contain sub-links, more important than non-leaf cards i think
Ok, let's go for
- multi-arg API
- can have cards at every level
- tree view on the root
- same tree view of children on namespaces that have them
Implementation-wise I reckon you could get away with using the JSON-encoded namespace path as the key for the catalog.
URLs might be tricky