🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

feat: add network call badges to AI sessions table - #27341

Merged
SasSwart merged 4 commits into
mainfrom
aigov-460-frontend
Jul 22, 2026
Merged

feat: add network call badges to AI sessions table#27341
SasSwart merged 4 commits into
mainfrom
aigov-460-frontend

Conversation

@SasSwart

@SasSwart SasSwart commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Surface the total and blocked Agent Firewall network calls on the AI sessions list. Sessions that did not pass through Agent Firewall show as "Disabled".

image

@linear-code

linear-code Bot commented Jul 20, 2026

Copy link
Copy Markdown

AIGOV-460

@SasSwart

Copy link
Copy Markdown
Contributor Author

Review received here:
#27269 (review)

@SasSwart
SasSwart force-pushed the aigov-460-frontend branch from 662307d to 6517f5e Compare July 21, 2026 10:47
Base automatically changed from aigov-460 to main July 21, 2026 12:34
@SasSwart
SasSwart requested a review from EhabY July 21, 2026 13:11
@SasSwart

Copy link
Copy Markdown
Contributor Author

@EhabY Please see the new network columns section.

@SasSwart SasSwart changed the title feat(site): add network call badges to AI sessions table feat: add network call badges to AI sessions table Jul 21, 2026
@SasSwart
SasSwart marked this pull request as ready for review July 21, 2026 13:13
@coder-tasks

coder-tasks Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Documentation Check

Updates Needed

  • docs/ai-coder/ai-gateway/audit.md - The Sessions list section now lists "network calls" among the row columns and adds a paragraph explaining the total/blocked Agent Firewall counts, the No activity state, and the Disabled state, with a link to Agent Firewall. Addressed.

Automated review via Coder Agents

SasSwart and others added 2 commits July 21, 2026 13:23
Surface the total and blocked Agent Firewall network calls on the AI
sessions list. Sessions that did not pass through Agent Firewall show as
"Disabled".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Apply frontend review feedback and Figma design refinements to the AI
sessions network calls column:

- Rename the column header to "Network Calls" and match sibling styling.
- Fuse the total and blocked counts into a single two-segment panel,
  consistent with the In/Out Tokens column.
- Color the blocked icon and count with the content-warning token.
- Make both tooltips keyboard reachable (tabIndex plus sr-only label).
- Remove the unused size prop and add keyboard interaction stories.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@SasSwart
SasSwart force-pushed the aigov-460-frontend branch from 6517f5e to 600384b Compare July 21, 2026 13:25
…list

Add the Network Calls column to the Sessions list column enumeration and
explain the total/blocked counts and the No activity and Disabled states.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

@EhabY EhabY 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.

Two small follow ups for the tooltip behavior, but otherwise LGTM!

I think the table looks a bit crowded and could use a better design but I suppose that's out of scope for now.

<TooltipTrigger asChild>
<span
tabIndex={0}
role="button"

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.

This span has role="button" but there is no action behind it, it only opens a tooltip. ProvisionerVersion.tsx handles the same case with just tabIndex={0} and no role

Can we drop the role to match?

<span className="inline-flex items-center gap-1 whitespace-nowrap text-content-secondary">
Disabled
<span className="sr-only">More info</span>
<InfoIcon tabIndex={0} className="cursor-pointer size-icon-xs" />

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.

Only the inner svg is focusable, and it has no role or accessible name. Can we use HelpPopoverIconTrigger here instead, like AIBridgeHelpPopover does?

It's a real button with aria-label="More info", so keyboard and screen reader support come for free

…ility

Make the network call tooltip trigger a real button and use the shared
InfoTooltip for the disabled indicator, so both expose an accessible name
and full keyboard support instead of a role-less focusable span and svg.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@SasSwart
SasSwart merged commit f17d488 into main Jul 22, 2026
30 of 31 checks passed
@SasSwart
SasSwart deleted the aigov-460-frontend branch July 22, 2026 12:16
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants