Manage Content Templates within Canvas Workbench
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3576863. -->
Reported by: [effulgentsia](https://www.drupal.org/user/78040)
Related to !1062
>>>
<h3 id="overview">Overview</h3>
<p>Similar to <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3576837" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3576837</a></span>, we also want to prototype Content Templates within Canvas Workbench.</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<ul>
<li>Content Templates should appear below Pages in Workbench's left-hand navigation.</li>
<li>For the initial prototype, Content Templates can be hard-coded as .json files, similar to Pages, and not yet sync'd with the Content Templates that are in Canvas.</li>
<li>The Content Template .json files can use <a href="https://json-render.dev/docs/data-binding">json-render's data-binding syntax</a> to reference dynamic prop values.</li>
<li>The prototype can depend on the jsonapi module.</li>
<li>When viewing a Content Template in Workbench, there should be a dropdown to select which node to view. The list of nodes can be fetched from jsonapi (or a jsonapi wrapper, such as <a href="https://www.drupal.org/project/api_client">API Client</a>).</li>
<li>When a node is selected, the jsonapi response for that node (or some transformation of it such as what's returned by API Client) can be used as the <code>$state</code> passed to json-render.</li>
</ul>
<h3 id="ui-changes">User interface changes</h3>
> Related issue: [Issue #3575872](https://www.drupal.org/node/3575872)
issue