Repository navigation
feat(dashboard): unified operator experience with one scope - #8
Merged
Merged
Conversation
Self-hosted dashboard: - Scope selector (client, source, repository, domain filters) held in the URL, changed without a reload, followed by every section including Security; old ?user= links still work. - Alert counts in Health, the drawer, the fix-score prompt and exports come from the stored Dependabot alerts; missing readings show why. - Security rows open the repository drawer, which gains a Security panel. - Shared page header, filter bar, data table and coverage state; Security exports through ExportButton (CSV now neutralises formulas everywhere). - Sections from one list (Admin replaces Sources, #sources still works); mobile tab bar puts overflow behind More. - "Reload data" and "Collect now" name the two refresh actions. - Unused layout and mobile components removed. The public Pages dashboard renders Overview, Insights and Health unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Test portfolio detection (public mode on HTML or network failure, enabled sources, slugs, readiness) and the scope loading path (only the scope's sources are fetched and merged). - Identify repositories by full name in list keys and drawer navigation, so repositories from different owners that share a name stay distinct. - Name the source whose data could not be loaded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
M-01, L-01 and L-02 remediated in 4108483 and awaiting independent verification. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
The self-hosted dashboard now works as one application. A single scope drives every section, each number has one source, and views link to each other. The public GitHub Pages dashboard is unchanged.
?client=…&source=…&repo=…&d.tier=…) and changes without a page reload. Back and Forward step through scopes, and old?user=links still work. Overview, Insights, Health and Security all follow it.ExportButton, and CSV export now neutralises spreadsheet formulas for every table.#sourcesstill works. Sites, Delivery and Presence stay hidden until they have data. On mobile, sections that do not fit go behind More.Excluded:
Data stays per source: the browser loads the files a scope needs and joins classifications from
portfolio.json. The worker is unchanged.Changes
usePortfolioanduseScopehooks;config/sections.js; shared Common components;Shell/AppHeaderandAppFooter; the drawerSecuritySection.App.jsx(split, 444 lines), data and shell hooks, Security, Health,ExportButton,TabBar, the drawer and Admin.UserPickeranduseUserOptions, plus the unused components above.Scope.test.jsxandSharedComponents.test.jsx, plus self-hosted cases in existing tests.DOCKER_DEPLOYMENT.md.62 files, +3439 / −2803.
Verification
./run-validation.ps1: exit 0. pytest 572 passed, vitest 206 passed, plus lint, prettier, build, pip-audit and npm audit (0 vulnerabilities).mainand on this branch, then diffed the HTML. The header, Overview, Insights, Health and tab bar are byte-identical. The drawer page differs only in the footer's new "Reload data" label.Quality Gates
No gate artifacts. Knowledge builds; no
.knowledge/nodes changed.Deployment status
Ready to deploy, not deployed. After deploy: choose a client and a domain filter, then confirm Security and Health follow the scope and show the same alert counts.
🤖 Generated with Claude Code