Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[self-care:reactive-ui] Move campaign issue status counting into a declarative query - #22196

Draft
mnkiefer wants to merge 1 commit into
mainfrom
self-care/reactive-ui-campaign-issue-status-query-1e55f16d94efd4d5
Draft

mnkiefer wants to merge 1 commit into
mainfrom
self-care/reactive-ui-campaign-issue-status-query-1e55f16d94efd4d5

Conversation

@mnkiefer

@mnkiefer mnkiefer commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

The campaign Reports campaign-issue-status pie chart no longer counts rows in the presenter (y.aggregate: count over campaign-worker-issues via buildChartPoints). A new JSON query, campaign-issue-status-counts, groups campaign-worker-issues by campaign and issue-status-detail and counts safe-output into issues, ordered descending. It runs in the data Web Worker or Go query engine. The view binds to it and keeps the same route field, x field, title, layout and pie rendering. No production JavaScript changed, and the active view's existing worker subscription still refreshes it.

Evidence

Changes

  • campaigns.json: add campaign-issue-status-counts; rebind the view and drop aggregate from its encoding.
  • Unit: query result shape in campaign-runtime-health-query.test.js; view contract in dashboard-view-query-contracts.test.js; updated audit-view.test.js (one view now reads campaign-worker-issues).
  • Playwright canonical-data.spec.js: real module worker and IndexedDB ingestion return the new source.

Validation

  • Focused unit tests, typecheck, lint (including dashboard validation) and validate:corpus pass; full dashboard npm test passed except the audit-view assertion fixed here.
  • Playwright canonical-data.spec.js -g "campaign Reports retains" passes.
  • npm run docs:build passes.
  • Root npm test could not run its Go pretest (toolchain download blocked by TLS). Running root unit tests directly gives 6 failures, identical to the baseline on main (install-script, clean-room and template tests); integration tests I ran pass.

Control Plane

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • clients2.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "clients2.google.com"

See Network Configuration for more information.

Generated by SelfCare / Reactive UI Expert · copilot · routed: sonnet55 high · ~116 AIC · ⌖ ~2 AIC · ⊞ 10.4K · history

  • expires on Dec 10, 2026, 3:02 PM UTC

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor
Dashboard dead views

Dead element views (0):
Dead dashboard pages (0):
Analyzed 9 element renderers and 75 dashboard pages across 1 dashboard.json file(s) from dashboard/site/src/components/ui-elements.js.

⚠️ This reachability report is informational and does not block the pull request.
🔎 View the workflow run and report artifact.

This branch has not been deployed

No deployments
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