Skip to content
Open
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
2 changes: 1 addition & 1 deletion frontend/components/chat/session-details-rail.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe("SessionDetailsRail", () => {
expect(html).toContain("Codex");
expect(html).toContain('data-testid="runtime-model-requested"');
expect(html).toContain(">requested<");
expect(html).toContain("does not report which model answered");
expect(html).toContain("not sent back");
});

test("a thread with unloaded outline turns says its plan and totals are partial", () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/chat/session-details-rail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export function SessionDetailsRail({
rail says so instead of presenting the request as a fact. */}
<span
className="truncate"
title="The model this run asked for. The runtime does not report which model answered."
title="The model this task asked for. Which model actually answered is not sent back."
>
{engineDisplayLabel(newest.engine)} · {modelLabel(newest.model, newest.engine)}{" "}
<span data-testid="runtime-model-requested" className="text-text-tertiary">
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/chat/subagent-pane-body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function SubagentPaneBody({
if (!run) {
return (
<PaneStub childSession={childSession}>
<LoadingState label="Loading run" />
<LoadingState label="Loading helper agent" />
</PaneStub>
);
}
Expand Down
6 changes: 3 additions & 3 deletions frontend/components/chat/subagent-pane.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const SubagentPaneBody = dynamic(() => import("@/components/chat/subagent-pane-b
ssr: false,
loading: () => (
<PaneStub label="Run">
<LoadingState label="Loading run" />
<LoadingState label="Loading helper agent" />
</PaneStub>
),
});
Expand Down Expand Up @@ -155,7 +155,7 @@ export function SubagentPane() {
return createPortal(
<aside
aria-hidden={!open}
aria-label={`${target?.childSession ? "Subagent" : "Session"} pane`}
aria-label={`${target?.childSession ? "Helper agent" : "Conversation"} pane`}
className={cn(
"border-border-button-default bg-background-primary-default shadow-sidebar fixed inset-y-0 right-0 z-40 flex h-dvh w-[440px] max-w-[92vw] flex-col border-l",
"transition-transform duration-300 ease-out",
Expand Down Expand Up @@ -245,7 +245,7 @@ export function SubagentPeekButton({
return (
<button
type="button"
aria-label="Peek run"
aria-label="Peek at this task"
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/chat/subagents-fold.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function GatewayChildRow({ child }: { child: GatewayChildSession }) {
</div>
<Link
href={`/session/${child.id}`}
aria-label={`Open spawned session: ${firstLine(child.prompt)}`}
aria-label={`Open the task started here: ${firstLine(child.prompt)}`}
title="Open as its own thread"
className={ROW_LINK_CLASS}
>
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/pro/queued-messages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function Row({
<button
type="button"
onClick={onSendNow}
title="Stops the current turn; this message starts immediately"
title="Skips the waiting messages; this message is sent next"
className="shrink-0 cursor-pointer text-caption-1-medium text-accent-500 underline-offset-2 outline-none hover:underline focus-visible:underline"
>
Send now
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe("render gating", () => {
// Four ticks, each a titled button.
expect(html.match(/<button/g)?.length).toBe(4);
expect(html).toContain('title="first turn"');
expect(html).toContain('aria-label="Jump to turn 4: fourth turn"');
expect(html).toContain('aria-label="Jump to message 4: fourth turn"');
// First tick is active on first paint (activeIndex defaults to 0).
expect(html).toContain('aria-current="true"');
});
Expand Down
4 changes: 2 additions & 2 deletions frontend/components/session-ui/message-scroller-rail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function MessageScrollerRail({
return (
<nav
data-session-ui="message-scroller-rail"
aria-label="Jump to a turn"
aria-label="Jump to a message"
className="pointer-events-none absolute inset-y-4 right-2 z-20 hidden flex-col items-end justify-center gap-1 overflow-hidden lg:flex"
>
{ticks.map((tick, index) => {
Expand All @@ -126,7 +126,7 @@ export function MessageScrollerRail({
key={tick.id}
type="button"
title={tick.snippet}
aria-label={`Jump to turn ${index + 1}: ${tick.snippet}`}
aria-label={`Jump to message ${index + 1}: ${tick.snippet}`}
aria-current={active ? "true" : undefined}
onClick={() => jumpTo(index)}
className="group pointer-events-auto flex h-3.5 w-3 items-center justify-end rounded-sm outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring"
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/session-ui/queued-message-pill.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function QueuedMessagePill({
<button
type="button"
onClick={onSendNow}
title="Stops the current turn; this message starts immediately"
title="Skips the waiting messages; this message is sent next"
className="shrink-0 cursor-pointer text-accent-500 underline-offset-2 outline-none hover:underline focus-visible:underline"
>
Send now
Expand Down
Loading