Repository navigation
feat(dashboards): port MCP App dashboard prototype (issue #396, PR 1) - #635
Conversation
Import mcp-apps/bqaa-dashboard/ verbatim from haiyuan-eng-google/bigquery_agent_analytics_skill at commit b4bf97ae52797d06396f6b7a73b1fcdae6009ef0 into dashboards/mcp_app/. Refs GoogleCloudPlatform#396
- Add Apache-2.0 headers to ported MCP App source and config files - Add SIL OFL 1.1 license text for the embedded Space Grotesk font - Add MCP App row to dashboards/README.md - Exclude dashboards/mcp_app/node_modules in pyproject.toml and .gitignore - Add path-filtered MCP App CI workflow (.github/workflows/mcp-app-ci.yml) Refs GoogleCloudPlatform#396
caohy1988
left a comment
There was a problem hiding this comment.
Thanks for the port. I checked that the first commit matches the prototype file for file and that the second commit only adds headers, the font license, the docs index entry, formatter/ignore rules and the CI workflow, so provenance is easy to follow. The SQL side looks solid: parameterized queries, a mandatory time predicate on every section, a split byte budget, and the UI writes data through text nodes. The pure test suites pass, and the Python package and its tests are untouched.
A few things are worth fixing in the follow-up commits, and I've collected them in #636. The two I'd do first are in the README: the tunnel recipe exposes the live server with no token, and the Cloud Run origin step uses --set-env-vars, which drops BQAA_PROJECT so the service won't start (--update-env-vars fixes it). After those, the Tools totals are computed from the top-30 rows, an empty error_message counts as an error, and the Traces tab shows a failed query as "no traces". Approving.
Summary
Ports the TypeScript MCP App interactive dashboard prototype into
dashboards/mcp_app/as requested in #396 (PR 1 of the rollout). The Python package/wheel is unchanged and the dashboard's SQL queries remain self-contained.Commit Structure
feat(dashboards): import MCP App dashboard prototype (b4bf97a)haiyuan-eng-google/bigquery_agent_analytics_skill@b4bf97aintodashboards/mcp_app/with zero modifications.chore(dashboards): add repo plumbing and CI for MCP App dashboardDockerfile,mcp-app.html,server.ts,vite.config.ts,src/*.ts,src/styles.css,tests/*.test.mjs) with zero changes to application logic.dashboards/mcp_app/src/assets/OFL.txt.dashboards/README.md.dashboards/mcp_app/node_modulesexcludes inpyproject.toml([tool.pyink]and[tool.isort]) anddashboards/mcp_app/node_modules/+dashboards/mcp_app/dist/in.gitignore, mirroringdashboards/web/..github/workflows/mcp-app-ci.yml) withpermissions: contents: read, SHA-pinned actions,persist-credentials: false, and no GCP credentials, runningnpm ci,npm run build,npm run build:server, andnpm test.Verification
b4bf97aand Commit 1.dashboards/mcp_app/(headers +OFL.txtonly) and zero changes tosrc/,tests/, or Python wheel targets.dashboards/mcp_app/(no GCP credentials):npm run build(dist/mcp-app.htmlsingle-file bundle: 393.47 kB) — passnpm run build:server(dist/server.mjs: 106.4 kB) — passnpm test(node --import tsx --test tests/*.test.mjs) — 150/150 passedisort --check-only dashboards/passes withdashboards/mcp_app/node_modules/populated.Follow-ups (Separate PRs)
Per #396, deferred from this initial port:
Refs #396