Skip to content

feat(dashboard): add $table renderer for dashboard outputs#181

Merged
vkarpov15 merged 2 commits intomainfrom
codex/add-dashboard-table-component
Mar 12, 2026
Merged

feat(dashboard): add $table renderer for dashboard outputs#181
vkarpov15 merged 2 commits intomainfrom
codex/add-dashboard-table-component

Conversation

@vkarpov15
Copy link
Member

Motivation

  • Dashboard evaluation results that include tabular data should render as readable tables instead of raw JSON.
  • The $table shape (columns + rows) needs a dedicated renderer to present data with the same visual language used elsewhere in the app.
  • This change aims to mirror the table styling used in models.html (header background, padded cells, hover state, borders, and horizontal overflow support).

Description

  • Added a new dashboard-table component at frontend/src/dashboard-result/dashboard-table/dashboard-table.js with template dashboard-table.html to render value.$table.columns and value.$table.rows.
  • Implemented safe cell rendering via displayValue that stringifies objects and handles null/undefined values gracefully.
  • Wired $table support into frontend/src/dashboard-result/dashboard-result.js so getComponentForValue returns dashboard-table when value.$table is present.

Testing

  • Ran npm run -s lint and the lint step completed successfully.
  • Attempted an automated Playwright UI capture to validate the table rendering, but the local front-end server was not running and the request failed with ERR_EMPTY_RESPONSE (no server at http://127.0.0.1:4173).

Codex Task

Copilot AI review requested due to automatic review settings March 12, 2026 01:34
@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studio Ready Ready Preview, Comment Mar 12, 2026 1:51am

@chatgpt-codex-connector
Copy link

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@vkarpov15 vkarpov15 merged commit ccd4370 into main Mar 12, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant