feat(web): option to start tool call details expanded #37194
Open12ya(GitHub profile, opens in a new tab)wants to merge 17 commits into
main fromrefs/pull/37194/headopened View on GitHubPushed02e972a
- @@ -1461,3 +1466,9 @@14611466 );14621467 }146314681469+function ToolCallDetailsRow() {1470+ const settings = useScopedSettings();1471+ const updateSettings = useUpdateScopedSettings();1472+ return (1473+ <SettingsRow1474+ {...searchableSetting("tool-call-details")}@@ -1461,3 +1466,10 @@14611466 );14621467 }146314681469+function ToolCallDetailsRow() {1470+ const settings = useScopedSettings();1471+ const updateSettings = useUpdateScopedSettings();1472+ return (1473+ <SettingsRow1474+ {...searchableSetting("tool-call-details")}1475+ description="Start tool calls and thoughts in chat open or closed. A row you open or close keeps that until you reload."@@ -1461,3 +1466,14 @@14611466 );14621467 }146314681469+function ToolCallDetailsRow() {1470+ const settings = useScopedSettings();1471+ const updateSettings = useUpdateScopedSettings();1472+ return (1473+ <SettingsRow1474+ {...searchableSetting("tool-call-details")}1475+ description="Start tool calls and thoughts in chat open or closed. A row you open or close keeps that until you reload."1476+ resetAction={1477+ settings.toolCallDetailsExpanded !== DEFAULT_UNIFIED_SETTINGS.toolCallDetailsExpanded ? (1478+ <SettingResetButton1479+ label="tool call details"@@ -1463,0 +1477,21 @@1477+ settings.toolCallDetailsExpanded !== DEFAULT_UNIFIED_SETTINGS.toolCallDetailsExpanded ? (1478+ <SettingResetButton1479+ label="tool call details"1480+ onClick={() =>1481+ updateSettings({1482+ toolCallDetailsExpanded: DEFAULT_UNIFIED_SETTINGS.toolCallDetailsExpanded,1483+ })1484+ }1485+ />1486+ ) : null1487+ }1488+ control={1489+ <Select1490+ value={settings.toolCallDetailsExpanded ? "expanded" : "collapsed"}1491+ onValueChange={(value) => {1492+ if (value === "expanded" || value === "collapsed") {1493+ updateSettings({ toolCallDetailsExpanded: value === "expanded" });1494+ }1495+ }}1496+ >1497+ <SelectTrigger size="sm" className="w-full sm:w-40" aria-label="Tool call details">
Pushed559233c
Pusheda55b525
github-actions[bot](GitHub profile, opens in a new tab) added labelsneeds-rebase
Sign in to join this conversation.



coderabbitai[bot](GitHub profile, opens in a new tab) reviewed
Actionable comments posted: 4
7e1dfcaa-14e7-488c-a272-e15cb0a77c83Reviewing files that changed from the base of the PR and between a7669ac7ebec0243bffac5076a05706bf4711b21 and 02e972a7711d8f0531ba66c5a176e5a8205343c9.
apps/web/src/components/chat/MessagesTimeline.tsxapps/web/src/components/chat/TimelineV2EventRow.tsxapps/web/src/components/chat/TimelineWorkEntryRow.logic.tsapps/web/src/components/chat/TimelineWorkEntryRow.tsxapps/web/src/components/chat/TimelineWorkGroupRows.tsxapps/web/src/components/settings/SettingsPanels.tsxapps/web/src/components/settings/settingsSearch.tspackages/contracts/src/settings.tsIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.