refactor(agentx): move the optimizations callout into the datasets card / 将优化引导块移入 AgentX 数据集卡片 - #767
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
functionstackx
enabled auto-merge (squash)
August 19, 2026 03:27
functionstackx
disabled auto-merge
August 19, 2026 03:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.tsanddatasets-methodology.cy.tsboth still pass against a dev server on the real read-only DB — the callout keeps itsdata-testid, so the existing assertions cover the new position.lint,fmt, andtypecheckclean.中文说明
#766 的后续调整,把行业影响板块放到更合适的位置。
优化引导块此前是 AgentX 卡片下方的独立卡片,位置排在整篇方法论说明(步骤、数据集概况、回放控制、结果解读)之后。现在它位于 AgentX 基准测试数据集卡片内部,夹在"查看 AgentX 性能结果"按钮与"AgentX 如何构建一次回放"之间,读者在卡片开头就能看到这些上游工作。
由于改为嵌套,它以高亮区块(
border-primary/30 bg-primary/5)而非卡中卡的形式呈现,标题字号也与卡片内其他小节一致。按钮、八个项目链接、test id 与埋点事件均保持不变。测试
agentx-optimizations.cy.ts与datasets-methodology.cy.ts在连接真实只读数据库的本地开发服务器上均通过——引导块保留了原有data-testid,现有断言即可覆盖新位置。lint、fmt、typecheck均无问题。🤖 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
/agentxpages).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.