Repository navigation
fix(web): thread panel lists the project's saved scripts - #14350
juliusmarminge merged 1 commit into
Conversation
The thread details panel read the project aggregate's `scripts`, which stay empty now that actions live in `projectSettingsOverrides`. Scripts added from the panel saved correctly but never appeared. Pass the resolved list the chat header already uses. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ApprovabilityVerdict: Approved at Macroscope's review found this PR approvable — This is a one-line, self-contained fix that wires the thread panel to the same resolved project-script list already used elsewhere, while preserving the no-project behavior. It introduces no schema, deployment, security, billing, authentication, default, or static-analysis changes. You can add or adjust custom eligibility rules. Learn more. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: unavailable · PR result: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
Scripts added from the thread details panel (the workspace popover in the title bar) saved, but never showed up in it. The panel only ever offered "Add project script".
The panel was handed
activeProject?.scripts, the project aggregate's own list, which is empty now that project actions live inprojectSettingsOverrides. The save path already built on the resolved list, so each add was written to settings and then read back as empty. The panel now gets the same resolvedactiveProjectScriptsthe rest ofChatViewuses (resolveProjectScripts), stillundefinedwhen there is no project so the row stays hidden.Regressed in 28abdc5 ("Map thread panel into title bar and sidebar");
mainis unaffected.Verified with
tsc --noEmitforapps/weband lint on the file. Checked in the web client against a copy of real data: the panel now lists the t3chat project's saved script, and a script added from the panel appears in its menu immediately.🤖 Generated with Claude Code