mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
feat: show context and menu (#397)
This commit is contained in:
@@ -108,7 +108,10 @@ function ChatContent({
|
||||
|
||||
return (
|
||||
<div className="chat-content flex flex-col w-screen h-screen bg-window-gradient items-center justify-center p-[10px]">
|
||||
|
||||
|
||||
<div className="relative block h-[20px] w-screen">
|
||||
<div className="text-center text-splash-pills-text">{window.appConfig.get("GOOSE_WORKING_DIR")}</div>
|
||||
<MoreMenu
|
||||
onStopGoose={() => {
|
||||
stop();
|
||||
@@ -280,4 +283,4 @@ export default function ChatWindow() {
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,6 +37,19 @@ export default function MoreMenu({ onClearContext, onRestartGoose }: MoreMenuPro
|
||||
>
|
||||
Restart goose
|
||||
</button>
|
||||
<button
|
||||
onClick={() => window.electron.directoryChooser()}
|
||||
className="w-full text-left px-2 py-1.5 text-sm"
|
||||
>
|
||||
Open Dir (cmd+O)
|
||||
</button>
|
||||
<button
|
||||
onClick={() => window.electron.createChatWindow()}
|
||||
className="w-full text-left px-2 py-1.5 text-sm"
|
||||
>
|
||||
New Session (cmd+N)
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</PopoverContent>
|
||||
</Popover>
|
||||
|
||||
Reference in New Issue
Block a user