Skip to content

fix(ui): designer-audit round 2 — internal jargon, duplicate CTA, doubled explainers - #572

Merged
Astro-Han merged 2 commits into
mainfrom
fix/ui-audit-round2
Jul 6, 2026
Merged

fix(ui): designer-audit round 2 — internal jargon, duplicate CTA, doubled explainers#572
Astro-Han merged 2 commits into
mainfrom
fix/ui-audit-round2

Conversation

@jackwener

Copy link
Copy Markdown
Member

设计审查第 2 轮(承接 #571):

  1. P1-8 内部标识符泄漏:每日回顾报告头直接打印内部 model key(zai-live::glm-4.5)→ 新增 formatDailyReviewModelLabel,只显示模型名(glm-4.5)。
  2. P2-14 重复创建按钮:定时任务页「通过 Maka 创建」与「新建定时任务」绑定的是同一个 handler——纯重复入口,已删除(含死 CSS 与 unused import)。
  3. P2-12 双重说明文:每日回顾页副标题与卡内提示 70% 重复 → 副标题改为一句有信息量的话,卡内提示段落删除。

截图验证通过;check-dead-css ✓;@maka/ui 45/45;desktop 2109/2110(唯一失败为 main 既有 history-compact 用例)。

jackwener added 2 commits July 6, 2026 20:44
…b split, empty-state placement, vaporware chrome

Fixes the P0 batch plus two P1 subtractions from the 2026-07-06 designer
audit (15-surface screenshot review):

- P0-1 sidebar 会话 label overlapped the 按状态/按项目 toggle on EVERY
  page: .maka-session-panel declared 4 grid rows for 5 children, so the
  1fr track collapsed to 0 and the toggle overflowed onto the list's
  group label. The toggle's own chrome also referenced tokens that never
  existed (--surface-secondary/-primary/-tertiary, --foreground-primary,
  --shadow-sm) and rendered invisible. Fixed with a 5-row template and by
  replacing the hand-rolled buttons with the shared SettingsSegmented
  primitive (same family as the daily-review range tabs).
- P0-2 sidebar badge said 定时任务 3 while the page tab said 4: the tab
  badge now counts non-completed reminders like the sidebar does, and the
  list's default filter is a new 进行中 view (全部/已完成 still
  selectable) so the number always matches the visible cards.
- P0-3 skills 内置 and 已安装 tabs rendered the SAME list — now split by
  sourceType (bundled vs user-added), with counts on every tab.
- P0-4 the shared EmptyState floated at 46% of the page and overlapped
  banners/cards on module pages: the absolute centering was a sidebar-
  only recipe living on the base .maka-empty-state class — now scoped to
  .maka-session-list. Daily review additionally collapses the 无活动
  empty card to a one-line note when saved reports already fill the page.
- P1-5 skills page now lands on skills the user can run (已安装 →
  内置 → market fallback) instead of the all-即将上线 marketplace;
  removed the 保持系统唤醒·即将支持 tag from the automations banner.
- P1-9 removed the dead 全部/排序:热门 pills that were styled like
  buttons but never wired.

Verified per page with CDP screenshots (segmented renders, counts match,
built-ins listed, no floating empty card). check-dead-css clean;
@maka/ui 45/45; @maka/desktop 2109/2110 — the 1 failure (history compact
artifact lifecycle) fails identically on origin/main (pre-existing,
flagged separately).
…bled explainers

- P1-8: daily-review archive headers printed the raw internal model key
  (zai-live::glm-4.5). New formatDailyReviewModelLabel shows just the
  model id — the connection slug is an implementation detail.
- P2-14: 通过 Maka 创建 was wired to the EXACT same handler as
  新建定时任务 — a duplicate button competing for the primary action.
  Removed (plus its now-dead CSS and unused Sparkles import); bring a
  second entry back only when a genuinely different flow exists.
- P2-12: every-page double explainer, daily-review edition — the page
  subtitle now carries the one informative sentence (自动汇总本机对话,
  生成摘要、遗漏提醒与深度分析;可在设置中开启定时执行) and the
  in-card hint paragraph + its CSS are gone.

Verified via CDP screenshot: clean model label, single explainer, page
reads noticeably calmer. check-dead-css clean; @maka/ui 45/45;
@maka/desktop 2109/2110 (1 pre-existing main failure, tracked
separately).
@jackwener
jackwener force-pushed the fix/ui-audit-round2 branch from c135962 to 4f4102c Compare July 6, 2026 12:46
@Astro-Han
Astro-Han merged commit f0e112f into main Jul 6, 2026
Astro-Han pushed a commit that referenced this pull request Jul 6, 2026
#557)

Adds a status/project view-mode toggle and renders project-grouped sessions as collapsible folder sections with a 4-session preview. Project headers + show-more route through UiButton; collapsed sidebar keeps a 4-row grid; session rows align left under folders. Rebases onto main incl. #571 (SettingsSegmented) and #572.
@Astro-Han
Astro-Han deleted the fix/ui-audit-round2 branch July 14, 2026 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants