Skip to content

feat(ui-mac): 时间线全面优化 — 40 构件 reskin + 设计包(零改上游) - #15

Merged
jinjunnn merged 2 commits into
alphafrom
feat/timeline-overhaul
Jun 30, 2026
Merged

feat(ui-mac): 时间线全面优化 — 40 构件 reskin + 设计包(零改上游)#15
jinjunnn merged 2 commits into
alphafrom
feat/timeline-overhaul

Conversation

@jinjunnn

Copy link
Copy Markdown
Owner

概要

按 ADR-016 前端接管,把 opencode 时间线全部构件换成 alpha 卡片语言。纯 CSS + 既有 MutationObserver 接缝,零改 opencode 源码

内容

  • 设计包 docs/designs/2026-06-28-timeline-overhaul/:timeline.html(全量稿)· audit.md(逐条审计)· tasks.md(40 原子任务)· dev-plan.md(执行手册)
  • 6 个分区 CSS alpha-ui/timeline/*.css(1454 行,并行安全)+ 入口 @import
  • inject:TL-05 斜杠 chip 分类 · TL-17 bash 退出码 · TL-34 回合分隔 · TL-32-A 本回合改动折叠+在面板打开

验证

  • bun --cwd packages/ui-mac run typecheck
  • CDP 真机验证 ~22 构件 + 5 处视觉 bug 修复(Shell 裁切 / 新一轮宽度 / 新一轮数量 / diffsum 空白 / diffsum 内联展开)
  • 待后续:todos 等少数构件历史无样本,真实使用中验证

🤖 Generated with Claude Code

jinjunnn and others added 2 commits June 30, 2026 14:02
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>
@github-actions

Copy link
Copy Markdown

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

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
jinjunnn merged commit 47c7a49 into alpha Jun 30, 2026
3 of 8 checks passed
@jinjunnn
jinjunnn deleted the feat/timeline-overhaul branch June 30, 2026 06:05
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant