Skip to content

Commit 6e41615

Browse files
danielocenoclaude
andcommitted
feat(report): brand favicon, drop sidebar tier pill
Pass FAVICON_WHITE to the theme shell and remove the FAIL/PASS tier pill. Repoint @stelnyx/report-theme to the local workspace build. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 0682e9d commit 6e41615

3 files changed

Lines changed: 13 additions & 9 deletions

File tree

lib/report.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import {
44
kpiGrid as themeKpiGrid,
55
bars as themeBars,
66
findingsTable as themeFindingsTable,
7+
FAVICON_WHITE,
78
} from "@stelnyx/report-theme";
89
import { bandFromScore } from "./score.mjs";
910

@@ -481,7 +482,7 @@ export function renderHtml(rep, targetLabel) {
481482
brand: "APIGATE",
482483
target: targetLabel || rep.target || "",
483484
meta: `v${rep.version} · rubric ${rep.rubricVersion || "v1"} · risk ${rep.riskVersion || "v1"}`,
484-
tier: { label: status, tone: status === "PASS" ? "pass" : "warn" },
485+
favicon: FAVICON_WHITE,
485486
product: "ApiGate Report",
486487
score: {
487488
num: headline,

package-lock.json

Lines changed: 10 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"scan": "node apigate.js ."
6363
},
6464
"dependencies": {
65-
"@stelnyx/report-theme": "^0.1.0",
65+
"@stelnyx/report-theme": "file:../report-theme",
6666
"acorn": "^8.12.0",
6767
"acorn-walk": "^8.3.0",
6868
"yaml": "^2.5.0"

0 commit comments

Comments
 (0)