Skip to content

feat(analytics): list-chart + platform-objects dataset migration (ADR-0021)#1674

Merged
os-zhuang merged 1 commit into
mainfrom
adr-0021-listchart-platform-migration
Jun 10, 2026
Merged

feat(analytics): list-chart + platform-objects dataset migration (ADR-0021)#1674
os-zhuang merged 1 commit into
mainfrom
adr-0021-listchart-platform-migration

Conversation

@os-zhuang

Copy link
Copy Markdown
Contributor

The remaining inline-only analytics surfaces, converted to dataset dual-form — the prerequisites that unblock single-form convergence (#5).

1. List-chart views

ListChartConfigSchema never got a dataset binding in Phase 1 (unlike dashboard/report). This adds dataset + dimensions + values (+ a superRefine enforcing dataset-XOR-inline), mirroring dashboard widgets, and migrates the 2 showcase list-chart views (task/project) to dual-form.

2. platform-objects system_overview

9 aggregate widgets bound to 5 new single-object sys_*_metrics datasets, registered via plugin-auth's manifest alongside the dashboard. The recent_events record-list table stays inline (a ListView concern). Audit / package-installation objects are cross-package (referenced by name) and runtime-gated via requiresObject.

Verification

  • Spec rebuilt; 6666 spec tests, 52 platform-objects, 109 plugin-auth pass.
  • showcase + platform-objects + plugin-auth build clean.
  • (No seed data for sys_* objects → numeric reconciliation N/A, as noted in the closeout plan.)

Toward #5 (delete old form)

With this, all framework analytics surfaces are dataset-bound (dual-form). The remaining gate for the breaking deletion: re-bump the vendored console to include objectui#1612, confirm grep-zero-residue after stripping inline + full build/test, then remove inline fields + ListChartConfigSchema as a focused major-version PR.

🤖 Generated with Claude Code

…-0021 Phase 2)

Two remaining inline-only surfaces converted to dataset dual-form — the
prerequisites for single-form convergence (#5):

- Add the missing ListView chart→dataset binding to `ListChartConfigSchema`
  (`dataset`/`dimensions`/`values` + superRefine), mirroring dashboard widgets.
  Migrate the 2 showcase list-chart views (task/project) to dual-form.
- Migrate platform-objects `system_overview` (9 aggregate widgets) to dataset
  dual-form; add 5 single-object `sys_*_metrics` datasets, registered via
  plugin-auth's manifest alongside the dashboard. The record-list table widget
  stays inline (a ListView concern). Audit/package objects are cross-package
  (referenced by name) and runtime-gated.

Spec rebuilt; 6666 spec tests, 52 platform-objects, 109 plugin-auth pass;
showcase + platform-objects + plugin-auth build clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
spec Building Building Preview, Comment Jun 10, 2026 3:37am

Request Review

@os-zhuang os-zhuang merged commit 12d59b0 into main Jun 10, 2026
9 of 11 checks passed
@os-zhuang os-zhuang deleted the adr-0021-listchart-platform-migration branch June 10, 2026 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant