feat: update Makelore modules and conversations
Some checks failed
Electron E2E / Electron E2E (macos-latest) (push) Has been cancelled
Electron E2E / Electron E2E (ubuntu-latest) (push) Has been cancelled
Electron E2E / Electron E2E (windows-latest) (push) Has been cancelled

This commit is contained in:
inman
2026-07-31 10:08:41 +08:00
parent b8ca3f8eea
commit 80e8386fa6
175 changed files with 8036 additions and 10581 deletions

View File

@@ -1,4 +1,5 @@
import { OpencodeChatPanel } from './OpencodeChatPanel';
import { useNavigate } from 'react-router-dom';
function getNavigationDraft(state: unknown): string | undefined {
if (!state || typeof state !== 'object') return undefined;
@@ -16,11 +17,12 @@ function getNavigationDraftFromHistory(): string | undefined {
}
export function Chat() {
const navigate = useNavigate();
const navigationDraft = getNavigationDraftFromHistory();
return (
<div data-testid="chat-operation-page" className="flex h-[calc(100%_+_3rem)] min-h-0 -m-6 bg-background">
<OpencodeChatPanel variant="main" navigationDraft={navigationDraft} />
<div data-testid="chat-operation-page" className="flex h-[calc(100%_+_3rem)] min-h-0 -m-6 overflow-hidden bg-background">
<OpencodeChatPanel variant="main" navigationDraft={navigationDraft} onOpenProjectSettings={() => navigate('/project-config')} />
</div>
);
}