Repository navigation
右下角坞改单图标宽(图标化场景切换与按钮组) - #39
Merged
Merged
Conversation
场景按钮改用场景图标、无图标回退首字圆;主题/后台/退出/登录去文字并统一 44px 图标按钮;坞宽收至 w-11,底部留白同步调整。 Checkpoint: ID2eTHGdsKtJGNTgdX4kA
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
title/aria-label。Changes
web/src/components/public-dock.tsx:坞改为w-11竖排轨道;场景组与按钮组均为 44px 圆形图标按钮,无横向文字。web/src/components/scene-switcher.tsx:新增iconOnly外观——有图标显示图片,无图标或图片加载失败回退首字圆,名称走title/aria-label;图标态去掉外层玻璃卡,选中态仍用现有glass-scene-trigger口径;后台默认文字胶囊形态不变。web/src/components/theme-toggle.tsx:移除已无调用方的showLabel文字形态,保持纯图标按钮。web/src/components/public-page.tsx:底部留白 320px → 352px,覆盖变高后的坞(最大 308px + 16px 底边),保证最后一行不被遮挡。public-dock/public-page-scenes/public-page/scene-switcher,覆盖单图标宽、首字圆、图标失败回退、title/aria-label与登录三态。Testing
pnpm format:check、pnpm lint(仅 UI 目录既有 30 条 warning)、pnpm typecheck、pnpm test(worker 204 + web 260)、pnpm build。46331ec)—— success,Lint / Format / Typecheck / Build / Test 全绿。