Skip to content

Asset detail page with notes/ideation (v0.3.25)#28

Merged
SylonZero merged 2 commits into
masterfrom
feat/asset-detail-page
Jul 16, 2026
Merged

Asset detail page with notes/ideation (v0.3.25)#28
SylonZero merged 2 commits into
masterfrom
feat/asset-detail-page

Conversation

@SylonZero

Copy link
Copy Markdown
Owner

What

A dedicated /assets/[id] route where an asset's full story comes together — previously assets existed only as cards + an edit sheet inside the Product page.

  • Header: type, health, tags, repo/docs links, owner avatars; summary cards for debt score (manual vs derived breakdown), open work items, plan count.
  • Description + Notes & Ideation: click-to-edit cards backed by a new assets.notes column (migration 0012, both dialects; postgres hand-written per convention). Notes are markdown-canonical — same dialect the MCP server reads/writes — rendered with react-markdown, ready for the TipTap plan.
  • Tabs: Work Items, Tech Debt (with score-derivation note), Code Plans (surfacing per-plan join notes, branch, PR status — captured but barely shown before), Dependencies in both directions with each neighbor's owners and health.
  • Inbound links: product-page cards navigate here (edit moved to a pencil button), plus Work Items table asset cells, Tech Debt Register group headers, and My Work "Assets I Own" rows.
  • Data layer: getAssetDetail returns the whole context in one call with the same product-access guard as getCodePlan; updateAssetContentAction is access-checked.
  • MCP: notes on update_asset, new get_asset tool.

Verification (drove the running app, sqlite)

  • Rendered the page for a demo asset: header, summary cards, all four tabs. Saved markdown notes (headings/bold/table) through the real server-action surface — persisted and rendered.
  • Probes: cross-org page view → 404; cross-org content write → rejected ("Asset not found or not accessible"); bogus asset id → 404; work-items/my-work links verified with a temp fixture (removed after).
  • 167/167 vitest; tsc clean apart from pre-existing errors.

🤖 Generated with Claude Code

Sai Prakash and others added 2 commits July 15, 2026 23:49
A dedicated /assets/[id] route where an asset's full story comes
together — previously assets existed only as cards + an edit sheet
inside the Product page.

- Header: type, health, tags, repo/docs links, owner avatars;
  summary cards for debt score (manual vs derived breakdown), open
  work items, and plan count.
- Description and a new notes column (freeform ideation doc) with
  click-to-edit; notes are markdown-canonical and render via
  react-markdown, same dialect the MCP server reads/writes.
- Tabs: Work Items, Tech Debt (with score-derivation note), Code
  Plans (surfacing per-plan join notes, branch, PR status), and
  Dependencies (both directions, with owners and health).
- getAssetDetail query returns the whole context in one call with
  the same product-access guard as getCodePlan; content updates go
  through updateAssetContentAction (access-checked).
- Asset references now link here: product-page cards (edit moved to
  a pencil button), Work Items table asset cells, Tech Debt Register
  group headers, and My Work "Assets I Own" rows.
- MCP: notes on update_asset, new get_asset tool returning the same
  full context as the page.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@SylonZero
SylonZero merged commit 3df612a into master Jul 16, 2026
1 check passed
@SylonZero
SylonZero deleted the feat/asset-detail-page branch July 16, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant