polish(gallery): 顶栏去同步状态,Showcase 入口移到左下角徽章区 - #53
Merged
Conversation
- 移除顶栏「已自动同步」状态指示(静态画廊无同步语义,app.js/样式 一并清干净,含只被它使用的 pulse keyframe) - 「用户作品」入口从顶栏药丸移到左下角 sidebar-social,与 Follow author / Star on GitHub 同款 social-badge 样式(播放三角图标) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- 徽章顺序改为 关注作者 → 收藏 GitHub → 社区作品展示,中英同序 - zh 文案:「在 GitHub 加星」→「收藏 GitHub」;Showcase 统一定名 「社区作品展示」(landing 顶栏入口、showcase 页标题同步) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Owner
Author
|
追加 9cd4454:按反馈把侧栏徽章定序为 关注作者 → 收藏 GitHub → 社区作品展示(中英同序);zh「在 GitHub 加星」改「收藏 GitHub」,Showcase 全站统一定名「社区作品展示」(landing 顶栏入口、showcase 页标题同步)。 |
徽章整体居中时标签长短不一,图标横向错位;改为 flex-start + 统一左内边距,图标纵向对齐(follow-trigger 同步,chevron 不受影响)。 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.
改了什么
按反馈调整 library 页顶栏与 Showcase 入口:
setSyncStatus逻辑、styles.css 里的.sync-status/.sync-indicator规则和只被它使用的pulsekeyframe。sidebar-social区,与 Follow author / Star on GitHub 完全同款social-badge样式(黑圆底 + 白色播放三角图标),排在最上面一个。中英双语随现有 i18n 切换,补了 aria-label 翻译键。landing 页顶栏的入口保持不变(那是首页唯一入口)。
已验证
node --checkapp.js / translations.js 通过;build-seo.py重跑无 diffsyncStatus/pulse无残留引用注意
≤900px 时
sidebar-social整块隐藏(现状如此,Follow author / Star 同样隐藏),移动端 library 页将没有 Showcase 入口,只能从 landing 页进。如果在意,后续可以单独给移动端补一个入口。🤖 Generated with Claude Code