feat(ui-mac): 时间线全面优化 — 40 构件 reskin + 设计包(零改上游) - #15
Merged
Conversation
docs/designs/2026-06-28-timeline-overhaul/: - timeline.html:覆盖全部 ~52 个时间线构件的 alpha 卡片语言设计稿(深浅色) - audit.md:逐条审计(CDP 真机 × 源码全清单 × 9 截图),CSS 36 / INJECT 3 / ENGINE 1 - tasks.md:40 个原子任务(1 任务=1 优化点),含钩子/改动/验收/依赖 - dev-plan.md:新 session 可直接开干的执行手册(CDP 配方 + 顺序 + 待决项) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
按 ADR-016 前端接管,把 opencode 时间线全部构件换成 alpha 卡片语言,纯 CSS + 既有
MutationObserver 接缝,零改上游源码。
- timeline/{user,assistant,tools,structure,review,misc}.css:6 个并行安全分区(1454 行),
覆盖 用户输入/助手输出/工具卡/分组结构/审查面板/杂项;钩子经真机 CDP + 源码核实
- timeline-reskin.css:入口 @import 全部分区(加性拆分,既有规则保留)
- timeline-inject.tsx:TL-05 斜杠 chip 分类 · TL-17 bash 退出码徽 · TL-34 回合分隔
(仅用户消息边界,修过多/过宽)· TL-32-A 本回合改动折叠 +「在面板打开」
实机已验证 ~22 构件 + 5 处视觉 bug 修复(Shell 裁切 / 分隔宽度 / 分隔数量 / diffsum
空白 / diffsum 内联展开)。typecheck 通过。todos 等少数构件历史无样本,待后续验证。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
jinjunnn
added a commit
that referenced
this pull request
Jul 5, 2026
…署实证) (#101) - alpha-models.json 策展跟随:DeepSeek 旧代两条移除(live allowlist 为准,snapshot 兜底同步),版本 bump - B 侧真源:alpha-platform PR #15(models.config.json 单一真源+aliases 降级)/#16(欠费 failover+route 计价),均已 prod 部署 - prod 实证:/v1/models edition:cn 仅 v4 两档;旧 id settle 走 v4 价;upstreamProvider=openrouter 按 route 价结算;EDITION_CONFIG 上 var(运营者 u_18018709299→intl) - codex 审计(0 P0/1 P1/4 P2)全修:web 策略钉死首选 route/preauth 按链上最贵/同链 provider 唯一/NaN loud-fail/disabled settle loud warn Co-authored-by: jinjunnn <slmbaovanetti99@gmail.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
jinjunnn
pushed a commit
that referenced
this pull request
Jul 8, 2026
…/ plugin b32c5eb) 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.
概要
按 ADR-016 前端接管,把 opencode 时间线全部构件换成 alpha 卡片语言。纯 CSS + 既有 MutationObserver 接缝,零改 opencode 源码。
内容
docs/designs/2026-06-28-timeline-overhaul/:timeline.html(全量稿)· audit.md(逐条审计)· tasks.md(40 原子任务)· dev-plan.md(执行手册)alpha-ui/timeline/*.css(1454 行,并行安全)+ 入口 @import验证
bun --cwd packages/ui-mac run typecheck✅🤖 Generated with Claude Code