ui: port scanners panel to new design#6
Open
Moriz82 wants to merge 1 commit into
Open
Conversation
Replaces the legacy Plugin Store / Vulnerability scanners / Run Scanner
cards on the Scanners tab with the new-UI design: a grid of scanner
cards (auto-fill 280px) with glyph, name, type·version, status pill,
description, and Configure / Run (or Install / Update) actions. Header
shows "<n> plugins · <m> enabled" and a "Check updates" / "Update all"
toolbar. Configure and Run open modals that preserve templates,
source/binary metadata, target input, streaming progress, and the
uninstall action — no mock data, all wired to /api/plugins,
/api/plugins/check-updates, /api/plugins/update-all, /api/templates,
and /api/scanners/{id}/run.
Adds frontend/src/styles/screens.css with the new-UI tokens scoped
under .screen so the rest of the app keeps its existing chrome until
other panels are ported.
Co-Authored-By: Claude Opus 4.7 (1M context) <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
frontend/src/panels/ScannersPanel.tsxto match the new-UIScannersScreendesign: header with " plugins · enabled" sub, Check-updates / Update-all toolbar, filter pills + search, and arepeat(auto-fill, minmax(280px, 1fr))grid of scanner cards with glyph, name,<type> · v<version>, status pill, description, and Configure/Run (or Install/Update) buttons.frontend/src/styles/screens.csswith new-UI design tokens (--bg-*,--fg-*,--silk,--sp-*,--line-*, etc.) scoped under.screenso legacy panels keep their existing look, plus.insp-glyph,.status-pill,.scanners-grid, modal, and filter selectors./api/plugins,/api/plugins/check-updates,/api/plugins/update-all,/api/templates,/api/ingestors,/api/scanners/{id}/run(SSE progress),/api/scanners/{id}/stop, plus per-plugin install/update/uninstall.Test plan
npx tsc --noEmit— no new errors inScannersPanel.tsxnpm run build— passes (dist/emitted)/api/plugins, Configure opens modal with templates + source + binary path, Run opens target-input modal; no console errors.🤖 Generated with Claude Code