diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 9ada3b71506..d00d73fcbeb 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -79,4 +79,4 @@ "vite": "^7.1.3", "vite-tsconfig-paths": "^5.1.4" } -} \ No newline at end of file +} diff --git a/apps/desktop/src/main/lib/workspace-ipcs.ts b/apps/desktop/src/main/lib/workspace-ipcs.ts index e75c0dedea4..c81236def88 100644 --- a/apps/desktop/src/main/lib/workspace-ipcs.ts +++ b/apps/desktop/src/main/lib/workspace-ipcs.ts @@ -558,7 +558,9 @@ export function registerWorkspaceIPCs() { // If successful, store the PR URL in the worktree config if (result.success && result.prUrl) { - console.log(`Storing PR URL for worktree ${worktree.id}: ${result.prUrl}`); + console.log( + `Storing PR URL for worktree ${worktree.id}: ${result.prUrl}`, + ); worktree.prUrl = result.prUrl; await workspaceManager.saveConfig(); } else { diff --git a/apps/desktop/src/main/lib/worktree-manager.ts b/apps/desktop/src/main/lib/worktree-manager.ts index c2d1202eb38..5793a9cb2aa 100644 --- a/apps/desktop/src/main/lib/worktree-manager.ts +++ b/apps/desktop/src/main/lib/worktree-manager.ts @@ -724,7 +724,8 @@ class WorktreeManager { console.error("Failed to commit changes:", commitError); return { success: false, - error: "Failed to commit changes. Please commit manually and try again.", + error: + "Failed to commit changes. Please commit manually and try again.", }; } } @@ -764,11 +765,15 @@ class WorktreeManager { } catch (pushError) { const errorStr = String(pushError); // Only ignore if branch already exists or is up-to-date - if (!errorStr.includes("already exists") && !errorStr.includes("up-to-date")) { + if ( + !errorStr.includes("already exists") && + !errorStr.includes("up-to-date") + ) { console.error("Failed to push branch:", errorStr); return { success: false, - error: "Failed to push branch to remote. Please push manually and try again.", + error: + "Failed to push branch to remote. Please push manually and try again.", }; } } @@ -879,7 +884,8 @@ class WorktreeManager { }; } catch (error) { console.error("Failed to create PR:", error); - const errorMessage = error instanceof Error ? error.message : String(error); + const errorMessage = + error instanceof Error ? error.message : String(error); // Provide helpful error messages if (errorMessage.includes("could not find any commits")) { @@ -929,7 +935,8 @@ class WorktreeManager { }; } catch (error) { console.error("Failed to merge PR:", error); - const errorMessage = error instanceof Error ? error.message : String(error); + const errorMessage = + error instanceof Error ? error.message : String(error); return { success: false, diff --git a/apps/desktop/src/renderer/screens/main/components/NewLayout/NewLayoutMain.tsx b/apps/desktop/src/renderer/screens/main/components/NewLayout/NewLayoutMain.tsx index 0a4894a038d..e0d521ac74b 100644 --- a/apps/desktop/src/renderer/screens/main/components/NewLayout/NewLayoutMain.tsx +++ b/apps/desktop/src/renderer/screens/main/components/NewLayout/NewLayoutMain.tsx @@ -241,12 +241,12 @@ function enrichWorktreesWithTasks( isPending: true, // Mark as pending for UI task: pending.taskData ? { - id: pending.id, - slug: pending.taskData.slug, - title: pending.taskData.name, - status: pending.taskData.status, - description: pending.description || "", - } + id: pending.id, + slug: pending.taskData.slug, + title: pending.taskData.name, + status: pending.taskData.status, + description: pending.description || "", + } : undefined, }), ); @@ -1025,10 +1025,10 @@ export const NewLayoutMain: React.FC = () => { {/* Main content panel */} {loading || - error || - !currentWorkspace || - !selectedTab || - !selectedWorktree ? ( + error || + !currentWorkspace || + !selectedTab || + !selectedWorktree ? ( = ({
Worktree -

{displayTitle}

+

+ {displayTitle} +

@@ -23,7 +25,9 @@ export const BasicWorktreeContent: React.FC = ({
Tabs: - {worktree.tabs?.length || 0} open + + {worktree.tabs?.length || 0} open +
diff --git a/apps/desktop/src/renderer/screens/main/components/NewLayout/TaskTabs/TaskWorktreeContent.tsx b/apps/desktop/src/renderer/screens/main/components/NewLayout/TaskTabs/TaskWorktreeContent.tsx index 1cb4fdcd98a..dccb403ae22 100644 --- a/apps/desktop/src/renderer/screens/main/components/NewLayout/TaskTabs/TaskWorktreeContent.tsx +++ b/apps/desktop/src/renderer/screens/main/components/NewLayout/TaskTabs/TaskWorktreeContent.tsx @@ -62,7 +62,9 @@ export const TaskWorktreeContent: React.FC = ({
Tabs - {worktree.tabs?.length || 0} open + + {worktree.tabs?.length || 0} open +
diff --git a/apps/desktop/src/renderer/screens/main/components/NewLayout/TaskTabs/WorktreeTabButton.tsx b/apps/desktop/src/renderer/screens/main/components/NewLayout/TaskTabs/WorktreeTabButton.tsx index d0a8de72e46..3d436c3d00c 100644 --- a/apps/desktop/src/renderer/screens/main/components/NewLayout/TaskTabs/WorktreeTabButton.tsx +++ b/apps/desktop/src/renderer/screens/main/components/NewLayout/TaskTabs/WorktreeTabButton.tsx @@ -38,7 +38,8 @@ export const WorktreeTabButton: React.FC = ({ {isPending ? ( ) : ( - hasTask && task && + hasTask && + task && )} {hasTask && task ? `[${task.slug}] ${task.title}` : displayTitle} diff --git a/apps/desktop/src/renderer/screens/main/components/PlanView/TaskCard.tsx b/apps/desktop/src/renderer/screens/main/components/PlanView/TaskCard.tsx index 4d3578c36e7..3574e93d93c 100644 --- a/apps/desktop/src/renderer/screens/main/components/PlanView/TaskCard.tsx +++ b/apps/desktop/src/renderer/screens/main/components/PlanView/TaskCard.tsx @@ -66,7 +66,10 @@ export const TaskCard: React.FC = ({ if (taskWorktree) { targetWorktreeId = taskWorktree.id; - } else if (currentWorkspace.worktrees && currentWorkspace.worktrees.length > 0) { + } else if ( + currentWorkspace.worktrees && + currentWorkspace.worktrees.length > 0 + ) { // Use the first worktree as fallback targetWorktreeId = currentWorkspace.worktrees[0].id; } @@ -82,9 +85,9 @@ export const TaskCard: React.FC = ({ const taskPrompt = `${task.title}\n\n${task.description || ""}`.trim(); // Escape quotes and newlines for shell command const escapedPrompt = taskPrompt - .replace(/\\/g, '\\\\') // Escape backslashes first - .replace(/"/g, '\\"') // Escape double quotes - .replace(/\n/g, '\\n'); // Escape newlines + .replace(/\\/g, "\\\\") // Escape backslashes first + .replace(/"/g, '\\"') // Escape double quotes + .replace(/\n/g, "\\n"); // Escape newlines const result = await window.ipcRenderer.invoke("tab-create", { workspaceId: currentWorkspace.id, worktreeId: targetWorktreeId, diff --git a/apps/desktop/src/renderer/screens/main/components/PlanView/TaskPage.tsx b/apps/desktop/src/renderer/screens/main/components/PlanView/TaskPage.tsx index 4bc6d4705fb..49157e411f0 100644 --- a/apps/desktop/src/renderer/screens/main/components/PlanView/TaskPage.tsx +++ b/apps/desktop/src/renderer/screens/main/components/PlanView/TaskPage.tsx @@ -62,9 +62,7 @@ export const TaskPage: React.FC = ({ const [title, setTitle] = useState(task.title); const [description, setDescription] = useState(task.description || ""); const [status, setStatus] = useState(task.status); - const [assigneeId, setAssigneeId] = useState( - task.assigneeId, - ); + const [assigneeId, setAssigneeId] = useState(task.assigneeId); const [isAssigneeDropdownOpen, setIsAssigneeDropdownOpen] = useState(false); const dropdownRef = useRef(null); @@ -145,7 +143,10 @@ export const TaskPage: React.FC = ({ if (taskWorktree) { targetWorktreeId = taskWorktree.id; - } else if (currentWorkspace.worktrees && currentWorkspace.worktrees.length > 0) { + } else if ( + currentWorkspace.worktrees && + currentWorkspace.worktrees.length > 0 + ) { // Use the first worktree as fallback targetWorktreeId = currentWorkspace.worktrees[0].id; } @@ -354,8 +355,9 @@ export const TaskPage: React.FC = ({ )} @@ -381,8 +383,7 @@ export const TaskPage: React.FC = ({ > {user.name} diff --git a/apps/website/src/app/components/TestimonialsSection/TestimonialsSection.tsx b/apps/website/src/app/components/TestimonialsSection/TestimonialsSection.tsx index 2321a3cf697..736ca0ebf8a 100644 --- a/apps/website/src/app/components/TestimonialsSection/TestimonialsSection.tsx +++ b/apps/website/src/app/components/TestimonialsSection/TestimonialsSection.tsx @@ -32,7 +32,6 @@ export function TestimonialsSection() { transition={{ duration: 0.5 }} className="text-center mb-12 sm:mb-16" > -

Engineers love Superset

@@ -83,7 +82,9 @@ export function TestimonialsSection() {
{testimonial.author}
-
{testimonial.title}
+
+ {testimonial.title} +
@@ -135,7 +136,9 @@ export function TestimonialsSection() {
{testimonial.author}
-
{testimonial.title}
+
+ {testimonial.title} +
diff --git a/conductor.json b/conductor.json index 1ff746037b9..518fc6e5e78 100644 --- a/conductor.json +++ b/conductor.json @@ -1,5 +1,5 @@ { - "scripts": { - "setup": "./conductor-setup.sh" - } + "scripts": { + "setup": "./conductor-setup.sh" + } } diff --git a/packages/models/package.json b/packages/models/package.json index a0b7492998a..071c5591f67 100644 --- a/packages/models/package.json +++ b/packages/models/package.json @@ -10,4 +10,4 @@ "bun-types": "^1.3.1", "typescript": "^5.9.3" } -} \ No newline at end of file +} diff --git a/packages/ui/package.json b/packages/ui/package.json index 6425d171dee..e61ce74eb48 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -55,4 +55,4 @@ "react": "^18.3.1 || ^19.0.0", "react-dom": "^18.3.1 || ^19.0.0" } -} \ No newline at end of file +} diff --git a/packages/ui/src/components/context-menu.tsx b/packages/ui/src/components/context-menu.tsx index 93d5a2a41d5..d186942f0b1 100644 --- a/packages/ui/src/components/context-menu.tsx +++ b/packages/ui/src/components/context-menu.tsx @@ -7,7 +7,13 @@ import { cn } from "../lib/utils"; function ContextMenu({ ...props }: React.ComponentProps) { - return ; + return ( + + ); } function ContextMenuTrigger({