@design-parity/report-html 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -6
- package/dist/index-page.d.ts +6 -0
- package/dist/index-page.d.ts.map +1 -1
- package/dist/index-page.js +50 -13
- package/dist/index-page.js.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -51,14 +51,27 @@ machine-named directories. Given the run's components it returns
|
|
|
51
51
|
`{ readme, html }`:
|
|
52
52
|
|
|
53
53
|
- `README.md` — what GitHub renders when you open the branch: a "generated, do
|
|
54
|
-
not edit" banner, the source commit,
|
|
55
|
-
its report.
|
|
56
|
-
- `index.html` — a self-contained landing page for GitHub Pages / local view
|
|
54
|
+
not edit" banner, the source commit, an "open the board" link, and a table
|
|
55
|
+
linking each component to its report.
|
|
56
|
+
- `index.html` — a self-contained landing page for GitHub Pages / local view,
|
|
57
|
+
with a small **preview thumbnail of the real candidate render** (reality, not
|
|
58
|
+
the mock) next to each component, inlined as a `data:` URI.
|
|
57
59
|
|
|
58
60
|
Because GitHub serves a linked `.html` blob as source (the slider JS won't run),
|
|
59
|
-
pass the published `repoSlug` + `branch` to wrap
|
|
60
|
-
through `htmlpreview.github.io` so they
|
|
61
|
-
|
|
61
|
+
pass the published `repoSlug` + `branch` to wrap every report link — and the
|
|
62
|
+
"open the board" link to `index.html` — through `htmlpreview.github.io` so they
|
|
63
|
+
render on click without GitHub Pages; without them the links are relative (right
|
|
64
|
+
for Pages / local view). Per-entry thumbnails come from the caller as `data:`
|
|
65
|
+
URIs (`orchestrate` inlines the candidate's first render), keeping this package a
|
|
66
|
+
leaf with no disk reads. Deterministic, same as `renderHtmlReport`.
|
|
67
|
+
|
|
68
|
+
When `repoSlug` + `branch` are set, each entry also gets a **History** link to
|
|
69
|
+
GitHub's commit history for that screen's `report.html`. Since `report.html` is
|
|
70
|
+
regenerated whenever a screen's code or mock changes, its commit log is that
|
|
71
|
+
screen's change timeline. design-parity's `publishBaseline` re-parents each run
|
|
72
|
+
on the branch tip (a linear commit chain, no force), so this works out of the
|
|
73
|
+
box; a force-pushing publisher would flatten the branch to one commit and the
|
|
74
|
+
link would show only the latest run.
|
|
62
75
|
|
|
63
76
|
## CLI
|
|
64
77
|
|
package/dist/index-page.d.ts
CHANGED
|
@@ -29,6 +29,12 @@ export interface IndexEntry {
|
|
|
29
29
|
status: IndexStatus;
|
|
30
30
|
/** Path to the component's `report.html`, relative to the branch root. */
|
|
31
31
|
reportPath?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The real candidate render (reality, not the mock) as a `data:` URI, shown as
|
|
34
|
+
* a small preview on the landing page. Inlined so `index.html` stays
|
|
35
|
+
* self-contained. Omitted when there's no candidate (e.g. a skipped component).
|
|
36
|
+
*/
|
|
37
|
+
thumbnail?: string;
|
|
32
38
|
}
|
|
33
39
|
export interface IndexInput {
|
|
34
40
|
/** Page title (default `Design parity`). */
|
package/dist/index-page.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-page.d.ts","sourceRoot":"","sources":["../src/index-page.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,gFAAgF;AAChF,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9D,MAAM,WAAW,UAAU;IACzB,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,MAAM,EAAE,WAAW,CAAC;IACpB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"index-page.d.ts","sourceRoot":"","sources":["../src/index-page.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,gFAAgF;AAChF,MAAM,MAAM,WAAW,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,CAAC;AAE9D,MAAM,WAAW,UAAU;IACzB,+DAA+D;IAC/D,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,MAAM,EAAE,WAAW,CAAC;IACpB,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACzB,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gFAAgF;IAChF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+CAA+C;IAC/C,OAAO,EAAE,UAAU,EAAE,CAAC;CACvB;AAsDD,uCAAuC;AACvC,wBAAgB,YAAY,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,CAmDtD;AAwCD,oEAAoE;AACpE,wBAAgB,eAAe,CAAC,KAAK,EAAE,UAAU,GAAG,MAAM,CAoCzD;AAED,2DAA2D;AAC3D,wBAAgB,WAAW,CAAC,KAAK,EAAE,UAAU,GAAG;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAE/E"}
|
package/dist/index-page.js
CHANGED
|
@@ -20,13 +20,30 @@ function short(sha) {
|
|
|
20
20
|
function mdCell(value) {
|
|
21
21
|
return value.replace(/\\/g, "\\\\").replace(/\|/g, "\\|");
|
|
22
22
|
}
|
|
23
|
-
/**
|
|
24
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Link target for a branch-relative `.html` path. GitHub serves a linked `.html`
|
|
25
|
+
* blob as source, so when the published repo + branch are known the link is
|
|
26
|
+
* wrapped through htmlpreview.github.io to render on click (works without Pages);
|
|
27
|
+
* otherwise it stays relative (right for Pages / local view).
|
|
28
|
+
*/
|
|
29
|
+
function previewHref(path, input) {
|
|
25
30
|
if (input.repoSlug && input.branch) {
|
|
26
|
-
const blob = `https://github.com/${input.repoSlug}/blob/${input.branch}/${
|
|
31
|
+
const blob = `https://github.com/${input.repoSlug}/blob/${input.branch}/${path}`;
|
|
27
32
|
return `https://htmlpreview.github.io/?${blob}`;
|
|
28
33
|
}
|
|
29
|
-
return `./${
|
|
34
|
+
return `./${path}`;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* GitHub commit-history URL for a branch-relative path, or `undefined` when the
|
|
38
|
+
* repo isn't known. Since `report.html` is regenerated whenever a screen's code
|
|
39
|
+
* or mock changes, its history is that screen's change timeline — provided the
|
|
40
|
+
* publish step commits each run rather than force-updating the branch.
|
|
41
|
+
*/
|
|
42
|
+
function historyHref(path, input) {
|
|
43
|
+
if (input.repoSlug && input.branch) {
|
|
44
|
+
return `https://github.com/${input.repoSlug}/commits/${input.branch}/${path}`;
|
|
45
|
+
}
|
|
46
|
+
return undefined;
|
|
30
47
|
}
|
|
31
48
|
/** Render the branch's `README.md`. */
|
|
32
49
|
export function renderReadme(input) {
|
|
@@ -36,16 +53,27 @@ export function renderReadme(input) {
|
|
|
36
53
|
? ` Rendered from \`${short(input.sourceCommit)}\` — see [\`SOURCE_COMMIT\`](./SOURCE_COMMIT).`
|
|
37
54
|
: " Rendered from the commit in [`SOURCE_COMMIT`](./SOURCE_COMMIT).";
|
|
38
55
|
lines.push(`> **Generated by [design-parity](https://github.com/yschimke/design-parity) — do not edit by hand.**`, `> This branch is rebuilt on every run.${commit}`, "");
|
|
56
|
+
// A one-click previewable entry to the whole board (renders the rendered
|
|
57
|
+
// `index.html` with thumbnails), only useful once it resolves to htmlpreview.
|
|
58
|
+
if (input.repoSlug && input.branch) {
|
|
59
|
+
lines.push(`[**Open the board →**](${previewHref("index.html", input)}) — rendered previews of every screen.`, "");
|
|
60
|
+
}
|
|
39
61
|
if (input.bundleImage) {
|
|
40
62
|
lines.push(``, "");
|
|
41
63
|
}
|
|
42
|
-
|
|
64
|
+
const hasHistory = !!(input.repoSlug && input.branch);
|
|
65
|
+
lines.push(hasHistory ? "| Component | Status | Report | History |" : "| Component | Status | Report |", hasHistory ? "| --- | --- | --- | --- |" : "| --- | --- | --- |");
|
|
43
66
|
for (const e of input.entries) {
|
|
44
67
|
const status = `${STATUS_EMOJI[e.status]} ${STATUS_TEXT[e.status]}`;
|
|
45
68
|
const report = e.reportPath
|
|
46
|
-
? `[report](${
|
|
69
|
+
? `[report](${previewHref(e.reportPath, input)})`
|
|
70
|
+
: "—";
|
|
71
|
+
const history = e.reportPath && historyHref(e.reportPath, input)
|
|
72
|
+
? `[history](${historyHref(e.reportPath, input)})`
|
|
47
73
|
: "—";
|
|
48
|
-
lines.push(
|
|
74
|
+
lines.push(hasHistory
|
|
75
|
+
? `| ${mdCell(e.code)} | ${status} | ${report} | ${history} |`
|
|
76
|
+
: `| ${mdCell(e.code)} | ${status} | ${report} |`);
|
|
49
77
|
}
|
|
50
78
|
lines.push("");
|
|
51
79
|
lines.push("Each report is a self-contained HTML page — open one in a browser to view the", "reference / candidate / diff comparison. GitHub shows a linked `.html` as", "source; use the rendered links above, GitHub Pages, or download and open it.", "");
|
|
@@ -62,9 +90,10 @@ header.page h1{margin:0 0 6px;font-size:18px}
|
|
|
62
90
|
main{padding:20px 28px;max-width:900px}
|
|
63
91
|
.overview{max-width:100%;border:1px solid #26262f;border-radius:10px;margin-bottom:20px}
|
|
64
92
|
table{border-collapse:collapse;width:100%}
|
|
65
|
-
th,td{text-align:left;padding:8px 12px;border-bottom:1px solid #26262f;font-size:13px}
|
|
93
|
+
th,td{text-align:left;padding:8px 12px;border-bottom:1px solid #26262f;font-size:13px;vertical-align:top}
|
|
66
94
|
th{color:#9a9ab0;font-weight:600;text-transform:uppercase;letter-spacing:.04em;font-size:11px}
|
|
67
95
|
td.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
|
|
96
|
+
.thumb{display:block;max-height:140px;max-width:200px;border:1px solid #26262f;border-radius:6px;background:#0c0c11;image-rendering:auto}
|
|
68
97
|
.status{display:inline-block;padding:2px 10px;border-radius:999px;font-weight:600;font-size:12px}
|
|
69
98
|
.status-pass{background:#16351f;color:#7ee29a}
|
|
70
99
|
.status-warn{background:#3a3115;color:#e8c66b}
|
|
@@ -72,12 +101,19 @@ td.code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
|
|
|
72
101
|
.status-skipped{background:#222230;color:#b8b8cc}
|
|
73
102
|
.status-error{background:#3a1820;color:#f08a9c}
|
|
74
103
|
.muted{color:#666}`;
|
|
75
|
-
function rowMarkup(e) {
|
|
104
|
+
function rowMarkup(e, input, hasHistory) {
|
|
76
105
|
const status = `<span class="status status-${e.status}">${STATUS_TEXT[e.status]}</span>`;
|
|
77
106
|
const report = e.reportPath
|
|
78
|
-
? `<a href="
|
|
107
|
+
? `<a href="${escapeHtml(previewHref(e.reportPath, input))}">report</a>`
|
|
79
108
|
: `<span class="muted">—</span>`;
|
|
80
|
-
|
|
109
|
+
const preview = e.thumbnail
|
|
110
|
+
? `<img class="thumb" src="${e.thumbnail}" alt="${escapeHtml(e.code)} candidate render" loading="lazy" />`
|
|
111
|
+
: `<span class="muted">—</span>`;
|
|
112
|
+
const href = e.reportPath ? historyHref(e.reportPath, input) : undefined;
|
|
113
|
+
const historyCell = hasHistory
|
|
114
|
+
? `<td>${href ? `<a href="${escapeHtml(href)}">history</a>` : `<span class="muted">—</span>`}</td>`
|
|
115
|
+
: "";
|
|
116
|
+
return `<tr><td>${preview}</td><td class="code">${escapeHtml(e.code)}</td><td>${status}</td><td>${report}</td>${historyCell}</tr>`;
|
|
81
117
|
}
|
|
82
118
|
/** Render the branch's self-contained `index.html` landing page. */
|
|
83
119
|
export function renderIndexHtml(input) {
|
|
@@ -88,7 +124,8 @@ export function renderIndexHtml(input) {
|
|
|
88
124
|
const overview = input.bundleImage
|
|
89
125
|
? `<img class="overview" src="./${escapeHtml(input.bundleImage)}" alt="Candidate overview" />`
|
|
90
126
|
: "";
|
|
91
|
-
const
|
|
127
|
+
const hasHistory = !!(input.repoSlug && input.branch);
|
|
128
|
+
const rows = input.entries.map((e) => rowMarkup(e, input, hasHistory)).join("\n");
|
|
92
129
|
return `<!doctype html>
|
|
93
130
|
<html lang="en">
|
|
94
131
|
<head>
|
|
@@ -105,7 +142,7 @@ export function renderIndexHtml(input) {
|
|
|
105
142
|
<main>
|
|
106
143
|
${overview}
|
|
107
144
|
<table>
|
|
108
|
-
<thead><tr><th>Component</th><th>Status</th><th>Report</th
|
|
145
|
+
<thead><tr><th>Preview</th><th>Component</th><th>Status</th><th>Report</th>${hasHistory ? "<th>History</th>" : ""}</tr></thead>
|
|
109
146
|
<tbody>
|
|
110
147
|
${rows}
|
|
111
148
|
</tbody>
|
package/dist/index-page.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-page.js","sourceRoot":"","sources":["../src/index-page.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"index-page.js","sourceRoot":"","sources":["../src/index-page.ts"],"names":[],"mappings":"AAuBA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAsCvC,MAAM,WAAW,GAAgC;IAC/C,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;CACf,CAAC;AAEF,MAAM,YAAY,GAAgC;IAChD,IAAI,EAAE,GAAG;IACT,IAAI,EAAE,IAAI;IACV,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,IAAI;CACZ,CAAC;AAEF,SAAS,KAAK,CAAC,GAAW;IACxB,OAAO,mBAAmB,CAAC,IAAI,C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AY,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC;AACvE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@design-parity/report-html",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Self-contained HTML comparison page per parity run: reference | candidate | diff side by side with the verdict findings, inlined to one offline .html file (data-URI PNGs + inline CSS/JS, no external assets).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"test": "vitest run"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@design-parity/core": "^0.1.
|
|
23
|
+
"@design-parity/core": "^0.1.3"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|