Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(office): show only title, state and logo on a coding pane's plate

rubenluetke10-beep832f1aa2232f
diff --git a/jarvis/ui/web/frontend/src/components/society/office/OfficeAgents.tsx b/jarvis/ui/web/frontend/src/components/society/office/OfficeAgents.tsx
index 0c5af6f5c2..a32c4524d8 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/OfficeAgents.tsx
+++ b/jarvis/ui/web/frontend/src/components/society/office/OfficeAgents.tsx
@@ -37,7 +37,6 @@ import type { DeskChat } from "./useDeskChats";
import { officeTalkChat, useOfficeTalk } from "./officeTalk";
import { deliverySpot, ERRAND_SPEED, useErrandFeed, useGigiErrands } from "./gigiErrands";
import { isPaneAgentId, plateTitle } from "./codingFloor";
-import { promptOpening } from "@/components/agentic/sessionTitle";
import { agentLogoAsset } from "@/components/agentic/AgentMark";
/** The agent's symbol walks behind it as a little pet, about a fifth of its height. */
@@ -150,13 +149,12 @@ function PaneLogo({ url, ground }: { url: string; ground: "ink" | "dark" | "any"
}
/**
- * A coding pane's plate always shows its whole title (subject, then result and
- * run state), the call-sign that finds the pane in the IDE, and the opening of
- * what it was last asked. Only the prompt preview is clamped, never the title.
+ * A coding pane's plate shows only its whole title (subject, then result) and
+ * run state. The logo in front already names the CLI, so neither its
+ * call-sign nor the opening of the last prompt is repeated here.
*/
function PanePlateText({ agent, state }: { agent: SocietyAgent; state: ReactNode }) {
const { subject, result } = plateTitle(agent.name);
- const asked = promptOpening(agent.description);
return (
<span className="office-plate-text">
<span className="office-plate-name">{subject}</span>
@@ -164,8 +162,6 @@ function PanePlateText({ agent, state }: { agent: SocietyAgent; state: ReactNode
{result ? <span className="office-plate-result">{result}</span> : null}
{state}
</span>
- <span className="office-plate-sign">{agent.title}</span>
- {asked && asked !== agent.name ? <span className="office-plate-asked">“{asked}”</span> : null}
</span>
);
}
diff --git a/jarvis/ui/web/frontend/src/components/society/office/office.css b/jarvis/ui/web/frontend/src/components/society/office/office.css
index 79684c4314..634335df84 100644
--- a/jarvis/ui/web/frontend/src/components/society/office/office.css
+++ b/jarvis/ui/web/frontend/src/components/society/office/office.css
@@ -49,8 +49,6 @@
.office-plate-line { display:inline-flex; align-items:center; gap:6px; max-width:17em; }
.office-plate-result { min-width:0; overflow:hidden; text-overflow:ellipsis; font-size:11px; font-weight:600; color:#e2e8f0; }
.office-plate-line .office-plate-state { flex:none; }
-.office-plate-sign { font-size:10px; font-weight:600; color:#94a3b8; white-space:normal; overflow-wrap:anywhere; }
-.office-plate-asked { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; max-width:20em; margin-top:2px; font-size:11px; font-style:italic; font-weight:500; color:#cbd5e1; white-space:normal; overflow-wrap:anywhere; }
/* max-content: the Html anchor has no width, so an opened plate would otherwise wrap after every word. */
.office-plate[data-pane][data-open] { width:max-content; max-width:min(22em, calc(100vw - 32px)); background:rgb(24 26 32 / .96); }
.office-plate[data-pane][data-open] .office-plate-name,