feat:add tags
This commit is contained in:
@@ -19,13 +19,16 @@ body:json {
|
||||
"is_active": true,
|
||||
"options": [
|
||||
{
|
||||
"label": "Laravel"
|
||||
"label": "Laravel",
|
||||
"tags": ["focus", "calm"]
|
||||
},
|
||||
{
|
||||
"label": "React"
|
||||
"label": "React",
|
||||
"tags": ["energy"]
|
||||
},
|
||||
{
|
||||
"label": "Vue.js"
|
||||
"label": "Vue.js",
|
||||
"tags": []
|
||||
},
|
||||
{
|
||||
"label": "Django"
|
||||
@@ -47,3 +50,9 @@ settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
docs {
|
||||
Each option may carry `tags` (array of tag names). Tags are firstOrCreate'd
|
||||
and linked to the option; they drive `survey-questions/suggested-media`,
|
||||
which matches media that share the tags behind the user's chosen options.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user