From 8226fe0f3026efad0076cef6608afd913d49f3e1 Mon Sep 17 00:00:00 2001
From: "opencode-agent[bot]"
<219766164+opencode-agent[bot]@users.noreply.github.com>
Date: Mon, 19 Oct 2026 13:49:19 +0800
Subject: [PATCH] feat(app): attach the new session location row as a composer
footer (#56952)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
---
packages/app/src/new-session/view.tsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/packages/app/src/new-session/view.tsx b/packages/app/src/new-session/view.tsx
index 5374b481c79..3b87218f50a 100644
--- a/packages/app/src/new-session/view.tsx
+++ b/packages/app/src/new-session/view.tsx
@@ -82,11 +82,10 @@ export function NewSessionView(props: {
-
+
{(project) => (
{
if (props.workspace === "main") return
+
if (props.workspace === "create") return language.t("workspace.new")
return getFilename(props.workspace)
@@ -310,7 +310,7 @@ function NewSessionLocation(props: {
data-action="prompt-project"
aria-haspopup="dialog"
aria-description={language.t("session.new.workspace.trigger.tooltip")}
- class="flex h-7 min-w-0 max-w-full items-center gap-1.5 rounded-full text-start bg-v2-background-bg-layer-02 ps-1.5 pe-2.5 text-v2-text-text-muted transition-colors hover:bg-v2-background-bg-layer-03 hover:text-v2-text-text-base focus-visible:bg-v2-background-bg-layer-03 focus-visible:text-v2-text-text-base focus-visible:outline-none"
+ class="flex h-6 min-w-0 max-w-full items-center gap-1.5 rounded-md text-start ps-1 pe-2 text-v2-text-text-muted transition-colors hover:bg-v2-overlay-simple-overlay-hover hover:text-v2-text-text-base focus-visible:bg-v2-overlay-simple-overlay-hover focus-visible:text-v2-text-text-base focus-visible:outline-none"
onClick={props.onClick}
>