Howdy @charlie!
A problem I run into regularly on sites I’ve created a while ago is not remembering the structure of the JSON I used when setting up parameters, making it difficult to quickly write the {{dc:xxx}}
.
So, I typically have to go back into the Parameters settings to look at the JSON to remind myself how to structure the {{dc:g:link.resume}}
.
{
"link": {
"label": "Link Slugs",
"type": "group",
"params": {
"calendar": {
"type": "text"
},
"contact": {
"type": "text"
},
"resume": {
"type": "text"
}
}
},
I had started putting it in the "description"
so I could hover and get a reminder. But that requires a lot of setup at the start.
So, it got me thinking… it would be super convenient to have a way to quickly copy the DC code for a particular parameter right from the parameter list. Perhaps by simply allowing right clicks on parameters and giving a “Copy Dynamic Content” option in the list? (Or something equally easy / unobtrusive)
Quick mockup of what I mean:
Would obviously be great if it gave the TWIG version when that was enabled (and supported).
Thanks for considering!