Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion apps/desktop/src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ pub fn run() {
engine_restart,
engine_stop,
machines::machines_list,
machines::preview::machines_preview,
machines::machines_discover,
machines::machines_ask,
machines::machines_pair,
Expand Down
2 changes: 0 additions & 2 deletions apps/desktop/src-tauri/src/machines.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
//! Names follow docs/terminology.md: a **machine** is a computer, Settings ›
//! Machines lists them, and the server is what runs on each one.

pub(crate) mod preview;

use crate::engine::EngineEvent;
use anyhow::Error;
use rustcode_client::machine::{machine_from_pairing, normalize_code, Connector};
Expand Down
282 changes: 0 additions & 282 deletions apps/desktop/src-tauri/src/machines/preview.rs

This file was deleted.

3 changes: 1 addition & 2 deletions apps/desktop/src/ui/ChatView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ import { RightPanel } from "./RightPanel";
import { RollingNumber } from "./RollingNumber";
import { UserRow } from "./Rows";
import { useThreadStatus } from "./Status";
import { ThreadPreview } from "./ThreadPreview";
import { ThreadTitle } from "./ThreadTitle";
import { FIRST_ROW_PAD, Transcript } from "./Transcript";

Expand Down Expand Up @@ -233,7 +232,7 @@ function Header({
<RemoteThreadIndicator sessionId={thread?.id} />
</>
}
right={thread ? [<ThreadPreview key={thread.id} threadId={thread.id} />, ...right] : right}
right={right.length ? right : undefined}
/>
);
}
Expand Down
Loading
Loading