Repository navigation
[upstream #87] 侧栏可见性修正 (37d23dcc8) - #91
Merged
Merged
Conversation
* fix(profile): honor global sidebar visibility * fix(profile): wait for sidebar status
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.
🔗 关联任务 / Related Issue
37d23dcc86b8eef4972a867582859a85d770c56c🚀 变更类型 / Type of change
📝 变更描述 / Description
原样 cherry-pick 上游提交,仅修改
web/src/features/profile/components/sidebar-modules-card.tsx。个人侧栏设置等待全局状态加载后显示,过滤管理员关闭的分组与模块,重置仅启用当前可见模块。复用已有解析器、状态 Hook 和 UI 组件。AI 辅助移植与验证;不涉及 OAuth、SSE、Kling、#81/#82 或网关部署。
📸 运行证明 / Proof of Work
基线
67db8dcb5ac2562821dc1a3e883b33b24bcb1c48,移植提交1983c873328e9e20f60c817588dbee0c04a9bc6d。cd web && bun run typecheck:退出 0。cd web && ./node_modules/.bin/oxlint -c .oxlintrc.json src/features/profile/components/sidebar-modules-card.tsx:退出 0,无诊断。cd web && bun run test src/hooks/__tests__/sidebar-config.test.tsx:1 文件、13 测试通过。git diff HEAD^ HEAD --check:通过;与上游目标文件比较无差异。/workspace/g4-t638u-r3-0199/writers/R0199W87/g4-R0199W87-upstream-37d23dcc8-01/。✅ 提交前检查项 / Checklist
37d23dcc8,无已有结果待独审及 PR 检查通过后由 t630u 合入,本写手不执行合并或部署。