feat(ui): GitLab merge request view in the context panel

This commit is contained in:
2026-08-16 16:23:37 +00:00
parent 454b3591e5
commit 2c4ba78ae5
13 changed files with 700 additions and 1 deletions
@@ -5,6 +5,7 @@ import { DiffViewIcon } from '@/components/icons/DiffIcon';
import { Button } from '@/components/ui/button';
import { SortableTabsStrip } from '@/components/ui/sortable-tabs-strip';
import { PullRequestView } from '@/components/views/PullRequestView';
import { GitLabMrView } from '@/components/views/GitLabMrView';
import { TerminalView } from '@/components/views/TerminalView';
import { lazyWithChunkRecovery } from '@/lib/chunkLoadRecovery';
@@ -938,7 +939,7 @@ export const ContextPanel: React.FC = () => {
: activeTab?.mode === 'git'
? <React.Suspense fallback={null}><GitView isActive={isOpen} /></React.Suspense>
: activeTab?.mode === 'pr'
? (gitProvider === 'github' ? <PullRequestView /> : null)
? (gitProvider === 'github' ? <PullRequestView /> : gitProvider === 'gitlab' ? <GitLabMrView /> : null)
: activeTab?.mode === 'notes'
? <ProjectContextPanel />
: activeTab?.mode === 'plan'