Repository navigation
W1-1 (G-13): render the two service-% data-insight cards with summary and absolute-value charts - #162
Merged
Merged
Conversation
…solute-value charts (W1-1/G-13)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
W1-1 (G-13): render the two service-% data-insight cards
Wave 1 batch 1 of the next milestone (scope locked 2026-11-07; deep analysis
RULING-data-insights.md; decisionsDECISIONS-RESOLVED.mdD-D-1/D-D-2/D-D-3/D-D-5 + D-D-4).What changes
/insights/data-assetshad two permanent empty states ("% of services with description / owner"). This batch renders them as real per-service line charts (x = day, y = %), following official scheme A (D-D-1):SYSTEM_CHART_NAMESgainspercentage_of_service_with_description/percentage_of_service_with_owner.total_data_assets_summary_card,data_assets_with_description_summary_card,data_assets_with_owner_summary_card,total_data_assets_with_tier_summary_card) + 2 absolute-value KPI charts (number_of_data_asset_with_description_kpi,number_of_data_asset_with_owner_kpi); headline % uses the row with maxday, change = official formula in percentage points (first/last day aligned on the sameday).filtersent with every chart request, per officialDataInsightPureUtils.ts:226-269); default date presetlast30->last7(D-D-2).ViewAll+dataInsightChart(resource name verified against the product permission catalogue and the server's accepted names before wiring; no-permission shows a placeholder and sends no chart requests).listKpis' existingdataInsightChartfield); right rail per-service latest % list (descending, searchable, legend filter,pluralize=false).DataAssetsView.vueheader comment claiming "no preview API" (theGET /name/{fqn}/dataendpoint exists).listSystemChartData4xx-silent-{}semantic is not extended to them.Not in scope
app-analytics/kpistabs; server / ES / new endpoints / DataInsights App changes.Decisions
docs/decisions/2026-11-07-data-insights-service-cards.md(cited in code asADR:).Reviews
wave1/REVIEW-W1-1-G13.md: APPROVE with 3 conditions (permission resource name verified before wiring; headline-%取数口径 + unit tests; explicit failure alerting) — all addressed in the implementation.Gates (branch, local)
npm ciclean;vue-tsc -p tsconfig.app.json219 vs baseline 233, zero errors in batch files;npm run buildpass; fullnpm test320 files / 1494 tests all pass. Logs:gate-w1-1-g13-logs/.Live verification (still owed — merge gate)
listChartData+ DataInsights App ran recently. Needs an admin login; merge only after the live pre-check passes. If chart definitions are missing or the App is not running, fix that first, do not merge.Files
11 files, +1543/-251 (
ServiceInsightCard.vue+ test new;DataAssetsView.vue;api/dataInsights.ts;catalog/insightsTabs.ts; i18n en-US/zh-CN; ADR).