Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/renderer/components/ChangesDiffModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -625,7 +625,6 @@ export const ChangesDiffModal: React.FC<ChangesDiffModalProps> = ({
}
className="flex h-[82vh] w-[92vw] transform-gpu overflow-hidden rounded-xl border border-border bg-white shadow-2xl will-change-transform dark:border-border dark:bg-card"
>
{/* Left sidebar - file list */}
<div className="w-72 overflow-y-auto border-r border-border bg-muted dark:border-border dark:bg-muted/40">
<div className="px-3 py-2 text-xs uppercase tracking-wide text-muted-foreground">
Changed Files
Expand Down Expand Up @@ -655,7 +654,6 @@ export const ChangesDiffModal: React.FC<ChangesDiffModalProps> = ({
))}
</div>

{/* Right side - Monaco diff editor */}
<div className="flex min-w-0 flex-1 flex-col">
<div className="flex items-center justify-between border-b border-border bg-white/80 px-4 py-2.5 dark:border-border dark:bg-muted/50">
<div className="flex min-w-0 flex-1 items-center gap-2">
Expand Down
1 change: 0 additions & 1 deletion src/renderer/components/EditorMode.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ export default function EditorMode({ taskPath, taskName, onClose }: EditorModePr

return (
<div className="fixed inset-0 z-30 flex flex-col bg-background">
{/* Header */}
<div className="flex h-12 items-center justify-between border-b border-border bg-muted/30 px-4">
<div className="flex items-center gap-2">
<FolderOpen className="h-5 w-5" />
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/LeftSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,9 @@ const LeftSidebar: React.FC<LeftSidebarProps> = ({

<CollapsibleContent asChild>
<div className="mt-1 flex min-w-0 pl-2">
{/* Vertical indent line */}
<div className="flex w-4 shrink-0 justify-center py-1">
<div className="w-px bg-border" />
</div>
{/* Task content */}
<div className="min-w-0 flex-1">
<motion.button
type="button"
Expand Down
3 changes: 0 additions & 3 deletions src/renderer/components/ProviderDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ export const ProviderDisplay: React.FC<Props> = ({

return (
<div className="inline-flex items-center gap-2">
{/* Provider Badge */}
<TooltipProvider delayDuration={250}>
<Tooltip>
<TooltipTrigger asChild>
Expand Down Expand Up @@ -130,7 +129,6 @@ export const ProviderDisplay: React.FC<Props> = ({
</Tooltip>
</TooltipProvider>

{/* Issue Badges */}
{linearIssue && (
<TooltipProvider delayDuration={250}>
<Tooltip>
Expand Down Expand Up @@ -268,7 +266,6 @@ export const ProviderDisplay: React.FC<Props> = ({
</TooltipProvider>
)}

{/* Comments Button - only show when there are unsent comments */}
{resolvedTaskId && unsentCount > 0 && (
<CommentsPopover
tooltipContent="Selected comments are appended to your next agent message."
Expand Down
7 changes: 0 additions & 7 deletions src/renderer/components/TaskAdvancedSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ export const TaskAdvancedSettings: React.FC<TaskAdvancedSettingsProps> = ({
</AccordionTrigger>
<AccordionContent className="space-y-4 overflow-hidden px-0 pt-2" id="task-advanced">
<div className="flex flex-col gap-4 p-2">
{/* Worktree option */}
<div className="flex items-center gap-4">
<Label className="w-32 shrink-0">Run in worktree</Label>
<div className="min-w-0 flex-1">
Expand All @@ -247,7 +246,6 @@ export const TaskAdvancedSettings: React.FC<TaskAdvancedSettingsProps> = ({
</div>
</div>

{/* Auto-approve option */}
{hasAutoApproveSupport ? (
<div className="flex items-center gap-4">
<Label className="w-32 shrink-0">Auto-approve</Label>
Expand Down Expand Up @@ -313,7 +311,6 @@ export const TaskAdvancedSettings: React.FC<TaskAdvancedSettingsProps> = ({
</div>
</div>

{/* GitHub issue selector */}
<div className="grid grid-cols-[128px_1fr] items-start gap-4">
<Label htmlFor="github-issue" className="pt-2">
GitHub issue
Expand Down Expand Up @@ -359,7 +356,6 @@ export const TaskAdvancedSettings: React.FC<TaskAdvancedSettingsProps> = ({
</div>
</div>

{/* Jira issue selector */}
<div className="grid grid-cols-[128px_1fr] items-start gap-4">
<Label htmlFor="jira-issue" className="pt-2">
Jira issue
Expand Down Expand Up @@ -395,7 +391,6 @@ export const TaskAdvancedSettings: React.FC<TaskAdvancedSettingsProps> = ({
</div>
</div>

{/* Initial prompt */}
<div className="flex items-start gap-4 p-2">
<Label htmlFor="initial-prompt" className="w-32 shrink-0">
Initial prompt
Expand All @@ -416,7 +411,6 @@ export const TaskAdvancedSettings: React.FC<TaskAdvancedSettingsProps> = ({
</AccordionItem>
</Accordion>

{/* Linear setup modal */}
<AnimatePresence>
{linearSetupOpen ? (
<motion.div
Expand Down Expand Up @@ -448,7 +442,6 @@ export const TaskAdvancedSettings: React.FC<TaskAdvancedSettingsProps> = ({
) : null}
</AnimatePresence>

{/* Jira setup modal */}
<AnimatePresence>
{jiraSetupOpen ? (
<motion.div
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/components/TaskTerminalPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ const TaskTerminalPanelComponent: React.FC<Props> = ({
: 'bg-white'
)}
>
{/* Render worktree terminals */}
{taskTerminals.terminals.map((terminal) => {
const isActive = parsed?.mode === 'task' && terminal.id === activeTerminalId;
return (
Expand All @@ -414,7 +413,6 @@ const TaskTerminalPanelComponent: React.FC<Props> = ({
</div>
);
})}
{/* Render global terminals */}
{globalTerminals.terminals.map((terminal) => {
const isActive = parsed?.mode === 'global' && terminal.id === activeTerminalId;
return (
Expand Down
2 changes: 0 additions & 2 deletions src/renderer/providers/BrowserProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,7 @@ export const BrowserProvider: React.FC<{ children: React.ReactNode }> = ({ child
return (
<Ctx.Provider value={value}>
{children}
{/* Portal: inline consumer component owns the actual webview element */}
<div id="emdash-browser-root" />
{/* Hidden ref target used by BrowserPane to bind the underlying <webview> */}
<BrowserViewRefBinder refObj={webviewRef} onUrlChange={setUrl} />
</Ctx.Provider>
);
Expand Down