diff options
| author | Adam Malczewski <[email protected]> | 2026-06-02 14:39:20 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-06-02 14:39:20 +0900 |
| commit | 2756730aeba633c3cc331500bcfb9a67d85dc892 (patch) | |
| tree | 5fd7615e6731e5998ebe3e5dbe8fff4c360aa081 /packages/frontend/src/App.svelte | |
| parent | 7c527b4d8a72159954405e720d5bf776802dc0ff (diff) | |
| download | dispatch-2756730aeba633c3cc331500bcfb9a67d85dc892.tar.gz dispatch-2756730aeba633c3cc331500bcfb9a67d85dc892.zip | |
Add status bar beneath chat input with send/stop button and context display
Restructure ChatInput into two stacked bars:
- Top bar: auto-resizing textarea + fixed-width send/stop button that
morphs in place (no layout shift) across idle/generating states.
- Bottom bar: agent status icon, context-window fill bar, and compact
token count + percent (inert bar when model max is unknown).
Wire contextLimit prop from App.svelte into ChatInput, reusing the
shared computeContextUsage helper so it agrees with the sidebar.
Diffstat (limited to 'packages/frontend/src/App.svelte')
| -rw-r--r-- | packages/frontend/src/App.svelte | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/App.svelte b/packages/frontend/src/App.svelte index ecfdc9f..a0b25b7 100644 --- a/packages/frontend/src/App.svelte +++ b/packages/frontend/src/App.svelte @@ -174,7 +174,7 @@ onMount(() => { <div class="flex-1 overflow-hidden"> <ChatPanel /> </div> - <ChatInput /> + <ChatInput {contextLimit} /> </div> <!-- Right sidebar: overlay on small screens, inline on large --> |
