({ options, onChange }: ExportOptionsProps)
| 45 | } |
| 46 | |
| 47 | export function ExportOptionsPanel({ options, onChange }: ExportOptionsProps) { |
| 48 | const isJson = options.format === "json"; |
| 49 | |
| 50 | return ( |
| 51 | <div className="divide-y divide-surface-800"> |
| 52 | <OptionRow |
| 53 | id="opt-tool-use" |
| 54 | label="Include tool use" |
| 55 | description="Show tool calls and results in the export" |
| 56 | checked={options.includeToolUse} |
| 57 | onCheckedChange={(v) => onChange({ includeToolUse: v })} |
| 58 | /> |
| 59 | <OptionRow |
| 60 | id="opt-thinking" |
| 61 | label="Include thinking blocks" |
| 62 | description="Show extended thinking when present" |
| 63 | checked={options.includeThinking} |
| 64 | onCheckedChange={(v) => onChange({ includeThinking: v })} |
| 65 | disabled={isJson} |
| 66 | /> |
| 67 | <OptionRow |
| 68 | id="opt-timestamps" |
| 69 | label="Include timestamps" |
| 70 | description="Add date/time to messages and metadata" |
| 71 | checked={options.includeTimestamps} |
| 72 | onCheckedChange={(v) => onChange({ includeTimestamps: v })} |
| 73 | /> |
| 74 | <OptionRow |
| 75 | id="opt-file-contents" |
| 76 | label="Include full file contents" |
| 77 | description="Show complete tool result output (may be large)" |
| 78 | checked={options.includeFileContents} |
| 79 | onCheckedChange={(v) => onChange({ includeFileContents: v })} |
| 80 | /> |
| 81 | </div> |
| 82 | ); |
| 83 | } |
nothing calls this directly
no test coverage detected