@@ -22,7 +22,7 @@ import { ResizeHandle } from "@opencode-ai/ui/resize-handle"
2222import { Button } from "@opencode-ai/ui/button"
2323import { Icon } from "@opencode-ai/ui/icon"
2424import { IconButton } from "@opencode-ai/ui/icon-button"
25- import { Tooltip , TooltipKeybind } from "@opencode-ai/ui/tooltip"
25+ import { Tooltip } from "@opencode-ai/ui/tooltip"
2626import { DropdownMenu } from "@opencode-ai/ui/dropdown-menu"
2727import { Dialog } from "@opencode-ai/ui/dialog"
2828import { getFilename } from "@opencode-ai/util/path"
@@ -1937,20 +1937,14 @@ export default function Layout(props: ParentProps) {
19371937 fallback = {
19381938 < >
19391939 < div class = "shrink-0 py-4 px-3" >
1940- < TooltipKeybind
1941- title = { language . t ( "command.session.new" ) }
1942- keybind = { command . keybind ( "session.new" ) }
1943- placement = "top"
1940+ < Button
1941+ size = "large"
1942+ icon = "plus-small"
1943+ class = "w-full"
1944+ onClick = { ( ) => navigateWithSidebarReset ( `/${ base64Encode ( p . worktree ) } /session` ) }
19441945 >
1945- < Button
1946- size = "large"
1947- icon = "plus-small"
1948- class = "w-full"
1949- onClick = { ( ) => navigateWithSidebarReset ( `/${ base64Encode ( p . worktree ) } /session` ) }
1950- >
1951- { language . t ( "command.session.new" ) }
1952- </ Button >
1953- </ TooltipKeybind >
1946+ { language . t ( "command.session.new" ) }
1947+ </ Button >
19541948 </ div >
19551949 < div class = "flex-1 min-h-0" >
19561950 < LocalWorkspace
@@ -1965,15 +1959,9 @@ export default function Layout(props: ParentProps) {
19651959 >
19661960 < >
19671961 < div class = "shrink-0 py-4 px-3" >
1968- < TooltipKeybind
1969- title = { language . t ( "workspace.new" ) }
1970- keybind = { command . keybind ( "workspace.new" ) }
1971- placement = "top"
1972- >
1973- < Button size = "large" icon = "plus-small" class = "w-full" onClick = { ( ) => createWorkspace ( p ) } >
1974- { language . t ( "workspace.new" ) }
1975- </ Button >
1976- </ TooltipKeybind >
1962+ < Button size = "large" icon = "plus-small" class = "w-full" onClick = { ( ) => createWorkspace ( p ) } >
1963+ { language . t ( "workspace.new" ) }
1964+ </ Button >
19771965 </ div >
19781966 < div class = "relative flex-1 min-h-0" >
19791967 < DragDropProvider
0 commit comments