The open source coding agent.
TypeScript
fix: toggle timestamps now properly hides/shows timestamps when toggled (resolves #5142) (#5145)
Ariane Emory4cf2322b7f85
diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsxindex 5d3dc36018b..bba0eb1df9d 100644--- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx+++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx@@ -1049,12 +1049,12 @@ function UserMessage(props: {<Showwhen={queued()}fallback={- <span style={{ fg: theme.textMuted }}>- {ctx.usernameVisible() ? " · " : " "}- {ctx.showTimestamps()- ? Locale.todayTimeOrDateTime(props.message.time.created)- : Locale.time(props.message.time.created)}- </span>+ <Show when={ctx.showTimestamps()}>+ <span style={{ fg: theme.textMuted }}>+ {ctx.usernameVisible() ? " · " : " "}+ {Locale.todayTimeOrDateTime(props.message.time.created)}+ </span>+ </Show>}><span style={{ bg: theme.accent, fg: theme.backgroundPanel, bold: true }}> QUEUED </span>