Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions app/(dashboard)/assets/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,9 @@ export default async function AssetDetailPage({ params }: { params: Promise<{ id
</Card>
</div>

<AssetContentCard assetId={asset.id} productSlug={asset.productSlug} field="description" value={asset.description} />
<AssetContentCard assetId={asset.id} productSlug={asset.productSlug} field="notes" value={asset.notes ?? ''} />

<Tabs defaultValue="work-items">
<Tabs defaultValue="overview">
<TabsList className="bg-muted">
<TabsTrigger value="overview">Overview</TabsTrigger>
<TabsTrigger value="work-items">Work Items ({items.length})</TabsTrigger>
<TabsTrigger value="debt">Tech Debt ({debtItems.length})</TabsTrigger>
<TabsTrigger value="plans">Code Plans ({asset.plans.length})</TabsTrigger>
Expand All @@ -242,6 +240,11 @@ export default async function AssetDetailPage({ params }: { params: Promise<{ id
</TabsTrigger>
</TabsList>

<TabsContent value="overview" className="mt-4 space-y-6">
<AssetContentCard assetId={asset.id} productSlug={asset.productSlug} field="description" value={asset.description} />
<AssetContentCard assetId={asset.id} productSlug={asset.productSlug} field="notes" value={asset.notes ?? ''} />
</TabsContent>

<TabsContent value="work-items" className="mt-4">
{items.length === 0 ? (
<EmptyTab>No work items target this asset yet.</EmptyTab>
Expand Down
3 changes: 2 additions & 1 deletion docs/app-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ Two tabs: **Assets** and **Code Plans**.
---

#### `/assets/[id]` — Asset Detail (v0.3.25)
Header (type/health badges, current version chip from latest shipped release, repo/docs links, owners), summary cards (tech debt score with derived-vs-manual note, open work items, plan count), auto-save description + notes (ideation doc) cards, and tabs:
Header (type/health badges, current version chip from latest shipped release, repo/docs links, owners), summary cards (tech debt score with derived-vs-manual note, open work items, plan count), and tabs (v0.4.4 moved the auto-save description + notes cards into a default **Overview** tab so every tab's content starts above the fold):
- **Overview** (default) — auto-save description + notes (ideation doc) cards
- **Work Items / Tech Debt / Code Plans / Dependencies** — the asset's slices of the existing views (plans with per-asset branch/PR chips)
- **History** (v0.4.0–v0.4.2) — reverse-chronological timeline projected from existing rows: shipped releases as version tick marks (with a sticky version ladder), completed plans, resolved work items, debt movement, and design-log entries (expandable markdown, agent badge for MCP-authored notes, "via plan" anchor chips). Filter chips per entry kind. "Add design note" side panel with optional release/plan anchors and (flagged) AI draft-from-plan.
- **Record** (v0.4.4) — the asset's current-state register: a candidates banner ("N resolved features can join this asset's record" with one-click graduation), capabilities list (lineage chip from `originSummary`, verification freshness dot, expandable markdown, edit dialog, remove-with-reason dialog), derived **Known issues** (open bug/ux) and **Debt register** (open tech_debt) cards, and a struck-through **Previously** card for tombstoned capabilities.
Expand Down
Binary file modified docs/screenshots/asset-dependencies.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/asset-history.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/screenshots/asset-record.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading