History

fix: repair rerere-damaged files and reconcile main's round-3 features with v2

Post-rebase reconciliation sweep: - Sidebar: main's folded Sidebar.tsx/Sidebar.logic.ts adapted to v2 shells (latestRun/runtime naming, waiting status instead of monitoring), with subagent-thread filtering and main's pinned-reorder helpers re-exported - Pinned drag reorder (#5581) ported into v2: thread.pin orderKey + thread.pin.reorder command, thread.pin-reordered event, Orchestrator fold, ProjectionStore/Maintenance, client-runtime commands and shell mapping - Project favicon (#4849-era) and defaultThreadEnvMode flowed through v2 contracts (OrchestrationProjectShell, application event payloads) - ChatView: main's #5592 header props, pull-request right-panel surfaces, liveAgentCount badge (#5745) wired into the v2 panel layout - enableAssistantStreaming -> enableLegacyTokenStreaming rename applied to v2 RunExecutionService and replay testkit - Removed v1 zombies resurrected by the rebase (provider service/reaper/ ingestion + v1 layer tests, server.test.ts, integration harness) - routeTree: main's tree + branch's /settings/scheduled-tasks route - Misc marker-sweep syntax repairs (rpc.ts, entities.ts, localApi.test.ts, rightPanelStore.test.ts, GitManager.test.ts, mobile model menu helpers)

Julius Marminge committed 3 months ago

Commit f5360dd1 parent 1116e1159 files · +1301 −36010Browse files

Showing the changes to apps/web/src/components/ProjectScriptsControl.tsx (1 of 59 files). Show all

Unified · Split

apps/web/src/components/ProjectScriptsControl.tsx+2−5
@@ -7,8 +7,8 @@ import { · 6 unmodified lines
77 isAtomCommandInterrupted,
88 squashAtomCommandFailure,
99 } from "@t3tools/client-runtime/state/runtime";
10−import { ChevronDownIcon, DownloadIcon, PlusIcon, SettingsIcon } from "lucide-react";
11−import { useCallback, useMemo, useState } from "react";
10+import { ChevronDownIcon, DownloadIcon, PlusIcon, SettingsIcon, WrenchIcon } from "lucide-react";
11+import React, { useCallback, useMemo, useState } from "react";
1212
1313 import { commandForProjectScript, primaryProjectScript } from "~/projectScripts";
1414 import { shortcutLabelForCommand } from "~/keybindings";
@@ -77,14 +77,11 @@ export default function ProjectScriptsControl({ · 62 unmodified lines
7777 onUpdateScript,
7878 onDeleteScript,
7979 }: ProjectScriptsControlProps) {
80−<<<<<<< HEAD
81−=======
8280 const isPanel = displayMode === "panel";
8381 const ActionGroup = isPanel ? "div" : Group;
8482 const panelAnchorRef = React.useRef<HTMLDivElement | null>(null);
8583 const addScriptFormId = React.useId();
8684 const [editingScriptId, setEditingScriptId] = useState<string | null>(null);
87−>>>>>>> abd5cc5ff8 (Map thread panel into title bar and sidebar)
8885 const [actionsMenuOpen, setActionsMenuOpen] = useState({
8986 scripts: false,
9087 imports: false,