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
3 changes: 2 additions & 1 deletion src/browser/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import {
} from "@/constants/layout";
import { buildCoreSources, type BuildSourcesParams } from "./utils/commands/sources";

import { getTopLevelProjectEntries } from "@/common/utils/subProjects";
import { THINKING_LEVELS, type ThinkingLevel } from "@/common/types/thinking";
import { CUSTOM_EVENTS } from "@/common/constants/events";
import { isWorkspaceForkSwitchEvent } from "./utils/workspaceEvents";
Expand Down Expand Up @@ -1237,7 +1238,7 @@ function AppInner() {
<MultiProjectWorkspaceCreateModal
isOpen={isMultiProjectWorkspaceModalOpen}
onClose={() => setMultiProjectWorkspaceModalOpen(false)}
projectOptions={Array.from(userProjects.keys()).map((projectPath) => ({
projectOptions={getTopLevelProjectEntries(userProjects).map(([projectPath]) => ({
projectPath,
projectName:
projectPath.split("/").pop() ?? projectPath.split("\\").pop() ?? "Unnamed Project",
Expand Down
85 changes: 0 additions & 85 deletions src/browser/components/DraggableSection/DraggableSection.tsx

This file was deleted.

8 changes: 0 additions & 8 deletions src/browser/components/ProjectSidebar/ProjectSidebar.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ import * as PopoverErrorModule from "../PopoverError/PopoverError";
import * as SectionHeaderModule from "../SectionHeader/SectionHeader";
import * as WorkspaceSectionDropZoneModule from "../WorkspaceSectionDropZone/WorkspaceSectionDropZone";
import * as WorkspaceDragLayerModule from "../WorkspaceDragLayer/WorkspaceDragLayer";
import * as SectionDragLayerModule from "../SectionDragLayer/SectionDragLayer";
import * as DraggableSectionModule from "../DraggableSection/DraggableSection";
import { updatePersistedState } from "@/browser/hooks/usePersistedState";
import type ProjectSidebarComponent from "./ProjectSidebar";
import type * as WorkspaceStatusIndicatorModuleExports from "../WorkspaceStatusIndicator/WorkspaceStatusIndicator";
Expand Down Expand Up @@ -521,12 +519,6 @@ function installProjectSidebarTestDoubles() {
spyOn(WorkspaceDragLayerModule, "WorkspaceDragLayer").mockImplementation(
(() => null) as unknown as typeof WorkspaceDragLayerModule.WorkspaceDragLayer
);
spyOn(SectionDragLayerModule, "SectionDragLayer").mockImplementation(
(() => null) as unknown as typeof SectionDragLayerModule.SectionDragLayer
);
spyOn(DraggableSectionModule, "DraggableSection").mockImplementation(
TestWrapper as unknown as typeof DraggableSectionModule.DraggableSection
);
void mock.module("../PositionedMenu/PositionedMenu", () => ({
PositionedMenu: (props: { open: boolean; children: React.ReactNode }) =>
props.open ? <div data-testid="project-actions-menu">{props.children}</div> : null,
Expand Down
Loading
Loading