You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Templates - Generate pre-filled groups of resources #154
Being able to create a bunch of resources in one go can be really useful. In tools like Notion, Monday and Airtable we've got things like templates that do this. They create a structure and often a small amount of demo data to help users get started. You can make very domain-specific templates that demonstrate various use-cases, such as CRM, Blog CMS, todo-list, zettelkasten, etc.
Using JSON-AD with local-id + the Importer could be a nice way of actually implementing this, as it can describe a hierarchical structure of data anywhere.
The biggest challenge is actually creating the JSON-AD. I'm looking for a good way of doing that.
Some ideas:
Write a simple template-generation library / function / app thing. Probably in typescript.
Use nested JSON objects to denote parent - child relationships. We can infer the parent ID by going to the parent in the JSON.
Convert an existing structure into a template. For example: select a parent, find all children, output all as JSON-AD, conver the @id into a simpler local-id, voila!
Activity