feat(quotes): order /quotes carousel-first, drive carousel order from QUOTES / 按轮播顺序重排 /quotes 页面,并由 QUOTES 数组驱动轮播顺序#522
Merged
Conversation
… QUOTES Reorder the QUOTES array so carousel orgs come first (in the existing CAROUSEL_ORGS order); non-carousel quotes follow in their previous relative order. Pure reorder — no quote content changed. The carousel now derives its order directly from the QUOTES array: remove the 'order' override from QuoteCarousel and intro-section, so the /quotes page order is the single source of truth. CAROUSEL_ORGS only controls membership now. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…data Update the supporters sentence to lead with MiniMax, Moonshot Kimi, and Alibaba Qwen, matching the new carousel-first ordering. Keep the page metadata and OG description in sync with the visible intro text. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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
QUOTESarray inquotes-data.tsso quotes from carousel orgs come first, in the existing carousel order (MiniMax → Moonshot AI → Alibaba Qwen → OpenAI → …). Quotes from orgs not in the carousel follow after, keeping their previous relative order. Pure reorder — verified line-for-line that no quote content changed.QUOTESarray (the /quotes page order), instead of a separateorderoverride. Removed the now-deadorderpinning logic fromQuoteCarousel/buildCompanyQuotes.CAROUSEL_ORGSnow only controls carousel membership (and the FAQ supporter list); documented as such.oxfmtoverREADME_zh.md(landed unformatted in Add README_zh.md and Chinese title in README.md / 新增 README_zh.md 并在 README.md 标题中加入中文 #521 and broke theoxccheck on every PR).No visual change to the carousel: it starts on MiniMax and rotates in the same order as before; the /quotes page now lists supporters in that same order.
中文说明
quotes-data.ts中的QUOTES数组:轮播(carousel)中出现的机构引言排在最前,顺序与现有轮播顺序一致(MiniMax → Moonshot AI → Alibaba Qwen → OpenAI → …);未进入轮播的引言保持原有相对顺序排在其后。纯重排——已逐行验证引言内容无任何改动。QUOTES数组(即 /quotes 页面顺序),不再使用单独的order覆盖配置;移除了QuoteCarousel/buildCompanyQuotes中已无用的置顶逻辑。CAROUSEL_ORGS现在仅控制轮播成员资格(以及 FAQ 支持者列表),并已在注释中说明。README_zh.md运行oxfmt(该文件在 Add README_zh.md and Chinese title in README.md / 新增 README_zh.md 并在 README.md 标题中加入中文 #521 中未格式化合入,导致所有 PR 的oxc检查失败)。轮播视觉效果无变化:仍从 MiniMax 开始并按原顺序轮播;/quotes 页面现按同一顺序展示支持者。
Testing
pnpm typecheck✅pnpm fmt✅oxlinton changed files ✅cypress run --component --spec cypress/component/quotes-content.cy.tsx— 4/4 ✅pnpm test:unit— 2177/2177 ✅Not applicable to unofficial-run overlays (static quotes content, no chart data).
🤖 Generated with Claude Code