Replace overview SLO buttons with a six-stop slider / 将 Overview 页 SLO 按钮替换为六档滑块 - #701
Draft
functionstackx wants to merge 2 commits into
Draft
Replace overview SLO buttons with a six-stop slider / 将 Overview 页 SLO 按钮替换为六档滑块#701functionstackx wants to merge 2 commits into
functionstackx wants to merge 2 commits into
Conversation
Add a six-stop accessible range control that preserves overview URL state, cached navigation, analytics, and English/Chinese value text. Update overview E2E coverage for slider selection and filter preservation. 中文:将 Overview 页的 SLO 按钮组替换为六档无障碍滑块,同时保留 URL 状态、缓存导航、埋点以及中英文数值说明;更新 E2E 测试以覆盖滑块选择与筛选条件保留。
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Render contrasting ridges at each of the six SLO stops and extend overview E2E coverage for filled, selected, and unfilled ridge states. 中文:为 Overview SLO 滑块的六个档位添加对比鲜明的刻度脊线,并扩展 E2E 测试,覆盖已填充、当前选中与未填充状态。
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
/overviewwith one discrete range slider for 30, 50, 75, 100, 150, and 200 tok/s/user.overview_selector_changedanalytics./zh/overviewsibling.Validation
bun run fmtbun run lintbun run typecheckoverview.cy.ts: 28 passed/overviewand/zh/overviewfor SLO 50 and 100, including filled/selected/unfilled ridges; no console errorsbun run test:unit: 3,705 app/constants/database tests passed; the unrelated MCP package then failed 25 tests during mocked server setup becausez.enumwas undefined中文说明
/overview原有的六个 SLO 按钮替换为离散滑块,可选择 30、50、75、100、150、200 tok/s/user 六档。overview_selector_changed埋点。/zh/overview中文页面。验证结果
bun run fmtbun run lintbun run typecheckoverview.cy.ts:28 项通过/overview与/zh/overview上对 SLO 50、100 完成浏览器实测(包括已填充、当前选中与未填充刻度),控制台无报错bun run test:unit:App、Constants、Database 共 3,705 项测试通过;随后与本次改动无关的 MCP package 在 mock server 初始化阶段因z.enum为 undefined 导致 25 项失败