Uh oh!
There was an error while loading. Please reload this page.
fix(ui): visual audit round — list bullets, artifact toolbar, disclosure affordance - #488
Merged
Conversation
…ure affordance - restore markdown list markers in chat bubbles (Tailwind v4 preflight strips list-style globally; same root cause as the permission-center fix). ul→disc, ol→decimal, nested ul→circle; task-list exemption keeps its higher-specificity none. - artifact pane toolbar no longer wraps at 1280 pane width (删除 was stranded alone on a second row): 复制文本→复制, delete becomes icon-only with the label kept for screen readers + title tooltip. - permission dialog 查看完整参数 gets the shared rotating disclosure triangle — the bordered summary row read as a text input. - skills hero sticker deck resized/repositioned so banner overflow no longer crops card copy (总结沉淀 was cut mid-glyph). - capability audit strip: metric <dd> no longer repeats the <dt> word (技能 3/3 技能启用 → 3/3 启用); zero-source reads 暂无. - formatTurnDuration aligned with tool-card durations (1 m 0 s → 1m 0s).
Row Button defaulted to size=md (h-9). Deleted rows add the 已删除 badge on an implicit second grid row; fixed height + center alignment painted the badge over the first row. size="nav" is the designated 'className owns layout' escape hatch — height now follows content. Badge gets a 2px top margin for breathing room.
7 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 freeto 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.
背景
按 visual-audit workflow(capture-screenshots fixtures → 逐 PNG 审查)对 18 个核心场景 × light/dark 做了一轮全量走查,修掉 7 处真实 UI 问题。全部双主题截图验收(D2)。
修复清单
@layer base全局list-style: none,.maka-bubble-assistant ul/ol只恢复了 padding。与 permission-center.css 那次是同一根因。现在 ul→disc / ol→decimal / 嵌套 ul→circle;task-list 的 none 豁免不受影响。h-9固定高度 + badge 隐式第二行 + 居中对齐 → 两行内容互相叠画。改用size="nav"(仓库预留的 className-owns-layout 逃生口),高度随内容。1 m 0 s→1m 0s,与同屏工具卡片的8.2s家族统一。验证
npm run typecheck✓@maka/desktop1708 tests ✓(两次全跑);check-dead-css✓@maka/ui13/15 ✓ — 2 个失败为 main 上已存在的存量失败(chat-primitives 的 tailwind-merge 断言,干净 HEAD 复现),与本 PR 无关,已另开任务跟进第二轮追加(2026-07-04,同分支)
.maka-main只给聊天滚动区刷了纯白,darwin 玻璃下与面板容器色 #fafafa 形成 composer 第三色带。改为 transparent —— 右面板单一表面(双主题验证);顺带删除 theme-glass 里永远打不赢 cascade 的死规则。验证:typecheck ✓ / desktop 1708 ✓ / dead-css ✓ / ui 13/15(2 个为 main 存量失败,另行跟进)。