Agents Builders

Flexible activity column width

Archived
flexible-activity-column-width

Created

Jul 06, 18:57

Started

Jul 06, 18:58

Completed

Jul 06, 23:26

DevOps handoff

Type

Chore

Shape

ui-only

Worktree Slug

flexible-activity-column-width

Repositories

mcritchie-studio

Release Slug

Branch

feat/flexible-activity-column-width

QA URL

Production URL

ui

Acceptance Criteria

  • Activity goal and result fill available column width
  • More of the result shows on wide screens

Expected Test Plan

  • [integration] activities page renders (regression)

Checks Run

  • [component] agents_activities_table partial renders green after the width change
  • [integration] activities page renders (regression)
  • [manual] Playwright 1920px shows full long result; 1280px ellipsizes/fades cleanly
  • [full-suite@608db7351564f52ef9d3c94a8ea372a00eb3faea] bin/rails test green
  • [rubocop@608db7351564f52ef9d3c94a8ea372a00eb3faea] bin/rubocop clean

Agent Context

On /agents/activities the Activity column already flexes (table-layout:fixed, Activity is the one unsized column so it absorbs slack). But the CONTENT is capped by fixed max-widths in _activities_styles: .aa-goal max-width:300px, .aa-resultfade max-width:340px, .aa-keycmd .hb-keycode max-width:300px, and .aa-activity max-width:420px. So on a wide screen the goal/result truncate/fade far short of the available space. Fix: drop those fixed-px desktop caps so the goal/result/key-command fill the Activity cell and only ellipsize/fade at the actual cell edge (they already have min-width:0 + overflow:hidden/ellipsis + the overflow_fade, and table-layout:fixed clips content to the fixed column so nothing overflows the table). Keep the mobile vw caps (max-width:54vw/50vw/42vw) intact. Shape ui-only, CSS-only in app/views/agents/_activities_styles.html.erb.

Stage Timeline

Who handled each stage, the time it took (measured), and the model / tokens / cost reported (best-effort) — plus who's on it right now. means the agent didn't report that metric.

Sizing Avi · PO SMALL Dev SMALL Actual XL ≠ forecast
  1. Created Designed
    T Tyrogue
    Tyrogue
    Model
    Duration
    Tokens
    Cost
    Completed Jul 06, 18:57 · 1 day ago
    api
  2. Designed Building
    T Tyrogue
    Tyrogue
    Model
    claude-opus-4-8
    Duration
    under a minute
    Tokens
    2,966,926
    Cost
    ~$14.26
    Started Jul 06, 18:57
    Completed Jul 06, 18:58 · 1 day ago
    cli
  3. Building Submitted
    T Tyrogue
    Tyrogue
    Model
    claude-opus-4-8
    Duration
    17 minutes
    Tokens
    23,275,105
    Cost
    ~$12.50
    Started Jul 06, 18:58
    Completed Jul 06, 19:14 · 1 day ago
    cli
  4. Submitted Reviewed Review Activity
    S Shannon
    Shannon primary
    C Carl
    Carl light
    Model
    claude-opus-4-8
    Duration
    about 2 hours
    Tokens
    Cost
    Started Jul 06, 19:14
    Completed Jul 06, 21:12 · 1 day ago
    cli
  5. Evolve
    T Tyrogue
    Tyrogue
    H Hitmontop
    Hitmontop
    triggered by
    S Shannon
    Shannon
    Model
    Duration
    about 2 hours
    Tokens
    Cost
    Started Jul 06, 19:14
    Completed Jul 06, 21:12 · 1 day ago
  6. Reviewed Assembled
    S Steffon
    Steffon
    Model
    claude-opus-4-8
    Duration
    about 1 hour
    Tokens
    19,810,367
    Cost
    ~$20.85
    Started Jul 06, 21:12
    Completed Jul 06, 22:15 · 1 day ago
  7. Assembled Shipped
    A Avi
    Avi
    Model
    claude-opus-4-8
    Duration
    about 1 hour
    Tokens
    Cost
    Started Jul 06, 22:15
    Completed Jul 06, 23:26 · 1 day ago
  8. Shipped Archived
    Model
    Duration
    about 6 hours
    Tokens
    Cost
    Started Jul 06, 23:26
    Completed Jul 07, 05:30 · 1 day ago

Conversation

QA review feedback, agent handoffs, and follow-up notes for this task.

Comment carl 1 day ago

Scout report: merge-ready - CSS-only single-file; drops desktop px caps so Activity goal/result fill the fixed-layout cell; mobile vw caps intact; both acceptance criteria met. Reporter: carl Outcome: merge-ready Findings: - Removes .aa-goal 300px / .aa-resultfade 340px / .aa-activity 420px caps and sets .hb-keycode max-width:100% — content now fills the one unsized fixed-layout column and ellipsizes/fades at the real cell edge. - No overflow risk: table-layout:fixed clips cells; goal keeps overflow:hidden+nowrap+ellipsis; resultfade flex:1 1 auto min-width:0; keycode max-width:100%. min-width:1140px scroll band is pre-existing, unchanged. Questions: - none Checks: - mobile @media(max-width:860px) vw caps SURVIVED: goal 54vw, resultfade 50vw, keycode 42vw, activity max-width:none — all present

Comment shannon 1 day ago

Scout report: merge-ready - CSS-only fix: drops the 4 desktop fixed-px caps (aa-activity 420, aa-goal 300, aa-resultfade 340, hb-keycode 300->100%) so goal/result/key-cmd fill the unsized Activity column; mobile vw caps intact. Both acceptance criteria met. Reporter: shannon Outcome: merge-ready Findings: - Mobile @media(max-width:860px) vw caps ALL survive: aa-goal 54vw, aa-resultfade 50vw, hb-keycode 42vw, aa-activity max-width:none. Only desktop px caps dropped. - aa-activity keeps min-width:290px; table-layout:fixed + min-width:0 + overflow:hidden/ellipsis/fade clip uncapped children to the fixed column so nothing overflows the table on desktop. - No flex:1 1 auto child can widen the row (min-width:0 removes content min-size; fixed layout won't grow columns to content); 861-1140px range is pre-existing scroll, unchanged. Questions: - none Checks: - [verify] gh pr diff 429: single file, +8/-4, CSS-only, no JS/ERB-logic change - [verify] bin/dor-check passes (chore, DoR n/a); PR CLEAN, not draft, all 4 CI green

Handoff avi 1 day ago

Avi review approved; ready for Steffon's qa-release sweep.

Sealed-bid sizing

Edit →

Alex (PM)

Avi (PO)

SMALL

Dev

SMALL

Actual

XL