Skip to content

Show chat usage in assistant timestamp footer#725

Closed
RBrid wants to merge 5 commits into
openclaw:mainfrom
RBrid:kenehong/usage-ui-options
Closed

Show chat usage in assistant timestamp footer#725
RBrid wants to merge 5 commits into
openclaw:mainfrom
RBrid:kenehong/usage-ui-options

Conversation

@RBrid

@RBrid RBrid commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Continuation of #551 (merged latest main). Original author: @kenehong.

Summary

  • Show context usage next to the latest assistant message timestamp
  • Keep usage snapshots monotonic so displayed usage does not decrease
  • Share usage formatting between chat and tray session cards
  • Round the tray usage progress fill to match the track
  • Hide the chat explorations launcher from Diagnostics

Validation

  • ./build.ps1
  • dotnet test ./tests/OpenClaw.Shared.Tests/OpenClaw.Shared.Tests.csproj --no-restore
  • dotnet test ./tests/OpenClaw.Tray.Tests/OpenClaw.Tray.Tests.csproj --no-restore

Screenshots from #551:
image

image

kenehong and others added 5 commits May 28, 2026 11:02
Add usage placement controls for the native chat explorations UI and render context usage in the selected chat/composer locations.

Share usage formatting between chat and tray session cards, keep assistant usage monotonic, and round the tray usage bar fill.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the usage display focused on the assistant timestamp footer and remove the exploration placement options from the PR surface.

Hide the chat explorations launcher from Diagnostics and update the page contract test accordingly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Prefer latest assistant entry metadata for timestamp footer usage and cover lower thread total regressions. Keep UseMemo dependencies nullable-safe after rebase.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@clawsweeper

clawsweeper Bot commented Jun 8, 2026

Copy link
Copy Markdown

ClawSweeper status: review started.

I am starting a fresh review of this pull request: Show chat usage in assistant timestamp footer This is item 1/1 in the current shard. Shard 0/1.

This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking.

Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted.

@RBrid RBrid closed this Jun 8, 2026
@RBrid RBrid deleted the kenehong/usage-ui-options branch June 8, 2026 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants