feat(terminology): workplan-first dashboard and retirement backlog (STATE-WP-0069)
Add the ranked legacy-interface backlog (T01), rename dashboard navigation and user-facing copy to workplan while preserving wire-compat API keys (T02), and activate the retirement workplan with T01/T02 marked done.
This commit is contained in:
parent
4dc69bb8f5
commit
b2264d1f06
44 changed files with 382 additions and 253 deletions
21
dashboard/test/terminology-nav.test.mjs
Normal file
21
dashboard/test/terminology-nav.test.mjs
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import assert from "node:assert/strict";
|
||||
import {readFileSync} from "node:fs";
|
||||
import test from "node:test";
|
||||
import {fileURLToPath} from "node:url";
|
||||
import {dirname, join} from "node:path";
|
||||
|
||||
const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
||||
const config = readFileSync(join(root, "observablehq.config.js"), "utf8");
|
||||
const indexMd = readFileSync(join(root, "src/index.md"), "utf8");
|
||||
|
||||
test("dashboard navigation uses workplan labels", () => {
|
||||
assert.match(config, /name: "Workplans"/);
|
||||
assert.doesNotMatch(config, /name: "Workstreams"/);
|
||||
});
|
||||
|
||||
test("overview page uses workplan-first user-facing copy", () => {
|
||||
assert.match(indexMd, /## Workplans by Repository/);
|
||||
assert.match(indexMd, /Active Workplans/);
|
||||
assert.doesNotMatch(indexMd, /No active workstreams\./);
|
||||
assert.doesNotMatch(indexMd, /Active Workstreams/);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue