ui: port operations panel to new design#10
Open
Moriz82 wants to merge 1 commit into
Open
Conversation
- Left card with tabs Crawl / Fuzz / Scan / Import (new design tokens) - Right card "Live runs" with progress stack + session counters polled from /api/graph/stats and /api/findings - Bottom collapsible console (.log) with ALL / CRAWL / AUDIT / FUZZ run filter + hide toggle - Crawl tab streams /api/ingest/crawl/stream SSE, maps progress events onto the progress card - Fuzz tab posts to /api/tools/run (ffuf/feroxbuster) and parses hits / progress from streamed TTY output - Scan tab reflects real plugins from /api/plugins, supports scan presets from /api/scan-presets when available, and wires nuclei to the pipeline endpoint + local scanners to /api/scan/fetch-and-scan - Import tab drag/drop multipart upload to /api/ingest - Preserves wordlist picker modal, TTY ANSI handling, CVE/audit scanner progress streaming from the prior OperationsPanel 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/OperationsPanel.tsxto match the new design: left card with Crawl / Fuzz / Scan / Import tabs, right card "Live runs" with a per-run progress stack and session counters, collapsible console with run filterfrontend/src/styles/screens.csswith scoped.opstokens + styles (self-contained — does not touch existing panel styles)/api/ingest/crawl/stream), ffuf/feroxbuster via/api/tools/run, nuclei via pipeline endpoint,/api/scan/fetch-and-scan,/api/pluginsreflection, scan preset dropdown, wordlist picker modal, multipart import to/api/ingest, graph-stats pollingrun_idand filtered by the selected run; session counters poll/api/graph/statsand/api/findingsevery 3s while a run is active, showing delta since run startTest plan
npx tsc --noEmit— no new errors in touched files (pre-existing errors in GraphPanel.tsx / App.tsx unrelated)npm run build— cleanhttp://example.comand Start Crawl — SSE events appear in the console, progress cards update, no uncaught errors in browser console🤖 Generated with Claude Code