Skip to content

Rich UI overlay: file tree, diff viewer, git widget #13

Description

@nthh

Summary

Layer a structured UI on top of the terminal — file browser, diff viewer, and git status — turning remolt from a terminal wrapper into a lightweight web IDE.

Panels

File tree sidebar

  • Watch filesystem via periodic polling or inotifywait
  • VS Code-like tree view of /home/dev/workspace
  • Click file to view in a read-only viewer panel
  • Show file status (modified/new/deleted) via git status

Diff viewer

  • When Claude makes changes, show them in a proper side-by-side or unified diff
  • Parse git diff output or watch for file changes
  • Similar to GitHub PR "Files changed" view

Git status widget

  • Current branch, changed files, commit history
  • "Create PR" button that runs `gh pr create` with pre-filled fields
  • Commit graph visualization

Architecture

  • These panels augment the terminal, not replace it
  • Terminal stays as the primary interface, panels are optional sidebars
  • Data can come from: exec commands in the pod, filesystem watching, or parsing terminal output
  • Consider a lightweight agent/daemon in the sandbox that serves file/git data over a sidecar API

Metadata

Metadata

Assignees

No one assigned

    Labels

    majorMajor effort, high complexity

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions