feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
---
|
|
|
|
|
title: Technical Debt
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
```js
|
2026-05-11 17:58:18 +02:00
|
|
|
import {API, POLL_HEAVY, apiFetch, pollDelay, waitForVisible} from "./components/config.js";
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
const tdState = (async function*() {
|
2026-05-06 04:04:53 +02:00
|
|
|
let failures = 0;
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
while (true) {
|
|
|
|
|
let data = [], ok = false;
|
|
|
|
|
try {
|
2026-03-02 23:39:17 +01:00
|
|
|
const [rt, rw, rto, rr] = await Promise.all([
|
2026-05-06 04:04:53 +02:00
|
|
|
apiFetch("/technical-debt/"),
|
2026-06-04 08:25:31 +02:00
|
|
|
apiFetch("/workplans/"),
|
2026-05-06 04:04:53 +02:00
|
|
|
apiFetch("/topics/"),
|
|
|
|
|
apiFetch("/repos/"),
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
]);
|
2026-03-02 23:39:17 +01:00
|
|
|
ok = rt.ok && rw.ok && rto.ok && rr.ok;
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
if (ok) {
|
2026-03-02 23:39:17 +01:00
|
|
|
const [tdList, wsList, topicList, repoList] = await Promise.all([rt.json(), rw.json(), rto.json(), rr.json()]);
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
const topicMap = Object.fromEntries(topicList.map(t => [t.id, t]));
|
2026-03-02 23:39:17 +01:00
|
|
|
const repoMap = Object.fromEntries(repoList.map(r => [r.id, r]));
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
const wsMap = Object.fromEntries(wsList.map(w => [w.id, {
|
2026-03-02 23:39:17 +01:00
|
|
|
...w, domain: repoMap[w.repo_id]?.domain_slug ?? topicMap[w.topic_id]?.domain_slug ?? "unknown",
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
}]));
|
|
|
|
|
data = tdList.map(t => ({
|
|
|
|
|
...t,
|
|
|
|
|
workstream_title: wsMap[t.workstream_id]?.title ?? null,
|
|
|
|
|
})).sort((a, b) => {
|
|
|
|
|
const sv = {critical: 0, high: 1, medium: 2, low: 3};
|
|
|
|
|
const st = {open: 0, in_progress: 1, deferred: 2, resolved: 3, wont_fix: 4};
|
|
|
|
|
const sd = (st[a.status] ?? 9) - (st[b.status] ?? 9);
|
|
|
|
|
return sd !== 0 ? sd : (sv[a.severity] ?? 9) - (sv[b.severity] ?? 9);
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
} catch {}
|
2026-05-06 04:04:53 +02:00
|
|
|
failures = ok ? 0 : failures + 1;
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
yield {data, ok, ts: new Date()};
|
2026-05-11 17:58:18 +02:00
|
|
|
await waitForVisible(pollDelay({ok, base: POLL_HEAVY, failures}));
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
}
|
|
|
|
|
})();
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
const data = tdState.data ?? [];
|
|
|
|
|
const _ok = tdState.ok ?? false;
|
|
|
|
|
const _ts = tdState.ts;
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
import {MultiSelect} from "./components/multiselect.js";
|
|
|
|
|
|
|
|
|
|
const STATUSES = ["open", "in_progress", "resolved", "deferred", "wont_fix"];
|
|
|
|
|
const SEVERITIES = ["critical", "high", "medium", "low"];
|
feat(state-hub): implement v0.5 — dynamic domains & multi-repo
Replaces the hardcoded 6-domain PostgreSQL ENUM with a first-class
`domains` DB table, and adds a `managed_repos` table for multi-repo
support per domain.
P1 — Domain as a DB entity:
- Migration b1c2d3e4f5a6: creates `domains` table, migrates topics.domain
ENUM column to domain_id FK, drops the domain ENUM type
- Domain ORM model (api/models/domain.py) + Pydantic schemas
- Domain API router: GET/POST /domains/, GET/PATCH /domains/{slug}/,
rename and archive endpoints with EP/TD cascade on rename
- Topic model updated: domain_id FK + @property domain_slug for
backwards-compatible JSON serialization (field renamed domain → domain_slug)
- TopicCreate/TopicRead updated; seed.py rewritten to use FK lookup
P2 — Multi-repo support:
- ManagedRepo ORM model (api/models/managed_repo.py) + schemas
- Repo API router: GET/POST /repos/, GET/PATCH /repos/{slug}/, archive
- Makefile: add-domain, rename-domain, add-repo, list-repos targets
- register_project.sh: verify domain via /domains/ API + POST /repos/
P3 — MCP tools & live validation:
- 6 new MCP tools: list_domains, create_domain, rename_domain,
archive_domain, list_domain_repos, register_repo
- EP/TD routers: replace hardcoded VALID_DOMAINS set with per-request
DB lookup — returns 422 with list of valid slugs on unknown domain
- State summary: adds domains: list[DomainSummary] (slug, name,
repo_count, active_workstream_count, ep_count, td_count)
- TOOLS.md updated with domain management section
P4 — Dashboard:
- New domains.md page with KPI row + domain cards + repo lists
- domains.json.py + repos.json.py data loaders
- Domains page added to observablehq.config.js nav
- workstreams.md, extensions.md, techdept.md: domain_slug fix +
dynamic domain list loaded from /domains/ API (no longer hardcoded)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-28 15:20:15 +01:00
|
|
|
const _domainsResp = await fetch(`${API}/domains/?status=active`).catch(() => null);
|
|
|
|
|
const DOMAINS = _domainsResp?.ok
|
|
|
|
|
? (await _domainsResp.json()).map(d => d.slug)
|
|
|
|
|
: ["custodian", "railiance", "markitect", "coulomb_social", "personhood", "foerster_capabilities"];
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
const DEBT_TYPES = ["design", "implementation", "test", "docs", "dependencies", "performance", "security", "other"];
|
|
|
|
|
|
|
|
|
|
const _filtersForm = Inputs.form(
|
|
|
|
|
{
|
|
|
|
|
status: MultiSelect(STATUSES, {label: "Status", placeholder: "All statuses"}),
|
|
|
|
|
severity: MultiSelect(SEVERITIES, {label: "Severity", placeholder: "All severities"}),
|
|
|
|
|
domain: MultiSelect(DOMAINS, {label: "Domain", placeholder: "All domains"}),
|
|
|
|
|
debt_type: MultiSelect(DEBT_TYPES, {label: "Type", placeholder: "All types"}),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
template: ({status, severity, domain, debt_type}) => html`<div class="filter-bar">
|
|
|
|
|
${status}${severity}${domain}${debt_type}
|
|
|
|
|
</div>`,
|
|
|
|
|
}
|
|
|
|
|
);
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
const filters = Generators.input(_filtersForm);
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
const filtered = data.filter(t =>
|
|
|
|
|
(filters.status.length === 0 || filters.status.includes(t.status)) &&
|
|
|
|
|
(filters.severity.length === 0 || filters.severity.includes(t.severity)) &&
|
2026-03-02 23:39:17 +01:00
|
|
|
(filters.domain.length === 0 || filters.domain.includes(t.domain_slug)) &&
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
(filters.debt_type.length === 0 || filters.debt_type.includes(t.debt_type))
|
|
|
|
|
);
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
# Technical Debt
|
|
|
|
|
|
|
|
|
|
```js
|
feat(dashboard): add entity detail modal and fixed-layout tables
Replace Inputs.table() with buildEntityTable() across workstreams and
tasks pages. Add click-to-detail modal (openEntityModal) on all entity
list views: workstreams, tasks, extension points, and technical debt.
- New component: src/components/entity-modal.js
- openEntityModal(entity, type) — full-detail overlay (Esc/click-outside to close)
- buildEntityTable(rows, cols, onRowClick) — table-layout:fixed, overflow-safe wrapper
- CSS injected lazily; no separate stylesheet required
- Tables: table-layout:fixed keeps content within the content column;
title col 32%, workstream col 14%, all cells ellipsis + title tooltip
- Cards (EP, TD): onclick → modal; workstream name span gets title tooltip
- Blocked task cards also wired to modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 18:28:44 +01:00
|
|
|
import {injectTocTop} from "./components/toc-sidebar.js";
|
|
|
|
|
import {withDocHelp} from "./components/doc-overlay.js";
|
|
|
|
|
import {openEntityModal} from "./components/entity-modal.js";
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
|
|
|
|
|
// ── KPI sidebar ───────────────────────────────────────────────────────────────
|
|
|
|
|
const _open = data.filter(t => t.status === "open" || t.status === "in_progress");
|
|
|
|
|
const _critical = data.filter(t => t.severity === "critical" && t.status === "open");
|
|
|
|
|
const _high = data.filter(t => t.severity === "high" && t.status === "open");
|
|
|
|
|
const _resolved = data.filter(t => t.status === "resolved");
|
|
|
|
|
const _total = data.filter(t => t.status !== "wont_fix").length;
|
|
|
|
|
const _resolvedPct = _total > 0 ? Math.round(_resolved.length / _total * 100) : 0;
|
|
|
|
|
|
|
|
|
|
const _kpiBox = html`<div class="kpi-infobox">
|
|
|
|
|
<div class="kpi-infobox-title">Tech Debt</div>
|
|
|
|
|
<div class="kpi-row">
|
|
|
|
|
<span class="kpi-row-label">open</span>
|
|
|
|
|
<div class="kpi-row-right"><div class="kpi-row-value">${_open.length}</div></div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="kpi-row">
|
|
|
|
|
<span class="kpi-row-label">critical</span>
|
|
|
|
|
<div class="kpi-row-right">
|
|
|
|
|
<div class="kpi-row-value" style="color:${_critical.length > 0 ? '#dc2626' : 'inherit'}">${_critical.length}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="kpi-row">
|
|
|
|
|
<span class="kpi-row-label">high</span>
|
|
|
|
|
<div class="kpi-row-right">
|
|
|
|
|
<div class="kpi-row-value" style="color:${_high.length > 0 ? '#d97706' : 'inherit'}">${_high.length}</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="kpi-row" style="border-top:1px solid var(--theme-foreground-faint,#eee)">
|
|
|
|
|
<span class="kpi-row-label">resolved</span>
|
|
|
|
|
<div class="kpi-row-right">
|
|
|
|
|
<div class="kpi-row-value">${_resolved.length}</div>
|
|
|
|
|
<div class="kpi-row-sub">${_resolvedPct}% of total</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>`;
|
|
|
|
|
|
|
|
|
|
// ── Live indicator ─────────────────────────────────────────────────────────────
|
|
|
|
|
const _liveEl = html`<div class="live-indicator">
|
|
|
|
|
<span style="color:${_ok ? 'var(--theme-foreground-focus)' : 'red'}">●</span>
|
|
|
|
|
${_ok
|
|
|
|
|
? `Live · updated ${_ts?.toLocaleTimeString()}`
|
|
|
|
|
: html`<span style="color:red">Offline — run: <code>make api</code></span>`}
|
|
|
|
|
</div>`;
|
|
|
|
|
withDocHelp(_liveEl, "/docs/live-data");
|
|
|
|
|
|
feat(dashboard): nav restructure, full context-help coverage, 11 new ref docs
Navigation:
- New order: Overview · Todo · Domains · Repos · Workstreams (collapsible,
open:false, with atomic sub-entries: Decisions, Tasks, Debt, Extends,
Dependencies) · Contributions · SBOM · Progress · Reference (collapsible)
- Reference section gains path:/reference landing page; all 18 doc pages
listed in nav (alphabetical) and in reference.md table
New pages:
- todo.md — Internal / Ecosystem / Third-party todo classification
- dependencies.md — dependency edge table derived from state/summary
- reference.md — Reference landing page with full doc index
New reference doc pages (11):
contributions, debt, dependencies, domains, extensions, overview,
repos, tasks, todo + reference (meta) already added previously
doc-overlay.js — lazy bubblehelp tooltip:
- _titleCache Map + _fetchDocTitle(docPath): on first hover of any ?
button, fetches the target doc page, parses <h1>, sets btn.title
- Native browser tooltip appears exactly on the ? circle on subsequent hover
Context-help wired on all 14 dashboard pages:
- h1 withDocHelp added to: index, todo, domains, repos, tasks, techdept,
extensions, dependencies (contributions/workstreams/decisions/sbom/
progress/reference were already wired)
- domains.md + repos.md: added missing withDocHelp import and live-data link
- tasks/techdept/extensions: removed duplicate _h1 const that caused
SyntaxError: Identifier '_h1' has already been declared
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 23:46:26 +01:00
|
|
|
const _h1 = document.querySelector("#observablehq-main h1");
|
|
|
|
|
if (_h1) { _h1.style.position = "relative"; withDocHelp(_h1, "/docs/debt"); }
|
|
|
|
|
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
injectTocTop("td-kpi-box", _kpiBox);
|
|
|
|
|
injectTocTop("live-indicator", _liveEl);
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## By Type & Severity
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
import * as Plot from "npm:@observablehq/plot";
|
|
|
|
|
|
|
|
|
|
const SEVERITY_COLOR = {critical: "#dc2626", high: "#ea580c", medium: "#3b82f6", low: "#94a3b8"};
|
|
|
|
|
const TYPE_COLOR = {
|
|
|
|
|
design: "#8b5cf6", implementation: "#3b82f6", test: "#f59e0b",
|
|
|
|
|
docs: "#10b981", dependencies: "#6366f1", performance: "#ec4899",
|
|
|
|
|
security: "#dc2626", other: "#94a3b8",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const bySeverity = SEVERITIES
|
|
|
|
|
.map(s => ({severity: s, count: filtered.filter(t => t.severity === s && t.status !== "resolved" && t.status !== "wont_fix").length}))
|
|
|
|
|
.filter(d => d.count > 0);
|
|
|
|
|
|
|
|
|
|
const byType = DEBT_TYPES
|
|
|
|
|
.map(t => ({type: t, count: filtered.filter(d => d.debt_type === t).length}))
|
|
|
|
|
.filter(d => d.count > 0);
|
|
|
|
|
|
|
|
|
|
if (filtered.length === 0) {
|
|
|
|
|
display(html`<p class="dim">No technical debt items match the current filter.</p>`);
|
|
|
|
|
} else {
|
|
|
|
|
display(html`<div class="chart-row">
|
|
|
|
|
${bySeverity.length > 0 ? Plot.plot({
|
|
|
|
|
marks: [
|
|
|
|
|
Plot.barX(bySeverity, {y: "severity", x: "count", fill: d => SEVERITY_COLOR[d.severity] ?? "#94a3b8", tip: true}),
|
|
|
|
|
Plot.ruleX([0]),
|
|
|
|
|
],
|
|
|
|
|
marginLeft: 80, width: 300, title: "Open by severity",
|
|
|
|
|
}) : ""}
|
|
|
|
|
${byType.length > 0 ? Plot.plot({
|
|
|
|
|
marks: [
|
|
|
|
|
Plot.barX(byType, {y: "type", x: "count", fill: d => TYPE_COLOR[d.type] ?? "#94a3b8", tip: true}),
|
|
|
|
|
Plot.ruleX([0]),
|
|
|
|
|
],
|
|
|
|
|
marginLeft: 110, width: 360, title: "By type",
|
|
|
|
|
}) : ""}
|
|
|
|
|
</div>`);
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Critical & High
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
const _urgent = filtered.filter(t => (t.severity === "critical" || t.severity === "high") && t.status === "open");
|
|
|
|
|
|
|
|
|
|
if (_urgent.length === 0) {
|
|
|
|
|
display(html`<p class="dim">No critical or high severity open items in current filter. ✓</p>`);
|
|
|
|
|
} else {
|
|
|
|
|
display(html`<div class="td-list">${_urgent.map(t => html`
|
feat(dashboard): add entity detail modal and fixed-layout tables
Replace Inputs.table() with buildEntityTable() across workstreams and
tasks pages. Add click-to-detail modal (openEntityModal) on all entity
list views: workstreams, tasks, extension points, and technical debt.
- New component: src/components/entity-modal.js
- openEntityModal(entity, type) — full-detail overlay (Esc/click-outside to close)
- buildEntityTable(rows, cols, onRowClick) — table-layout:fixed, overflow-safe wrapper
- CSS injected lazily; no separate stylesheet required
- Tables: table-layout:fixed keeps content within the content column;
title col 32%, workstream col 14%, all cells ellipsis + title tooltip
- Cards (EP, TD): onclick → modal; workstream name span gets title tooltip
- Blocked task cards also wired to modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 18:28:44 +01:00
|
|
|
<div class="td-item td-sev-${t.severity} entity-row"
|
|
|
|
|
onclick=${() => openEntityModal(t, "td")}
|
|
|
|
|
title="Click to view full details">
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
<div class="td-item-header">
|
|
|
|
|
${t.td_id ? html`<span class="td-ref">${t.td_id}</span>` : ""}
|
|
|
|
|
<span class="td-sev-badge td-sev-${t.severity}">${t.severity}</span>
|
|
|
|
|
<span class="td-type-badge">${t.debt_type}</span>
|
|
|
|
|
<span class="td-domain">${t.domain}</span>
|
feat(dashboard): add entity detail modal and fixed-layout tables
Replace Inputs.table() with buildEntityTable() across workstreams and
tasks pages. Add click-to-detail modal (openEntityModal) on all entity
list views: workstreams, tasks, extension points, and technical debt.
- New component: src/components/entity-modal.js
- openEntityModal(entity, type) — full-detail overlay (Esc/click-outside to close)
- buildEntityTable(rows, cols, onRowClick) — table-layout:fixed, overflow-safe wrapper
- CSS injected lazily; no separate stylesheet required
- Tables: table-layout:fixed keeps content within the content column;
title col 32%, workstream col 14%, all cells ellipsis + title tooltip
- Cards (EP, TD): onclick → modal; workstream name span gets title tooltip
- Blocked task cards also wired to modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 18:28:44 +01:00
|
|
|
${t.workstream_title ? html`<span class="td-ws" title=${t.workstream_title}>${t.workstream_title}</span>` : ""}
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="td-title">${t.title}</div>
|
feat(dashboard): add entity detail modal and fixed-layout tables
Replace Inputs.table() with buildEntityTable() across workstreams and
tasks pages. Add click-to-detail modal (openEntityModal) on all entity
list views: workstreams, tasks, extension points, and technical debt.
- New component: src/components/entity-modal.js
- openEntityModal(entity, type) — full-detail overlay (Esc/click-outside to close)
- buildEntityTable(rows, cols, onRowClick) — table-layout:fixed, overflow-safe wrapper
- CSS injected lazily; no separate stylesheet required
- Tables: table-layout:fixed keeps content within the content column;
title col 32%, workstream col 14%, all cells ellipsis + title tooltip
- Cards (EP, TD): onclick → modal; workstream name span gets title tooltip
- Blocked task cards also wired to modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 18:28:44 +01:00
|
|
|
${t.description ? html`<div class="td-desc">${t.description.slice(0, 220)}${t.description.length > 220 ? " …" : ""}</div>` : ""}
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
${t.location ? html`<div class="td-location"><code>${t.location}</code></div>` : ""}
|
|
|
|
|
</div>
|
|
|
|
|
`)}</div>`);
|
|
|
|
|
}
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## All Technical Debt
|
|
|
|
|
|
|
|
|
|
```js
|
|
|
|
|
display(_filtersForm);
|
|
|
|
|
display(html`<p><strong>${filtered.length}</strong> items shown.</p>`);
|
|
|
|
|
|
|
|
|
|
display(html`<div class="td-list">${filtered.map(t => html`
|
feat(dashboard): add entity detail modal and fixed-layout tables
Replace Inputs.table() with buildEntityTable() across workstreams and
tasks pages. Add click-to-detail modal (openEntityModal) on all entity
list views: workstreams, tasks, extension points, and technical debt.
- New component: src/components/entity-modal.js
- openEntityModal(entity, type) — full-detail overlay (Esc/click-outside to close)
- buildEntityTable(rows, cols, onRowClick) — table-layout:fixed, overflow-safe wrapper
- CSS injected lazily; no separate stylesheet required
- Tables: table-layout:fixed keeps content within the content column;
title col 32%, workstream col 14%, all cells ellipsis + title tooltip
- Cards (EP, TD): onclick → modal; workstream name span gets title tooltip
- Blocked task cards also wired to modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 18:28:44 +01:00
|
|
|
<div class="td-item td-status-${t.status} entity-row"
|
|
|
|
|
onclick=${() => openEntityModal(t, "td")}
|
|
|
|
|
title="Click to view full details">
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
<div class="td-item-header">
|
|
|
|
|
${t.td_id ? html`<span class="td-ref">${t.td_id}</span>` : ""}
|
|
|
|
|
<span class="td-sev-badge td-sev-${t.severity}">${t.severity}</span>
|
|
|
|
|
<span class="td-type-badge">${t.debt_type}</span>
|
|
|
|
|
<span class="td-badge td-badge-${t.status}">${t.status.replace("_", " ")}</span>
|
|
|
|
|
<span class="td-domain">${t.domain}</span>
|
feat(dashboard): add entity detail modal and fixed-layout tables
Replace Inputs.table() with buildEntityTable() across workstreams and
tasks pages. Add click-to-detail modal (openEntityModal) on all entity
list views: workstreams, tasks, extension points, and technical debt.
- New component: src/components/entity-modal.js
- openEntityModal(entity, type) — full-detail overlay (Esc/click-outside to close)
- buildEntityTable(rows, cols, onRowClick) — table-layout:fixed, overflow-safe wrapper
- CSS injected lazily; no separate stylesheet required
- Tables: table-layout:fixed keeps content within the content column;
title col 32%, workstream col 14%, all cells ellipsis + title tooltip
- Cards (EP, TD): onclick → modal; workstream name span gets title tooltip
- Blocked task cards also wired to modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 18:28:44 +01:00
|
|
|
${t.workstream_title ? html`<span class="td-ws" title=${t.workstream_title}>${t.workstream_title}</span>` : ""}
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
</div>
|
|
|
|
|
<div class="td-title">${t.title}</div>
|
feat(dashboard): add entity detail modal and fixed-layout tables
Replace Inputs.table() with buildEntityTable() across workstreams and
tasks pages. Add click-to-detail modal (openEntityModal) on all entity
list views: workstreams, tasks, extension points, and technical debt.
- New component: src/components/entity-modal.js
- openEntityModal(entity, type) — full-detail overlay (Esc/click-outside to close)
- buildEntityTable(rows, cols, onRowClick) — table-layout:fixed, overflow-safe wrapper
- CSS injected lazily; no separate stylesheet required
- Tables: table-layout:fixed keeps content within the content column;
title col 32%, workstream col 14%, all cells ellipsis + title tooltip
- Cards (EP, TD): onclick → modal; workstream name span gets title tooltip
- Blocked task cards also wired to modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 18:28:44 +01:00
|
|
|
${t.description ? html`<div class="td-desc">${t.description.slice(0, 220)}${t.description.length > 220 ? " …" : ""}</div>` : ""}
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
${t.location ? html`<div class="td-location"><code>${t.location}</code></div>` : ""}
|
|
|
|
|
</div>
|
|
|
|
|
`)}
|
|
|
|
|
</div>`);
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
/* ── Live indicator ───────────────────────────────────────────────────────── */
|
|
|
|
|
.live-indicator { font-size: 0.8rem; color: gray; position: relative; padding: 0.55rem 1.8rem 0.55rem 0.7rem; margin-bottom: 0.75rem; }
|
|
|
|
|
|
|
|
|
|
/* ── KPI infobox ──────────────────────────────────────────────────────────── */
|
|
|
|
|
.kpi-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.3rem 0; border-top: 1px solid var(--theme-foreground-faint, #eee); }
|
|
|
|
|
.kpi-row:first-of-type { border-top: none; }
|
|
|
|
|
.kpi-row-label { font-size: 0.8rem; color: var(--theme-foreground-muted, #666); }
|
|
|
|
|
.kpi-row-right { text-align: right; }
|
|
|
|
|
.kpi-row-value { font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; }
|
|
|
|
|
.kpi-row-sub { font-size: 0.68rem; color: var(--theme-foreground-faint, #aaa); }
|
|
|
|
|
|
|
|
|
|
/* ── Charts ───────────────────────────────────────────────────────────────── */
|
|
|
|
|
.chart-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
|
|
|
|
|
|
|
|
|
|
/* ── Filters ──────────────────────────────────────────────────────────────── */
|
|
|
|
|
|
|
|
|
|
/* ── TD list ──────────────────────────────────────────────────────────────── */
|
|
|
|
|
.td-list { display: flex; flex-direction: column; gap: 0.5rem; }
|
|
|
|
|
.td-item { border-left: 3px solid #94a3b8; border-radius: 0 6px 6px 0; background: var(--theme-background-alt); padding: 0.65rem 0.9rem; }
|
feat(dashboard): add entity detail modal and fixed-layout tables
Replace Inputs.table() with buildEntityTable() across workstreams and
tasks pages. Add click-to-detail modal (openEntityModal) on all entity
list views: workstreams, tasks, extension points, and technical debt.
- New component: src/components/entity-modal.js
- openEntityModal(entity, type) — full-detail overlay (Esc/click-outside to close)
- buildEntityTable(rows, cols, onRowClick) — table-layout:fixed, overflow-safe wrapper
- CSS injected lazily; no separate stylesheet required
- Tables: table-layout:fixed keeps content within the content column;
title col 32%, workstream col 14%, all cells ellipsis + title tooltip
- Cards (EP, TD): onclick → modal; workstream name span gets title tooltip
- Blocked task cards also wired to modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 18:28:44 +01:00
|
|
|
.td-item.entity-row { cursor: pointer; transition: filter 0.1s; }
|
|
|
|
|
.td-item.entity-row:hover { filter: brightness(0.97); }
|
feat(state-hub): add Extension Points and Technical Debt tracking
New entity types (DB tables, API routers, Pydantic schemas, Alembic
migration a3f1c2d4e5b6):
- extension_points: ep_id, domain, title, ep_type, status, priority,
location, description, topic_id, workstream_id
- technical_debt: td_id, domain, title, debt_type, severity, status,
location, description, topic_id, workstream_id
MCP server: 6 new tools — register_extension_point, list_extension_points,
update_ep_status, register_technical_debt, list_technical_debt,
update_td_status (each write emits a progress_event)
Dashboard: two new pages (extensions.md, techdept.md) with KPI sidebar,
charts, urgent-items section, and filterable card lists. Both added to
nav in observablehq.config.js.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-27 07:29:51 +01:00
|
|
|
.td-sev-critical { border-left-color: #dc2626; }
|
|
|
|
|
.td-sev-high { border-left-color: #ea580c; }
|
|
|
|
|
.td-sev-medium { border-left-color: #3b82f6; }
|
|
|
|
|
.td-sev-low { border-left-color: #94a3b8; }
|
|
|
|
|
.td-status-resolved { opacity: 0.55; }
|
|
|
|
|
.td-status-wont_fix { opacity: 0.4; }
|
|
|
|
|
.td-item-header { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin-bottom: 0.3rem; }
|
|
|
|
|
.td-ref { font-family: monospace; font-size: 0.72rem; color: var(--theme-foreground-muted); background: var(--theme-background); border: 1px solid var(--theme-foreground-faint, #ddd); border-radius: 4px; padding: 0.05rem 0.35rem; }
|
|
|
|
|
.td-sev-badge { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 10px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; }
|
|
|
|
|
.td-sev-critical { background: #fee2e2; color: #991b1b; border-left-color: #dc2626; }
|
|
|
|
|
.td-sev-high { background: #ffedd5; color: #9a3412; border-left-color: #ea580c; }
|
|
|
|
|
.td-sev-medium { background: #dbeafe; color: #1e40af; border-left-color: #3b82f6; }
|
|
|
|
|
.td-sev-low { background: #f1f5f9; color: #475569; border-left-color: #94a3b8; }
|
|
|
|
|
.td-type-badge { display: inline-block; padding: 0.1rem 0.4rem; border-radius: 4px; font-size: 0.68rem; font-weight: 600; font-family: monospace; background: #f1f5f9; color: #475569; }
|
|
|
|
|
.td-badge { display: inline-block; padding: 0.1rem 0.45rem; border-radius: 10px; font-size: 0.7rem; font-weight: 500; }
|
|
|
|
|
.td-badge-open { background: #dbeafe; color: #1e40af; }
|
|
|
|
|
.td-badge-in_progress { background: #fef3c7; color: #92400e; }
|
|
|
|
|
.td-badge-resolved { background: #dcfce7; color: #166534; }
|
|
|
|
|
.td-badge-deferred { background: #f1f5f9; color: #64748b; }
|
|
|
|
|
.td-badge-wont_fix { background: #f3f4f6; color: #9ca3af; }
|
|
|
|
|
.td-domain { color: var(--theme-foreground-muted); font-size: 0.75rem; }
|
|
|
|
|
.td-ws { font-style: italic; color: var(--theme-foreground-faint); font-size: 0.72rem; }
|
|
|
|
|
.td-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.15rem; }
|
|
|
|
|
.td-desc { font-size: 0.82rem; color: var(--theme-foreground-muted); line-height: 1.45; }
|
|
|
|
|
.td-location { font-size: 0.75rem; color: var(--theme-foreground-faint); margin-top: 0.2rem; }
|
|
|
|
|
|
|
|
|
|
/* ── Utility ──────────────────────────────────────────────────────────────── */
|
|
|
|
|
.dim { color: gray; font-style: italic; }
|
|
|
|
|
</style>
|