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
|
|
@ -174,13 +174,13 @@ display(html`<div style="display:grid;grid-template-columns:repeat(auto-fit,minm
|
|||
const sorted = sortRows(aggregate.by_workstream ?? [], sortOrder);
|
||||
const rows = sorted.slice(0, maxResults);
|
||||
if (rows.length === 0) {
|
||||
display(html`<p style="color:var(--theme-foreground-muted)">No workstream data yet.</p>`);
|
||||
display(html`<p style="color:var(--theme-foreground-muted)">No workplan data yet.</p>`);
|
||||
} else {
|
||||
display(Inputs.table(rows.map((r, i) => ({...r, _ref: i})), {
|
||||
columns: ["_ref", "label", "tokens_in", "tokens_out", "tokens_total", "event_count"],
|
||||
header: {_ref: "REF", label: "Workstream", tokens_in: "Tokens In", tokens_out: "Tokens Out", tokens_total: "Total", event_count: "Events"},
|
||||
header: {_ref: "REF", label: "Workplan", tokens_in: "Tokens In", tokens_out: "Tokens Out", tokens_total: "Total", event_count: "Events"},
|
||||
format: {
|
||||
_ref: (_, i) => refCell(i + 1, "workstreams", rows[i].scope_id),
|
||||
_ref: (_, i) => refCell(i + 1, "workplans", rows[i].scope_id),
|
||||
label: d => nameCell(d, d),
|
||||
tokens_in: d => d.toLocaleString(),
|
||||
tokens_out: d => d.toLocaleString(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue