2-column task view
Pre-submission checklist
- I have confirmed this improves existing behavior — it does not add a new command, endpoint, or concept.
- I have searched existing open and closed issues and this has not already been proposed.
What existing behavior does this improve?
The task view supports a 2-column layout that allows documents to appear to the right of the other content
Subsystem affected
ui/ — React + Vite board UI
Current behavior
The current Task view has the task details, documents, history, and comments vertically stacked in a single column. I find that this makes it difficult to read attached documents, since they visually blend in and are hard to find when there is a lot of activity on a task.
Also, there is a significant amount of negative space to the right of this column when in full-screen on large monitors.
Proposed behavior
On narrower screens (<1600px):
- Task detail content is capped at 1400px (max-width), centered, with generous padding so text remains readable instead of stretching edge-to-edge. Graceful degradation — narrow screens see no change to current layout.
On wider screens (≥1600px) with documents present:
- Two-column flexbox layout activates automatically
- Left column (~45% width): Task description, comments, sub-tasks, activity
- Right column (~55% width): Documents panel, sticky positioned, independently scrollable
- Flexbox ensures expanding a document accordion doesn't push left-column content down (unlike CSS Grid which couples row heights)
Problems Addressed
- Ultra-wide screens show wasted margins — the previous
max-w-3xl(768px) cap left large blank margins on 27"+ monitors - Documents buried in scroll — issue documents appeared inline in the same vertical flow as comments, making them hard to reference alongside the task thread
- Uncomfortable reading width for documents — documents need ~55% of available width to be comfortably readable
What Changed
Three files, 67 lines changed:
ui/src/pages/IssueDetail.tsx— Replacedmax-w-3xl space-y-6container class withpaperclip-issue-outer space-y-6and wrapped non-document children inpaperclip-issue-left-coldiv for flexbox layoutui/src/components/IssueDocumentsSection.tsx— Addeddata-paperclip-docs="1"attribute to root div so CSS can reliably target the documents columnui/src/index.css— Added widescreen layout rules using:has()selector + flexbox (67 new lines)
Reason and benefit
On large monitors (4K), the UI has a significant amount of empty space when in full-screen. This change allows better use of that horizontal space, particularly when a task has documents. Instead of the entire contents of the task being vertically stacked, documents appear in a second column.
Breaking changes
This change adds CSS + minimal HTML class changes:
- No schema or API changes
- No behavioral change on screens < 1600px
- No change for tasks without documents
max-width: 1400pxonly widens single-column view beyond previous 768px cap (net improvement):has()is widely supported in current evergreen browsers
Additional context
No response
Source: paperclipai/paperclip