feat: implement audit detail page with findings view (#32) - #75
Merged
Kami-no-san merged 3 commits intoAug 12, 2026
Merged
Conversation
- API: Add PATCH /audits/findings/:id endpoint for finding status updates - Validates status against allowed values (OPEN, ACKNOWLEDGED, etc.) - Enforces authorization (user must own the audit) - Web: Create reusable audit components - FindingCard: expandable card with status selector, code display, AI summary - FindingList: findings with search, severity/status/plugin filters - SeverityChart: pie chart showing severity distribution via recharts - Web: Rewrite audit detail page with real API integration - Fetches audit + findings from API with loading/error/empty states - Stats grid showing security score, status, findings count, duration - Optimistic status updates with revert on failure - Active 'Verify on-chain' button with placeholder - Link to AI Chat for contextual questions - Web: Improve audit list page - Real API integration with status filtering and search - Links to detail pages - Proper loading, empty, and error states - Web: Extract shared API helpers to lib/api-helpers.ts
Emmanuel-Ugochukwu1
force-pushed
the
feat/audit-detail-page
branch
from
August 12, 2026 16:43
13cb73a to
043196c
Compare
Consume the raw response shape returned by the backend (matching the
api-client contract) instead of a { success, data } envelope, and read
the veridion_access_token key so auth is shared across pages.
Contributor
|
Thank you for your contribution @Emmanuel-Ugochukwu1 complete 10 issues and submit your wallet for reward |
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
Implements the audit detail page with a findings view (issue #32).
Changes
/dashboard/audits/[id]) with finding list, severity chart, and finding cards.api-helpers.tsfor typed API calls (apiGet/apiPost).format:check.Closes #32