hedge
hedge copied to clipboard
Docs:Hierarchical Ads
Hierarchical Ads / Tree
I can't really see more than two levels here. So I think a simple parentId would work well.
This can also lead way to configurable ads.
ads
-
options[] (term) - children are "values" - Array<Term>
-
configuration ?
-
allow user to assign terms to ad === options: Array<Term> = []
-
child ads will allow selection of value for each option associated.
ex. vocab -- color_options -- term = white -- term = blue -- term = red
size_options
-- term = s
-- term = xm
-- term = large
ad child: color = white | size = s
ad child --- display each option as select - stores value (term)
Match child to configuration of parent.
parent
- Option
autocomplete - select
child
- option drop down
- option drop down
- option drop down
-- options indexing a searching -- contextrual awareness of options based on category maybe?
-- add categories.? -- faceted searching from options?