context fill grade should be a little pie chart instead of a x/y text #19

Closed
opened 2026-07-25 10:53:17 +00:00 by hugo · 1 comment
Owner

in the chat window, the fill grade of context should just be a small pie chart in the same height as the attachment icon. the text of x/y should only show on hover over that pie chart. this makes it more compact and usually we are not interested in exact numbers most of the time, only fill grade. I think that currently in addition to the text there is a bar that shows the fill grade, that can then be removed. the pie chart is more typical of agents. also the pie chart should turn color to orange when it is close to the value where compaction is happening soon.

in the chat window, the fill grade of context should just be a small pie chart in the same height as the attachment icon. the text of x/y should only show on hover over that pie chart. this makes it more compact and usually we are not interested in exact numbers most of the time, only fill grade. I think that currently in addition to the text there is a bar that shows the fill grade, that can then be removed. the pie chart is more typical of agents. also the pie chart should turn color to orange when it is close to the value where compaction is happening soon.
hugo added the enhancement label 2026-07-25 10:53:17 +00:00
Author
Owner

Implemented in 3f2c425. The composer row now shows a small SVG pie at icon height instead of the progress bar and token text; the exact "x / y tokens (n%)" reading moved into a tooltip on hover. The pie turns orange from 80% fill.

No compaction stage exists in the code yet, so the warning threshold is a single constant (CONTEXT_WARN in src/app/view.rs) — point it at the real trigger once there is one.

Implemented in 3f2c425. The composer row now shows a small SVG pie at icon height instead of the progress bar and token text; the exact "x / y tokens (n%)" reading moved into a tooltip on hover. The pie turns orange from 80% fill. No compaction stage exists in the code yet, so the warning threshold is a single constant (CONTEXT_WARN in src/app/view.rs) — point it at the real trigger once there is one.
hugo closed this issue 2026-07-26 07:33:50 +00:00
Sign in to join this conversation.