Fix/adapt ChatGPT-mode home layout, hide usage upsell - #336
Open
xiaowangbb wants to merge 2 commits into
Open
Conversation
Owner
|
维护者 current-main 复核:这个 PR 不是无价值项,先保持开放,但必须拆分后才能继续。 当前 v1.5.12 的 canonical selector 仍把 home-icon 与 [role=main]:has(home-icon) 作为严格 home 合同,因此 ChatGPT/Work 顶层模式移除 home-icon 后的兼容问题确实尚未覆盖。你提供的三模式实机 DOM/渲染证据有价值。 但“隐藏 Codex/Work 用量已耗尽提示”不能合入:这是影响用户决策的真实产品状态,主题不得静默遮蔽。wide artwork 全窗和首页重排也需要与 selector 修复分开,避免一个视觉选择阻塞兼容性修复。请基于 current main 重做为至少两个窄提交:1) Chat/Work/Codex home 识别与 readiness,保留 quota/upsell 可见;2) wide 首页构图与布局,附当前 build 的三模式截图/overflow。Windows 仍需当前实机或 CI 证据。 |
2 tasks
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 / 摘要
home-route不再依赖 26.727 ChatGPT 模式首页已移除的[data-testid="home-icon"],直接使用[role="main"];home-icon信号同时兼容 Codex 模式的 testid 与 ChatGPT 模式的.heading-xl问候标题。aspect=wide)此前只走旧版英雄卡片路径,chat/Work 首页把图限制在卡片内、Codex 首页完全无图;稍微放宽限制,把首页全窗背景规则扩展到aspect=wide/ultrawide(≥1.45),三种首页都整窗铺满。app-shell-header-context-menu-surface品牌门禁,未引入“任意 app:// 页面带 main/input 即注入”的越权路径。Type / 类型
Platform / 平台
Self-check / 自测
macOS
macos/tests/run-tests.shpassed / 已通过(SwiftPM/XCTest 在本机无完整 Xcode 时按仓库规则跳过)injector --once+--verify通过,stylePresent=true、L1 结构完整body全窗(1434×888、cover),无孤立英雄卡片图层;输入框底部、卡片横向;用量卡片在任务页 / chat 首页 / Work 首页均display:noneaspect=wide)实测背景铺满Windows
User-facing
macos/CHANGELOG.md/windows/CHANGELOG.mdSecurity / 安全
app-shell-header-context-menu-surface)才走通用注入路径Notes / 补充
a58e63c,[codex] fix community theme import and renderer compatibility #324 已合并),仅包含本次增量,无历史重复改动。data-dream-art-wide行为保持不变。