feat: 新增侧边栏自定义相关功能#88
Open
RhoPaper wants to merge 2 commits into
Open
Conversation
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.
改动类型
是否包含破坏性变更
改动说明
动机
侧边栏此前为硬编码菜单,导航项的顺序、显隐、分组均不可调整。不同用户的使用习惯差异较大(如纯本地用户用不到云盘/收藏、流媒体用户希望入口靠前等),本 PR 为侧边栏引入完整的自定义能力
主要变更
导航区自定义
歌单分组自定义
「我的歌单」卡片内可切换本地/在线来源,两套顺序/隐藏配置独立保存
交互入口
(定向跳转设置页并高亮)
关于AI
改动包含大量由DeepSeek-V4 Pro模型生成的代码,本人均已人工复核并手动测试验证,确保代码质量及可用性,并全程参照贡献指南书写
关联 Issue
无
测试情况
pnpm format/pnpm lint/pnpm typecheck全部跑通做了
pnpm build完整构建,正常完成无报错,构建产物可正常运行使用( Arch Linux x64 平台, AppImage格式 );条件受限Windows 和 macOS 暂未实测(改动都是前端,应该不会有太大兼容性问题吧……)截图 / 录屏
默认样式不变
侧栏右键菜单
新增“自定义侧边栏”配置项
配置弹窗UI
重置警告弹窗(复用快捷键配置部分的样式)
配置示例
自查清单
pnpm format,并确认pnpm typecheck、pnpm lint通过pnpm build:native验证;未手写native/*/index.d.tsdev分支提交