{% from "_macros.html" import icon %} {# Reports, Messages and Scheduled: the three places activity lands that is not a conversation you started. Placed below pinned models and above the folder tree, and deliberately OUTSIDE `#sidebar-tree`. Pinned models and "New chat" are outside it for the same reason: they are not part of the Chat/Agent fork, so they must not vanish or be re-rendered when the switch moves. Their unread dots ride the existing out-of-band `/api/chats/unread` response, which is also outside the tree. Not the footer, where Library and Connections live. Those are places you go to configure or consult something; these receive activity while you are elsewhere and therefore need a dot, and a dot down in the footer reads as a settings notification rather than as news. Scheduled also grows, and the footer is for fixed destinations. Each entry is gated on its own permission, so a section somebody cannot use is absent rather than present and refusing. #}