diff --git a/docs/usage/viewer.mdx b/docs/usage/viewer.mdx index 5cffe77c..a04120d6 100644 --- a/docs/usage/viewer.mdx +++ b/docs/usage/viewer.mdx @@ -42,7 +42,7 @@ The UI ships prebuilt with Strix, so there is no extra install and no JavaScript ## Marking False Positives -Open a finding and choose **Mark as false positive** when it is incorrect or does not apply to your target. Choose an optional reason, add an optional note of up to 2,000 characters for future review, and select **Close issue**. The finding shows **Closed · False positive**. Use **Undo** or **Reopen** to reverse the decision. +At the bottom of a finding, choose **Mark as false positive** when it is incorrect or does not apply to your target. Choose an optional reason, add an optional note of up to 2,000 characters for future review, and select **Close issue**. The finding shows **Closed · False positive**. Use **Undo** or **Reopen** to reverse the decision. The **Open / Closed / All** filters keep closed findings available with their original severity and evidence. Counts distinguish open findings from false positives and the total detected. Closing an issue does not mean it was fixed. diff --git a/strix/interface/viewer/frontend/src/components/vulnerability/TriageControls.tsx b/strix/interface/viewer/frontend/src/components/vulnerability/TriageControls.tsx index 87186518..842d428a 100644 --- a/strix/interface/viewer/frontend/src/components/vulnerability/TriageControls.tsx +++ b/strix/interface/viewer/frontend/src/components/vulnerability/TriageControls.tsx @@ -77,7 +77,7 @@ export function TriageControls({ finding, onSave }: { finding: Vulnerability; on ref={triggerRef} type="button" disabled={!finding.can_triage || pending} - className={buttonClass} + className="cursor-pointer rounded px-1 py-1.5 text-xs text-[#888] transition-colors hover:text-white focus-visible:outline focus-visible:outline-offset-4 focus-visible:outline-[#666] disabled:cursor-not-allowed disabled:opacity-50" onClick={() => { setError(null); setMessage(null); @@ -88,16 +88,16 @@ export function TriageControls({ finding, onSave }: { finding: Vulnerability; on {pending ? "Saving…" : finding.status === "closed" ? "Reopen" : "Mark as false positive"} {!finding.can_triage && Triage is unavailable for this finding or run.} - {message && {message}} + {message && {message}} {undo && ( - )} {error &&

{error}

} {reviewed && (
{ event.preventDefault(); @@ -108,9 +108,8 @@ export function TriageControls({ finding, onSave }: { finding: Vulnerability; on }} >
-

Mark as false positive

-

This finding is incorrect or does not apply to your target.

-

Applies to this finding in this run. A later scan may report it again.

+

Mark as false positive

+

Applies to this finding in this run. You can reopen it anytime.