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
|
|
@ -80,8 +80,8 @@ export function candidateKeysForWorkplan(item = {}) {
|
|||
|
||||
export function buildCandidateIndex(workplanIndex = {}) {
|
||||
const byCandidate = new Map();
|
||||
const workstreams = workplanIndex.workstreams ?? {};
|
||||
for (const [id, item] of Object.entries(workstreams)) {
|
||||
const workplans = workplanIndex.workplans ?? workplanIndex.workstreams ?? {};
|
||||
for (const [id, item] of Object.entries(workplans)) {
|
||||
const resolved = {id, ...item};
|
||||
byCandidate.set(normalizeCandidate(id), resolved);
|
||||
for (const key of candidateKeysForWorkplan(item)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue