Repository navigation
Closed
Labels
complexity-lowComplexity: low (board points 1-3)priority-p1Critical paththeme-ui-uxTheme: UI/UXtype-bugBug fix
Description
Summary
The project page's Overview tab breaks as soon as one pending ask on the project has a long body. The "Needs you" card renders the ask in full (every paragraph, bullet list and code span of an approval request), and because the hub is one CSS grid, the Metrics card in the content column stretches to the same height, leaving a screen-tall empty panel next to a wall of text. The Overview should show a summary of each ask, and the content column should be laid out independently of the sidebar.
Context
Seen on a project whose steward agent raised one needs_approval ask with a multi-paragraph body (plan summary, a numbered list of design calls, inline code). On the Overview:
- The "Needs you" card ran to several screens of text, with the full markdown body and the option chips.
- The "Metrics" card (empty: "No metrics yet…") was stretched to the sidebar's height, so the left two-thirds of the page was blank below one line of copy.
- The page lost its at-a-glance purpose: health, rollup and metrics are what the Overview is for, and an approval's full argument belongs in the Inbox / the ask's thread.
Cause, from the code:
src/frontend/src/components/portal/projects/ProjectHub.vuelays out the hub asgrid grid-cols-1 gap-4 lg:grid-cols-3, with "Where it stands" and "Metrics" atlg:col-span-2and "Needs you" in the third column. Grid rows stretch to the tallest cell, so a tall sidebar card inflates the content card beside it.- The "Needs you" card delegates to
PortalAsks.vue(pending-only show-agent), which is the full Inbox renderer: it printsask.questionthroughAskMarkdownin full, plus the action line, options and the answer form. There is no compact mode.
Acceptance Criteria
- On the project Overview, an ask in "Needs you" shows a summary: kind badge, agent, title, and the body clamped to a few lines (or a short excerpt), with a clear way to open the full ask (expand in place, or open the thread / Inbox). The full body is never rendered unconditionally on the Overview.
- Answering stays possible from the Overview (the current in-place answer flow is kept, behind the expand or as a compact action row) — the summary must not regress the "answered in place" behaviour.
- The content column (Where it stands, Metrics) is wired as its own column: its cards size to their own content and are not stretched by the "Needs you" column (e.g.
items-starton the grid, or two column containers instead of row-spanning cells). An empty Metrics card is one short line tall regardless of the sidebar. - Both light and dark themes, and the single-column layout below
lg, are checked: the clamped body and expand control read correctly in all three. - A long ask body (multi-paragraph markdown with a list and code spans) and a short one-line ask both render as a bounded card; covered by a unit test on the project hub (
tests/unitundersrc/frontend). - Design-system contract honoured: semantic tokens only, existing primitives (BaseCard, BaseBadge), no raw palette classes added; the raw-color and loading-gate ratchets stay green.
Technical Notes
- Owner area:
docs/memory/architecture/workspace.md(Portal / project hub). Read before changing;docs/memory/feature-flows/workspace-agents-at-the-centre.mddocuments the hub's three cards. - Likely shape: a
compact(orsummary) prop onPortalAsks.vue/ the ask card that clampsask.question(line-clamp-*plus an "Show more" toggle) and hides the action line until expanded, used only byProjectHub.vue; the Inbox keeps the full renderer. Alternatively a smallProjectAskSummarycomponent that reusesAskMarkdownwith a clamp and emitsopen-thread. - Keep the markdown path through
AskMarkdown(sanitiser, bug(operator-queue): markdown in approval/question asks renders as raw text on some surfaces (portal asks, options, resolved history) #3115) for the excerpt; do not substring raw markdown into plain text in a way that cuts a code span or list item mid-token. - Related: the Inbox rows already truncate (
PortalInboxRow.vue) — the Overview should behave more like the Inbox list than like the open Inbox item.
Metadata
Metadata
Assignees
Labels
complexity-lowComplexity: low (board points 1-3)priority-p1Critical paththeme-ui-uxTheme: UI/UXtype-bugBug fix
Activity
vybe commentedon Oct 11, 2026
/claim
github-actions commentedon Oct 11, 2026
Claimed by @vybe. Label
status-in-progressadded.Next steps:
feature/3574-<short-slug>Fixes #3574fix(project hub): a pending ask is a list row on the Overview, the fu…
feat(workspace): project page — markdown goal, one two-column Overvie…