github-actions[bot]
published Aug 29, 2026, 6:28 PM · updated Aug 29, 2026, 6:46 PM
Summary
- Extract
src/components/table-region.jsto reuse the repeated.table-region > table > thead/tbodyconstruction in the dashboard presenter. - Replace duplicated call sites in built-in runs, workflows, findings, and usage pages plus custom table and chart text-equivalent views.
- Add focused unit coverage for the extracted component and keep existing presenter/browser coverage green.
Duplication evidence
pages/dashboard/src/presenter.js:449repeated.table-regiontable wrapper inrenderRunsPagepages/dashboard/src/presenter.js:560repeated.table-regiontable wrapper inrenderWorkflowsPagepages/dashboard/src/presenter.js:622repeated.table-regiontable wrapper inrenderFindingsPagepages/dashboard/src/presenter.js:682repeated.table-regiontable wrapper inrenderUsagePagepages/dashboard/src/presenter.js:1506repeated custom table text-equivalent wrapper inrenderTableViewpages/dashboard/src/presenter.js:1575repeated custom chart text-equivalent wrapper inrenderChartView
Call sites collapsed
renderRunsPagerenderWorkflowsPagerenderFindingsPagerenderUsagePagerenderTableViewrenderChartView
Tests added
pages/dashboard/test/unit/table-region.test.js- renders headers and provided rows
- renders empty-state row with the expected colspan
- preserves
data-custom-view-markfor custom table/chart variants
Behavior preservation evidence
- Existing presenter unit tests stayed green after the extraction, including affected built-in and custom page assertions.
- Existing Playwright smoke tests stayed green after updating the in-browser module loader for the new component import.
- Structural comparison of
pages/dashboard/src/presenter.jsbefore vs. after shows the affected changes are limited to replacing duplicated table wrapper construction withrenderTableRegion, without changing DOM text, class names, or accessible labels.
Quality gates
npm install✅npm run typecheck✅npm run lint✅npm test✅npm run test:e2e✅
Blockers
- None.
Next candidates
- Extract repeated built-in inventory-table construction across
engines-models,organizations,repositories,experiments,graders,evals, andoperational-value. - Extract repeated custom-view source/metadata/context chrome.
- Extract repeated built-in provenance section rendering.
Warning
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
mtalk.google.com
To allow these domains, add them to the network.allowed list in your workflow frontmatter:
network:
allowed:
- defaults
- "mtalk.google.com"See Network Configuration for more information.
Generated by ♻️ Daily Dashboard Component Refactorer · pi · gpt54 · 68.7 AIC · ⌖ 8.11 AIC · ⊞ 5.4K · ◷