{# invincible/templates/_chat_rows.html THE definition of a sidebar chat row - shared by both renderers so they can never drift: the chat page loop in base.html and the lazy fragment served by GET /dashboard/chat/list (Accept: text/html) on every other page. Expects ``rows`` (id / client_session_id / title / pinned, from endpoints/chat.py::_sidebar) and ``active_session``. The data-* hooks are the contract with the static scripts: - static/sidebar.js : .chat-menu-btn, .chat-menu, [data-chat-action], [data-session-pk], [data-pinned], .sess-title - static/confirm.js : [data-confirm-*], [data-delete-url], data-delete-mode="sidebar" (row removal in place) #} {% if rows %} {% for s in rows %}
  • {{ s.title }}{% if s.pinned %}📌{% endif %}
  • {% endfor %} {% else %}
  • No conversations yet.
  • {% endif %}