refactor: unify data preparations and research input snapshots
Deploy production / deploy (push) Successful in 53s

This commit is contained in:
yuxuanhui
2026-09-12 01:24:02 +08:00
parent 849f86fef7
commit 394438e753
82 changed files with 4146 additions and 2076 deletions
+12 -3
View File
@@ -62,19 +62,28 @@ export function SourceDetails({
打开研究会话
</Button>
)}
{source.template_input_id && (
{[
...new Set([
...(source.input_snapshot_ids ?? []),
...(source.input_snapshot_id ? [source.input_snapshot_id] : []),
]),
].map((id, index) => (
<Button
key={id}
onClick={() =>
onAction({
type: "open_research_input",
input_id: source.template_input_id!,
input_id: id,
nonce: Date.now(),
})
}
>
查看研究输入
{(source.input_snapshot_ids?.length ?? 0) > 1
? ` ${index + 1}`
: ""}
</Button>
)}
))}
{source.parent_run_id && (
<Button
onClick={() =>