{% from "_macros.html" import icon %} {# A single chat row. `chat_item` rather than `chat` so this can be included from a page that already has the open chat bound to `chat`. An archived row carries `nav-item--archived` wherever it is listed, not only inside the Archived group -- a device section set to "All sessions" lists them after the active ones, and they must read as put away there too. #} {#- Draggable onto a folder on the Chats side (js/dnd.js); the Move button below is the same thing for a keyboard or a phone. Agent chats have no folders. -#} {% set movable = chat_item.kind != "agent" and folders is defined and folders %}