feat(strategy): AI生成/自定义编写 tab 加策略开发指南链接 (#125)

两个 tab 的描述行都加了指向 GitHub strategy-guide.md 的链接,
方便用户参考指标列/信号列/filter_history 写法/参数类型等。

Co-authored-by: shy3130 <shy3130@users.noreply.github.com>
This commit is contained in:
wshy
2026-07-14 21:59:56 +08:00
committed by GitHub
co-authored by shy3130
parent ee17261feb
commit e456d018fc
@@ -352,11 +352,21 @@ export function StrategyBuilderDialog({ open, onClose, onSavedId, mode = 'create
<div className="flex items-center gap-2 text-[11px]">
<Sparkles className="h-3.5 w-3.5 text-amber-400 shrink-0" />
<span className="text-amber-400/80"> 1 2 </span>
<a href="https://github.com/shy3130/tickflow-stock-panel/blob/main/backend/app/strategy/prompts/strategy-guide.md"
target="_blank" rel="noopener noreferrer"
className="inline-flex items-center gap-1 text-accent/70 hover:text-accent transition-colors">
<FileText className="h-3 w-3" />
</a>
</div>
) : (
<div className="flex items-center gap-2 text-[11px]">
<Terminal className="h-3.5 w-3.5 text-accent shrink-0" />
<span className="text-muted"> Python </span>
<a href="https://github.com/shy3130/tickflow-stock-panel/blob/main/backend/app/strategy/prompts/strategy-guide.md"
target="_blank" rel="noopener noreferrer"
className="inline-flex items-center gap-1 text-accent/70 hover:text-accent transition-colors">
<FileText className="h-3 w-3" />
</a>
</div>
)}
</div>