Skip to content

ℹ️ feat: Add Conversation Info and Message Usage - #17968

Merged
berry-13 merged 5 commits into
devfrom
berry-13/feat-conversation-info
Nov 20, 2026
Merged

berry-13 merged 5 commits into
devfrom
berry-13/feat-conversation-info

Conversation

@berry-13

@berry-13 berry-13 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Pull Request

Summary

Adds an Info control to both message toolbars for the selected response's token usage and cost. It appears when usage is available and follows live generation without replacing historical response data.

Adds Conversation info to the header overflow menu, with a copyable conversation ID, dates, message counts, model settings and usage across all branches. It reads the existing message cache and shared usage totals while open, including read-only conversations.

Type of change

  • Feature

Testing

Tested environments/configuration: Chromium, desktop light/dark and mobile; live, restored and regenerated responses; usage/cost gates, missing data and partial cost coverage.

Automated tests:

  • reviewctl precheck: passed static checks and type checks, 8,613 client tests, and 827 chat-package tests. Optional depcheck is unavailable.
  • Focused Info, menu-host and turn-usage tests: 84 passed, including real localization, both clock formats, usage/cost gates and real query providers.
  • reviewctl verify --scenario last-turn-cache-vs-branch: passed desktop light, dark and mobile, including saved usage, reload, menu access and message-button sizing.

Screenshots / recordings

New message and conversation surfaces, no before images.

Light Dark Mobile
Conversation info Conversation info in dark mode Conversation info on mobile

Message usage

last-turn-cache-vs-branch-desktop-light.webm

Risk / compatibility

No new message fetches or accounting changes. Unknown costs remain unavailable, and the host owns app state outside the shared chat package.

Checklist

  • I reviewed my own changes
  • Relevant tests have been added or updated
  • Existing relevant tests pass
  • The change does not introduce new warnings or errors

@berry-13 berry-13 added ✨ enhancement New feature or request 🎨 design UI/UX improvements labels Nov 9, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T18:03:41.697820Z 7d3707d New commits
🔒 Security Review ✅ Completed 2026-11-09T23:31:43.638223Z d26894a PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@berry-13
berry-13 added this pull request to stack #17970 November 9, 2026 23:35
Copilot AI balanced review requested due to automatic review settings November 10, 2026 00:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@berry-13
berry-13 force-pushed the berry-13/feat-conversation-info branch from 5a6a3f4 to d828b09 Compare November 10, 2026 14:55

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d828b09247

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread client/src/components/Chat/Info.tsx Resolved
@berry-13
berry-13 force-pushed the berry-13/feat-conversation-info branch from d828b09 to 1646465 Compare November 10, 2026 15:40
@berry-13
berry-13 force-pushed the berry-13/feat-conversation-info branch from 1646465 to e921c8b Compare November 10, 2026 16:46

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e921c8b0e8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@berry-13
berry-13 force-pushed the berry-13/feat-conversation-info branch from da12bdf to 71d3912 Compare November 10, 2026 22:19
@berry-13
berry-13 force-pushed the berry-13/feat-conversation-info branch from 71d3912 to a16d30f Compare November 20, 2026 16:40
@berry-13

Copy link
Copy Markdown
Collaborator Author

/quality ignore

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Quality report

Outdated: this request is for an earlier PR commit.

Gate: open. Quality checks explicitly ignored for this commit.

  • Commit: a16d30f1730a9868afc5e92d6b83daea668901d4
  • Requested by: @berry-13
  • Check: ignore

The gate opens only when the workflow, source selection, tooling verification, and every report job succeed. A report job fails on a failed test in its workspace's own Jest run, a tool error, a job timeout, or an incomplete mutation report, including a mutation shard that reaches its execution budget. A cancelled workflow keeps the gate closed. Scores are advisory. A change-risk file marked incomplete or unavailable, for example by a failed api/ source-alias suite, does not close the gate.

Base automatically changed from berry-13/feat-account-usage to dev November 20, 2026 17:51
@berry-13
berry-13 force-pushed the berry-13/feat-conversation-info branch from a16d30f to 7d3707d Compare November 20, 2026 18:01
@berry-13

Copy link
Copy Markdown
Collaborator Author

/quality ignore

@github-actions

Copy link
Copy Markdown
Contributor

Quality report

Gate: open. Quality checks explicitly ignored for this commit.

  • Commit: 7d3707dcdcd653614b0d211578b26c96864bc38e
  • Requested by: @berry-13
  • Check: ignore

The gate opens only when the workflow, source selection, tooling verification, and every report job succeed. A report job fails on a failed test in its workspace's own Jest run, a tool error, a job timeout, or an incomplete mutation report, including a mutation shard that reaches its execution budget. A cancelled workflow keeps the gate closed. Scores are advisory. A change-risk file marked incomplete or unavailable, for example by a failed api/ source-alias suite, does not close the gate.

@berry-13
berry-13 merged commit 0ae38e1 into dev Nov 20, 2026
61 checks passed
@berry-13
berry-13 deleted the berry-13/feat-conversation-info branch November 20, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🎨 design UI/UX improvements ✨ enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants