From 07204869d82c0cd0540edba24b6b6f3c94cbf8e7 Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Sat, 28 Mar 2026 17:05:59 +0000 Subject: [PATCH 01/10] Lower window minWidth to 480px for split-screen use --- apps/code/src/main/window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/code/src/main/window.ts b/apps/code/src/main/window.ts index edb4e5f54..c734fca09 100644 --- a/apps/code/src/main/window.ts +++ b/apps/code/src/main/window.ts @@ -133,7 +133,7 @@ export function createWindow(): void { ...(savedState.y !== undefined && { y: savedState.y }), width: savedState.width, height: savedState.height, - minWidth: 1200, + minWidth: 480, minHeight: 600, backgroundColor: "#0a0a0a", ...platformWindowConfig, From f15dbb9e57d9e6d2013b0c83590cb128699b1643 Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Sun, 29 Mar 2026 10:21:53 +0100 Subject: [PATCH 02/10] Make settings scroll area span full panel width --- .../features/settings/components/SettingsDialog.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/apps/code/src/renderer/features/settings/components/SettingsDialog.tsx b/apps/code/src/renderer/features/settings/components/SettingsDialog.tsx index 7608be281..969e782ab 100644 --- a/apps/code/src/renderer/features/settings/components/SettingsDialog.tsx +++ b/apps/code/src/renderer/features/settings/components/SettingsDialog.tsx @@ -204,10 +204,13 @@ export function SettingsDialog() { style={{ height: "100%", width: "100%", - maxWidth: "800px", }} > - + {CATEGORY_TITLES[activeCategory]} From 9fe29e96575fe6cd589c8484b81e1bdcb487e9f7 Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Sat, 28 Mar 2026 17:18:19 +0000 Subject: [PATCH 03/10] Style hyperlinks in Tiptap editor --- apps/code/src/renderer/styles/globals.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/apps/code/src/renderer/styles/globals.css b/apps/code/src/renderer/styles/globals.css index 47eb24bef..ae2b62c0f 100644 --- a/apps/code/src/renderer/styles/globals.css +++ b/apps/code/src/renderer/styles/globals.css @@ -531,6 +531,16 @@ body { outline: none; } +.ProseMirror a { + color: var(--accent-11); + text-decoration: underline; + cursor: pointer; +} + +.ProseMirror a:hover { + color: var(--accent-12); +} + .CollapsibleContent { overflow: hidden; } From 2fe08372f2bb028353bec1448dcbe6816f1eb6b3 Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Sun, 29 Mar 2026 10:20:48 +0100 Subject: [PATCH 04/10] Use text cursor in inline editable textarea --- .../renderer/components/action-selector/InlineEditableText.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/code/src/renderer/components/action-selector/InlineEditableText.tsx b/apps/code/src/renderer/components/action-selector/InlineEditableText.tsx index e8e66cf6b..c33e9e05d 100644 --- a/apps/code/src/renderer/components/action-selector/InlineEditableText.tsx +++ b/apps/code/src/renderer/components/action-selector/InlineEditableText.tsx @@ -87,6 +87,7 @@ export function InlineEditableText({ overflow: "auto", maxHeight: "120px", wordBreak: "break-word", + cursor: "text", userSelect: active ? "auto" : "none", pointerEvents: active ? "auto" : "none", }} From 6c5af782d976d6aabcc9758274ead3f5aa66034e Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Sun, 29 Mar 2026 10:18:38 +0100 Subject: [PATCH 05/10] Say "stop" instead of "interrupt" in generating indicator --- .../features/sessions/components/GeneratingIndicator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/code/src/renderer/features/sessions/components/GeneratingIndicator.tsx b/apps/code/src/renderer/features/sessions/components/GeneratingIndicator.tsx index 86784a290..8fea0ef1d 100644 --- a/apps/code/src/renderer/features/sessions/components/GeneratingIndicator.tsx +++ b/apps/code/src/renderer/features/sessions/components/GeneratingIndicator.tsx @@ -158,7 +158,7 @@ export function GeneratingIndicator({ {activity}... - (Esc to interrupt + (Esc to stop Date: Sat, 28 Mar 2026 17:26:46 +0000 Subject: [PATCH 06/10] Polish message editor padding, separators and scrollbar --- .../components/AttachmentsBar.tsx | 6 +++++- .../components/MessageEditor.tsx | 12 ++++++++---- .../components/message-editor.css | 18 ++++++++++++++++++ .../message-editor/tiptap/useTiptapEditor.ts | 2 +- 4 files changed, 32 insertions(+), 6 deletions(-) diff --git a/apps/code/src/renderer/features/message-editor/components/AttachmentsBar.tsx b/apps/code/src/renderer/features/message-editor/components/AttachmentsBar.tsx index 15423d001..f40b64abf 100644 --- a/apps/code/src/renderer/features/message-editor/components/AttachmentsBar.tsx +++ b/apps/code/src/renderer/features/message-editor/components/AttachmentsBar.tsx @@ -153,7 +153,11 @@ export function AttachmentsBar({ attachments, onRemove }: AttachmentsBarProps) { if (attachments.length === 0) return null; return ( - + {attachments.map((att) => isImageFile(att.label) ? ( @@ -273,19 +273,23 @@ export const MessageEditor = forwardRef( direction="column" gap="2" onClick={handleContainerClick} - className={`rounded-md p-2 ${isBashMode ? "ring-1 ring-blue-9" : ""}`} + className={`rounded-md py-2 pr-0 pl-1.5 ${isBashMode ? "ring-1 ring-blue-9" : ""}`} style={{ cursor: "text" }} >
- + Date: Thu, 2 Apr 2026 14:35:44 -0700 Subject: [PATCH 07/10] Update MessageEditor.tsx --- .../features/message-editor/components/MessageEditor.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/code/src/renderer/features/message-editor/components/MessageEditor.tsx b/apps/code/src/renderer/features/message-editor/components/MessageEditor.tsx index 2f645d34e..942f68b77 100644 --- a/apps/code/src/renderer/features/message-editor/components/MessageEditor.tsx +++ b/apps/code/src/renderer/features/message-editor/components/MessageEditor.tsx @@ -285,11 +285,7 @@ export const MessageEditor = forwardRef( - + Date: Thu, 2 Apr 2026 14:39:04 -0700 Subject: [PATCH 08/10] Revert "Lower window minWidth to 480px for split-screen use" This reverts commit edb92fb0b1842f1220fbc6935c741af56145768e. --- apps/code/src/main/window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/code/src/main/window.ts b/apps/code/src/main/window.ts index c734fca09..edb4e5f54 100644 --- a/apps/code/src/main/window.ts +++ b/apps/code/src/main/window.ts @@ -133,7 +133,7 @@ export function createWindow(): void { ...(savedState.y !== undefined && { y: savedState.y }), width: savedState.width, height: savedState.height, - minWidth: 480, + minWidth: 1200, minHeight: 600, backgroundColor: "#0a0a0a", ...platformWindowConfig, From 12d3b21f5972d33c726b0358af8fa55dbe4b2fcf Mon Sep 17 00:00:00 2001 From: Charles Vien Date: Thu, 2 Apr 2026 14:49:36 -0700 Subject: [PATCH 09/10] fixes --- .../message-editor/components/AttachmentsBar.tsx | 6 +----- .../message-editor/components/MessageEditor.tsx | 13 ++++--------- 2 files changed, 5 insertions(+), 14 deletions(-) diff --git a/apps/code/src/renderer/features/message-editor/components/AttachmentsBar.tsx b/apps/code/src/renderer/features/message-editor/components/AttachmentsBar.tsx index f40b64abf..37b9652dd 100644 --- a/apps/code/src/renderer/features/message-editor/components/AttachmentsBar.tsx +++ b/apps/code/src/renderer/features/message-editor/components/AttachmentsBar.tsx @@ -153,11 +153,7 @@ export function AttachmentsBar({ attachments, onRemove }: AttachmentsBarProps) { if (attachments.length === 0) return null; return ( - + {attachments.map((att) => isImageFile(att.label) ? ( + {isBashMode ? ( ( direction="column" gap="2" onClick={handleContainerClick} - className={`rounded-md py-2 pr-0 pl-1.5 ${isBashMode ? "ring-1 ring-blue-9" : ""}`} + className={`rounded-md py-2 pr-2 pl-1.5 ${isBashMode ? "ring-1 ring-blue-9" : ""}`} style={{ cursor: "text" }} >
- + Date: Thu, 2 Apr 2026 15:54:33 -0700 Subject: [PATCH 10/10] Auto-generate release notes in finalize step --- .github/workflows/code-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-release.yml b/.github/workflows/code-release.yml index e9b83d0f7..606b21754 100644 --- a/.github/workflows/code-release.yml +++ b/.github/workflows/code-release.yml @@ -220,4 +220,4 @@ jobs: env: GH_TOKEN: ${{ steps.app-token.outputs.token }} APP_VERSION: ${{ steps.version.outputs.version }} - run: gh release edit "v$APP_VERSION" --repo PostHog/code --draft=false + run: gh release edit "v$APP_VERSION" --repo PostHog/code --draft=false --generate-notes