prepare-release/v0.0.6 #10

Closed
Astrian wants to merge 0 commits from prepare-release/v0.0.6 into main
Owner

🐛 修复

  • 随机播放预加载:修复了随机播放模式下音频预加载顺序错误的问题,确保下一首歌曲能正确预加载
  • Playroom 界面状态:修复播放室页面失去焦点时 UI 状态不同步的问题

🔧 优化

  • 资源管理优化:将资源 URL 刷新逻辑从收藏夹加载移至播放和预加载时执行,减少不必要的 API 调用,同时优化页面长时间启动期间资源 URL 轮换时的加载逻辑
  • 代码质量提升:重构了 Player 和 Playroom 组件,简化了 currentTrack 计算属性,提升代码可读性
  • UI 细节改进:统一了播放器和播放室的时间显示字体大小,现在各个浏览器的迷你播放器和时间戳都有了正确的文本样式
## 🐛 修复 - 随机播放预加载:修复了随机播放模式下音频预加载顺序错误的问题,确保下一首歌曲能正确预加载 - Playroom 界面状态:修复播放室页面失去焦点时 UI 状态不同步的问题 ## 🔧 优化 - 资源管理优化:将资源 URL 刷新逻辑从收藏夹加载移至播放和预加载时执行,减少不必要的 API 调用,同时优化页面长时间启动期间资源 URL 轮换时的加载逻辑 - 代码质量提升:重构了 Player 和 Playroom 组件,简化了 currentTrack 计算属性,提升代码可读性 - UI 细节改进:统一了播放器和播放室的时间显示字体大小,现在各个浏览器的迷你播放器和时间戳都有了正确的文本样式
Astrian added 10 commits 2025-06-06 00:30:07 +00:00
When lyrics are enabled and the page loses focus while playing a song without lyrics,
then plays a song with lyrics, returning to the page caused controller and lyrics
layout to become misaligned. Added page focus handlers to sync UI state correctly.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Remove unnecessary else clause for cleaner code structure.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Ensure consistent font size rendering across different browsers
by applying Tailwind's text-xs utility class to the song title
in the mini player component.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Use Number.isNaN instead of isNaN for better type safety
- Convert anonymous function to arrow function for consistency
- Add explicit braces to single-line if statement for clarity

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
style: add text-xs classes to playroom time displays for consistency
Some checks failed
构建扩展程序 / 发布至 Chrome 应用商店 (push) Blocked by required conditions
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Blocked by required conditions
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Blocked by required conditions
构建扩展程序 / 构建 Chrome 扩展程序 (push) Failing after 11m32s
构建扩展程序 / 构建 Firefox 附加组件 (push) Failing after 11m28s
612d673cbb
Ensure consistent font sizing across different browsers by applying
Tailwind's text-xs utility classes to current time, format detector,
and duration display elements in the playroom interface.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
docs: add CLAUDE.md for future Claude Code instances
Some checks failed
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Blocked by required conditions
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m33s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 构建 Firefox 附加组件 (push) Failing after 13m10s
fcf8362a15
Create comprehensive documentation covering project architecture,
development commands, and browser extension specifics to help
future Claude Code instances work effectively in this codebase.

Includes coverage of Vue 3 + TypeScript setup, Pinia state management,
cross-browser extension building, audio preloading system, and
resource URL validation architecture.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Replace passive resource checking on playlist item mount with active checking
during playback and preload operations. This improves performance by reducing
unnecessary network requests and ensures resources are validated only when needed.

Changes:
- Create songResourceChecker utility for centralized resource validation
- Remove resource checking from PlayListItem component
- Add resource validation in Player component before playback
- Add resource validation in usePlayQueueStore before preload
- Maintain data consistency between play queue and favorites

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- 修正 getNextIndex 在随机播放模式下返回正确的原始列表索引
- 简化预加载逻辑,因为 nextIndex 已经是正确的列表索引
- 保持 Player.vue 中更新歌曲信息时的索引计算逻辑

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- 添加项目使用 Tab 缩进的说明
- 添加随机播放模式的详细逻辑说明
- 说明 shuffleList 和 currentIndex 的关系

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
更新 manifest.json 版本号

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Astrian closed this pull request 2025-06-06 00:31:46 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Astrian/msr-mod#10
No description provided.