Repository navigation
fix(ui): 落地页与工作台视觉打磨,修复预览页渐变按钮基线失败 - #221
Merged
Merged
Conversation
…view gradient buttons Landing: - bump hero eyebrow v2.3 -> v2.4 to match package version - tighten hero vertical rhythm; split subtitle into nowrap phrases to drop the single-character orphan line - gate .reveal-on-scroll behind a .reveal-armed class so content stays visible when JS/observer/print contexts never trigger intersection - hover feedback for feature cards, format rows, workflow steps; CTA section gets a brand gradient bar Workbench (styles.css only): - dashed centered empty states, tab active indicator, focus-visible rings - gradient progress bar with tabular-nums percentage - stronger pane elevation, press feedback on ghost/mini/menu buttons Preview (preview.css): - explicit brand-gradient primary button rules for dark topbar context (fixes unified-button-test baseline failure: token now used 3x) Chore: add npm run dev script alongside existing start script Tests: design-token, ui-accessibility, ui-button-consistency (12/12), unified-button, smoke (60 groups), browser-smoke, ui-conversion-e2e, server-hardening all pass.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
概述
对落地页(#/)与工作台(#/workbench)做一轮视觉与体验打磨,纯展示层改动,不涉及任何转换逻辑;顺带修复
unified-button-test的既有基线失败。落地页(landing-view.js / styles/landing.css)
.reveal-on-scroll改为.reveal-armed门控——仅当 IntersectionObserver 真正武装后才隐藏待入场元素;JS 未执行、无 observer、打印(@media print强制可见且跳过过渡)等场景下内容默认可见;prefers-reduced-motion 回退保持原样scroll-margin-top改善锚点跳转工作台(styles.css,未动 app.js 逻辑)
:focus-visible焦点框--shadow-soft→--shadow);ghost/mini/menu 按钮补:active按压反馈;下拉/输入框补 hover 描边独立预览页(styles/preview.css)
var(--btn-gradient-primary)(3 处),含 hover 提亮、投影与焦点框unified-button-test基线失败:原失败点为 preview.css 未使用渐变 token其他
"dev": "node src/web-server.js"脚本(与start一致)测试
改动后逐条通过:
已用 Puppeteer(1440×900)截图核验落地页首屏、落地页整页(四个区块全部可见)与工作台渲染,无内容缺失。