fix(app): place the context ring slot before the usage pill

The ring reserves its slot before it has data. With the pill first, the empty
slot sat between the pill and the mic; now it falls in the flexible space.
This commit is contained in:
Mohamed Boudra
2026-09-26 20:53:05 +02:00
parent 77e33f8845
commit 2b93fe9497
+1 -1
View File
@@ -2095,8 +2095,8 @@ function ComposerContentImpl({
const beforeVoiceContent = useMemo(
() => (
<>
{hasAgent ? <UsageComposerPill serverId={serverId} agentId={agentId} /> : null}
{resolveContextWindowPlacement(contextWindowMeter, hasAgent)}
{hasAgent ? <UsageComposerPill serverId={serverId} agentId={agentId} /> : null}
</>
),
[agentId, contextWindowMeter, hasAgent, serverId],