{# Shared left menu — the ONE complete sidebar rendered by every WebUI tab. The chat page and the Usage / Tasks / Goals / Agent Monitor / Topics pages include this exact component. Page headers import menu_button() for the mobile opener; static/nav.js supplies navigation-only behaviour on non-chat pages, The menu's expanded/collapsed state persists across page navigation on desktop in each tab; on mobile or narrow viewports (<=768px), the menu collapses on navigation to keep page content clear. Jinja context: active — 'chat'|'usage'|'tasks'|'goals'|'agents'|'topics'|'decision' #} {% macro menu_button() -%} {%- endmacro %}