Merge pull request #83 from nesquena/feat/context-usage-indicator

feat: context usage indicator in composer footer
This commit is contained in:
Nathan Esquenazi
2026-04-04 14:26:23 -07:00
committed by GitHub
4 changed files with 42 additions and 1 deletions

View File

@@ -264,6 +264,10 @@
</svg>
</button>
</div>
<div class="ctx-indicator" id="ctxIndicator" style="display:none" title="Context window usage">
<span class="ctx-bar-wrap"><span class="ctx-bar" id="ctxBar"></span></span>
<span class="ctx-label" id="ctxLabel"></span>
</div>
<div class="composer-right">
<button class="send-btn" id="btnSend" title="Send message" style="display:none">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="12" y1="19" x2="12" y2="5"/><polyline points="5 12 12 5 19 12"/></svg>