Skip to content

Conversation

@jakehwll
Copy link
Contributor

@jakehwll jakehwll commented Dec 12, 2025

Closes #21052 and is related to #21218

This pull request implements a bunch of changes the team requested to improve the overall user experience when navigating to the Request Logs page. Since these are mostly UI changes, screenshots do a much better job of showing what's different than me trying to explain everything in words, so I've included them below.

Warning

More globally we've changed how we're rendering <PaginationHeader />, therefore we've renamed it to <PaginationAmount />. This will effect multiple layouts however its a global improvement we're intentionally looking to make.

Preview

ai-bridge-improvements

Changes

  1. Date formatting set to a standardised way including the month as a MMM (i.e Dec)
  2. Names and avatars are now rendered larger, furthermore they render the .name field falling back on .username.
  3. Font-size increased from text-xs to text-sm to increase overall legibility globally.
  4. Initiator is now rendered inside of a <Badge /> and gives longer names a chance to render.
  5. Models are now rendered in a <Badge /> alongside their icons.
  6. Input/Output tokens are in a shared <Badge />-group alongside truncation (when necessary).
  7. Badge from 5 is rendered with the proper name being visible on hover (for use if truncated).
  8. Move globally the Showing X of X counts to the bottom of the tables (effects other components outside of AI Bridge).
  9. Icons are now included within the dropdown for the Provider filter.
  10. Truncation of elements is now handled so larger prompts don't cause the table to require further scrolling.
  11. New merged Input/Output <dt> element with the badge
Position Pull-request
fix: improve AI Bridge request logs UI/UX
feat: add AI Bridge request logs model filter
fix: promote AIBridge from ExperimentalHandler

@jakehwll jakehwll changed the title fix: AI Bridge request logs UI/UX improvements fix: improve AI Bridge request logs UI/UX Dec 12, 2025
@jakehwll jakehwll requested a review from matifali December 13, 2025 09:56
@bpmct bpmct added the doc-check Assign this label to PRs to check for any doc changes. label Dec 16, 2025
@github-actions
Copy link

Copy link
Member

bpmct commented Dec 16, 2025

📚 Documentation Check

✨ Suggested Enhancement (Optional)

The UI improvements in this PR (provider icons, token badges, improved layout) could benefit the user-facing documentation:

  • docs/ai-coder/ai-bridge/monitoring.md - Currently shows only Grafana dashboards. Consider adding a screenshot showing the improved Request Logs UI in the Coder dashboard, which now includes:
    • Provider icons (OpenAI, Anthropic)
    • Token usage badges with visual indicators
    • Improved date formatting and column layout
    • Model display with provider branding

This would help users understand they can monitor AI Bridge usage directly in Coder's UI, not just through Grafana.

Note: This is purely a visual enhancement to existing functionality - no new features or behavior changes, so documentation updates are optional.


This comment was generated by an AI Agent through Coder Tasks

@github-actions
Copy link

github-actions bot commented Dec 17, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@jakehwll jakehwll force-pushed the jakehwll/ai-bridge-request-logs-improvements branch from 0a75b0c to 4941f85 Compare December 17, 2025 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-check Assign this label to PRs to check for any doc changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AI Bridge: Truncate long prompts in request logs view

7 participants