{% extends "_base.html" %} {% from "_macros.html" import modal %} {% block title %}Projects · Urika{% endblock %} {% block heading %}Projects{% endblock %} {% block content %}
{% if projects %} {# Live filter + sort over the rendered DOM. "newest" and "recent" both sort by last_activity desc — when a separate created_at field exists they could diverge. #}
{% else %}

No projects yet. Click + New project above to create one.

{% endif %} {% call modal('new-project', 'New project') %}
Captured for future builder-agent invocation. Not currently consumed by the dashboard's POST /api/projects flow.
{# Hint shown only when the user picks private/hybrid AND there is no globally-configured endpoint with a non-empty base_url. The Submit button stays clickable on purpose — the server-side 422 is the source of truth; the hint just saves a round trip. #}
{% endcall %} {% endblock %}