Add repository compliance overview redesign and insights page#33
Merged
Conversation
… new insights page
…design and insights page
Mirrors the atc-api OpenAPI schemas added in Phase 1: summary, signals, detail, editorconfig/workflows status, analyzer ref, and the XunitV3Status enum. Bool properties use 'set' so domain logic can flip them in tests.
Calls GET /github/repository/compliance-summary on atc-api and reuses the existing memory + browser-cache pattern with a dedicated semaphore for cache-miss deduplication.
HealthStatus enum with Ok/Warning/Error and ComplianceHealth.Compute deriving the aggregate from signals. License-not-MIT and Java-in-workflow short-circuit to Error; readme/homepage/updater/editorconfig/lang-version/ xunit/workflows/release-please drift to Warning.
…e (TDD) State holds search/language/category/health/failing-signal filters; engine applies them in-memory and orders by name. Failing-signal keys include TfmBehind, EditorConfigBehind, WorkflowsBehind, etc.
Atomic chip with Ok/Warning/Error/NotApplicable states, MudChip + tooltip backing. Adds Compliance namespace to _Imports for unprefixed use.
KPI strip with eight tiles: total repos, C#/Python counts, MIT licensed %, net10.0 %, release-please %, .editorconfig latest %, xUnit v3 %. Adds KpiTile inline component and missing namespaces to GlobalUsings/_Imports.
Search field, language/category/health dropdowns, and a separate group-by selector. State and group-by are bound parameters so the page can hold filter state and the table can react to grouping changes.
Three-column expanded row showing src/test/sample frameworks, analyzer package list with versions, and open-issue count + oldest/newest dates.
MudDataGrid centerpiece: hierarchy expand → row detail, sortable name/ language/license/homepage/readme/updater/lang-version/TFM/release-please columns plus rendered chip columns for editor-config/workflows/xUnit v3. Virtualized at 700px height, groupable, dense.
Cards grid with category-tinted accents matching the introduction page, plus a health chip per card. Used below the dashboard table to give a visual scan over filtered results.
…yout Replaces the slow alphabetical per-repo section list with one call to the new compliance-summary endpoint, then renders KPI strip + filter bar + dashboard table + cards grid. Filter/group state lives on the page; filtering is applied in-memory.
Adds .atc-kpi-strip, .atc-filter-bar (sticky), .atc-compliance-chip, .atc-row-detail, and .atc-link rules to _modern.scss and recompiles AtcWeb.css/min.css from sass.
…ls for non-C# repos
|
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.



Summary
Changes
✨ Features
♻️ Refactoring
🎨 Styling
📝 Documentation
🔧 Configuration