Skip to content

Tower UI: no Ctrl+F search in terminal tabs and no structured diff view for builder changes #2014

Backlog

Description

@OdyAsh

Tower UI Feature Gaps on Windows

Context

The Tower dashboard is the web UI for monitoring codev agents (architects and builders). It shows terminal output, agent status, and project activity. On Windows, we found two UX gaps that make it hard to use:

  1. No Ctrl+F search in terminal tabs — you can't search for text in the builder/architect terminal output
  2. No structured diff view — you can't see what files changed; you have to read raw terminal output or use CLI

These aren't bugs — they're missing features. But they make the Tower UI much less useful on Windows (and other platforms).

Environment

  • OS: Windows 11 (build 22631)
  • codev: 3.3.8
  • Tower: v3.3.8
  • Browser: Chrome/Edge

Steps to Reproduce

Finding #30: No Ctrl+F in terminal tabs

  1. Start the Tower: afx tower start
  2. Open dashboard: http://localhost:4100
  3. Click a builder terminal tab (e.g., builder-spir-1488)
  4. Try Ctrl+F to search for text in the terminal output
  5. Observe: nothing happens — no search bar appears

Finding #31: No structured diff view

  1. Have a builder complete some work (commits with file changes)
  2. Open the Tower dashboard
  3. Try to see what files changed
  4. Observe: no diff view, no file list, no change summary
  5. Must use CLI: git diff main or open the worktree in VS Code

Expected Behavior

Ctrl+F search

Terminal tabs should support Ctrl+F (or a search button) to find text in the output. This is standard in browsers and terminals.

Structured diff view

The dashboard should show:

  • List of changed files
  • Diff view (like GitHub's PR files tab)
  • Commit history with file changes

The VS Code Agents window has this — a "Changes" panel with Branch/Uncommitted/Session/Last Turn views (docs).

Actual Behavior

Ctrl+F doesn't work

The terminal output is rendered as a canvas/WebGL surface (for performance), not as selectable text. Ctrl+F doesn't find text because the browser can't search canvas content.

No diff view

The Tower UI only shows the terminal stream (what the agent printed). It doesn't parse git commits or show file changes. To see changes, you must:

  • Use CLI: git diff main
  • Open the worktree in VS Code
  • Read the terminal output (hard to parse)

Root Cause

Terminal rendering

The Tower uses a terminal emulator (xterm.js or similar) that renders to canvas for performance. Canvas content isn't searchable via Ctrl+F.

No git integration

The Tower dashboard doesn't parse git commits or integrate with git diff. It's a terminal viewer, not a code review tool.

Possible Fix

Ctrl+F search

Add a search bar to the terminal tab that searches the terminal buffer:

// In the terminal component
const search = (term) => {
  const buffer = term.buffer.active;
  for (let i = 0; i < buffer.length; i++) {
    const line = buffer.getLine(i);
    if (line?.translateToString().includes(searchTerm)) {
      term.scrollToLine(i);
      break;
    }
  }
};

Structured diff view

Add a "Changes" tab to the workspace view that:

  1. Runs git diff main in the worktree
  2. Parses the diff into files
  3. Shows a file list with +/- stats
  4. Shows diff hunks with syntax highlighting

Or integrate with the VS Code Agents window's Changes panel (if running in VS Code).

Evidence

Terminal tab (no search)

  • Ctrl+F does nothing
  • No search bar visible
  • Terminal output is canvas-rendered

No diff view

  • Tower UI shows only terminal output
  • No "Files changed" section
  • No commit history with file stats

VS Code Agents window has this

The VS Code Agents window has a Changes dropdown:

  • Branch — full branch diff
  • Uncommitted — pending changes
  • Session — session's edits
  • Last Turn — latest turn's edits

(docs)

Impact

  • Hard to review builder work — must use CLI or VS Code
  • Hard to search terminal output — must scroll manually
  • Not a blocker — workarounds exist (CLI, VS Code)

Related

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions