Skip to content

refactor(agentx): move the optimizations callout into the datasets card / 将优化引导块移入 AgentX 数据集卡片 - #767

Merged
functionstackx merged 1 commit into
masterfrom
chore/agentx-callout-placement
Aug 19, 2026
Merged

refactor(agentx): move the optimizations callout into the datasets card / 将优化引导块移入 AgentX 数据集卡片#767
functionstackx merged 1 commit into
masterfrom
chore/agentx-callout-placement

Conversation

@functionstackx

@functionstackx functionstackx commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary

Follow-up to #766, placing the industry-impact block where it reads best.

The optimizations callout was its own card below the AgentX card, which put it after the entire methodology write-up — steps, dataset profile, replay controls, and interpretation. It now sits inside the AgentX Benchmark Datasets card, between the "View AgentX Performance Results" button and "How an AgentX run is built", so a reader meets the upstream work while still at the top of the card.

Being nested, it renders as a highlighted section (border-primary/30 bg-primary/5) rather than a card inside a card, and its heading drops to the size the surrounding card sections use. The button, the eight project links, the test ids, and the analytics events are unchanged.

Tests

agentx-optimizations.cy.ts and datasets-methodology.cy.ts both still pass against a dev server on the real read-only DB — the callout keeps its data-testid, so the existing assertions cover the new position. lint, fmt, and typecheck clean.

中文说明

#766 的后续调整,把行业影响板块放到更合适的位置。

优化引导块此前是 AgentX 卡片下方的独立卡片,位置排在整篇方法论说明(步骤、数据集概况、回放控制、结果解读)之后。现在它位于 AgentX 基准测试数据集卡片内部,夹在"查看 AgentX 性能结果"按钮与"AgentX 如何构建一次回放"之间,读者在卡片开头就能看到这些上游工作。

由于改为嵌套,它以高亮区块(border-primary/30 bg-primary/5)而非卡中卡的形式呈现,标题字号也与卡片内其他小节一致。按钮、八个项目链接、test id 与埋点事件均保持不变。

测试

agentx-optimizations.cy.tsdatasets-methodology.cy.ts 在连接真实只读数据库的本地开发服务器上均通过——引导块保留了原有 data-testid,现有断言即可覆盖新位置。lintfmttypecheck 均无问题。

🤖 Generated with Claude Code


Note

Low Risk
Pure layout and presentation refactor on AgentX marketing pages; no API, auth, or data changes.

Overview
Moves the AgentX optimizations callout from a separate card below the methodology block into the AgentX Benchmark Datasets card, directly under the performance-results CTA and before “How an AgentX run is built” (English and Chinese /agentx pages).

The callout is no longer a nested Card; it renders as a highlighted section (border-primary/30, bg-primary/5) with a section-sized heading. CTAs, framework links, data-testids, and analytics events are unchanged.

Reviewed by Cursor Bugbot for commit c4ecb90. Bugbot is set up for automated code reviews on this repo. Configure here.

The industry-impact block sat in its own card below the AgentX card,
which put it after the whole methodology write-up. Move it inside, right
between the results CTA and "How an AgentX run is built", so the reader
meets the upstream work while they are still at the top of the card. It
becomes a highlighted section rather than a nested card.

中文:行业影响板块此前是 AgentX 卡片下方的独立卡片,位置排在整篇方法论说明
之后。现将其移入卡片内部,置于结果按钮与"AgentX 如何构建一次回放"之间,让读者
在卡片开头就能看到上游工作。它相应地由嵌套卡片改为高亮区块。

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
inferencemax-app Ready Ready Preview Aug 19, 2026 3:25am

Request Review

@functionstackx
functionstackx enabled auto-merge (squash) August 19, 2026 03:27
@functionstackx
functionstackx merged commit 21b6eb9 into master Aug 19, 2026
24 checks passed
@functionstackx
functionstackx deleted the chore/agentx-callout-placement branch August 19, 2026 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant