Skip to content

Make repository scope rendering declarative - #386

Merged
pelikhan merged 6 commits into
mainfrom
copilot/investigate-js-views-in-dashboard
Aug 31, 2026
Merged

Make repository scope rendering declarative#386
pelikhan merged 6 commits into
mainfrom
copilot/investigate-js-views-in-dashboard

Conversation

Copilot AI commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The repository scope view was implemented as page-specific JavaScript. This change moves its composition into Dashboard Language configuration and normalized JSON data.

Changes

  • Declarative view
    • Replaces repository-scope with the reusable context-summary element.
    • Preserves repository navigation and telemetry state coverage.
{
  "data": {
    "sources": ["repository-summary", "repositories", "runs", "usage", "operational-values"]
  },
  "mark": "element",
  "element": "context-summary"
}
  • Data model

    • Derives repository scope, run-window, and AIC coverage rows in repository-data.js.
    • Registers the new logical source and fields in the language vocabulary.
  • Renderer cleanup

    • Removes the repository-specific component and browser module wiring.
    • Generalizes the existing scope layout for reusable context summaries.

Copilot AI and others added 5 commits August 31, 2026 23:30
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan

Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts on this branch.

…s-views-in-dashboard

# Conflicts:
#	pages/dashboard/src/components/ui-elements.js
#	pages/dashboard/test/unit/ui-elements.test.js

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

Copilot AI commented Aug 31, 2026

Copy link
Copy Markdown
Contributor Author

@copilot resolve the merge conflicts on this branch.

Resolved the conflicts by merging the latest main in commit 53dc504. Preserved both the declarative context summary and the new coverage diagnostics changes; dashboard unit tests, e2e tests, lint, typecheck, build, and CodeQL all pass.

@pelikhan
pelikhan merged commit 8c2304f into main Aug 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants