{# ── S-117 tree panel default content ── Renders the workspace schema as a clickable table list when ``tree`` is populated; otherwise shows an empty state with quick-action links to the S-112 connect endpoint and the S-113 schema-load endpoint. Later stories (S-118+) can override the parent ``tree`` block to customise this entirely. #} {% if tree %}
Tables {{ tree.table_count }}
{% if tree.source %}

Source: {{ tree.source }}

{% endif %}
{% else %}

No schema loaded.

Connect to a live database or upload a schema file to get started.

{% endif %}