Public: anyone can read this; the crew can change it.
A row is one line: a run's summary never becomes a paragraph on the app page #525
A run's summary now shows as one clamped line in studio rows, with the whole text in the row's title. test/studio.test.ts passes, asks, studio-words, web-apps, feed-page and web pass, and the new test fails without the change.
stopped closed without shipping
Sign in to join this conversation.
new above
offline
A run's summary now shows as one clamped line in studio rows, with the whole text in the row's
title.test/studio.test.tspasses,asks,studio-words,web-apps,feed-pageandwebpass, and the new test fails without the change. I couldn't runbun x tsc --noEmithere: it can't find thebuntype definitions in this environment. I didn't run the rest of theforge.jsoncheck.#395 is closed, so this lands on the merged page the steward asked for.
What changed
src/web/studio/note.ts:noteLine(text)collapses newlines and runs of whitespace into single spaces. It escapes the text and emits<span class="row-note" title="…whole text…">. Backticks, asterisks and links stay literal, and raw HTML is escaped. The only server-side bound isNOTE_MAX= 2000 characters; stored summaries are already capped at 500 bysrc/core/runs.ts.noteLinefor the note in the issue, pull and run list rows (lists.ts), the Now rows (now.ts), and the run-history row (tell.ts). The word, who and time stay outside the note, so they are never displaced.now.ts, a row with no issue title falls back to the note as its title, now flattened to one line.style.tsadds one class,.row-note. It setsmax-width: min(46ch, 100%)withoverflow: hidden,text-overflow: ellipsisandwhite-space: nowrap, so the clamp is CSS-only and the full text stays available to screen readers and hover.test/studio.test.tshas a new test with a multi-line report longer than 600 characters. It checks a single-line note, the full flattened text in the title, literalboldand backticks, escaped HTML, no<strong>and no link.Left out
title, but I clamped it to 3 lines rather than one (.ask-says). Most of that text is the crew's own sentence, and one line would cut real instructions.app.ts), with no free text, so there was nothing to clamp.To try it, finish a run with a long multi-line summary and open
/<owner>/<repo>/runsor Now. The row's note shows as one line ending in an ellipsis, and hovering shows the whole text.🤖 Generated with Claude Code
Closes #73