Commit Graph

12 Commits

Author SHA1 Message Date
60740274b7
refactor: replace console statements with debug instances
- Replace all console.log/error/warn statements with appropriate debug instances
- Add debug utils with modular debug instances for different components
- Use debugUI for UI components (pages and components)
- Use debugStore for store files
- Use debugUtils for utility functions
- Use debugPlayroom for Playroom specific debugging
- Use debugLyrics for lyrics-related debugging
- Use debugVisualizer for audio visualization debugging
- Use debugResource for resource checking debugging
- Maintain original message content with Chinese descriptions
- Preserve Tab indentation throughout all files

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 13:24:39 +10:00
1b4a8ed3b4
feat: add Safari extension support with auto-redirect functionality
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 10m58s
构建扩展程序 / 构建 Firefox 附加组件 (push) Failing after 10m50s
- Add Safari-specific prebuild script to handle background page requirements
- Create background.html wrapper for Safari's background page architecture
- Fix TypeScript compilation errors in browserDetection.ts and PlayListItem.vue
- Add preference-aware auto-redirect via content script messaging
- Support cross-platform extension building with npm run build:safari

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-04 23:20:48 +10:00
8ee2b928f9
fix: 解决 Safari 浏览器音频播放问题
- 创建浏览器检测工具,专门检测 Safari 和音频可视化支持
- 在 Safari 浏览器上禁用 AudioContext 连接,避免播放问题
- 保持其他浏览器的音频可视化功能正常工作

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-04 22:23:34 +10:00
dcf13b2f07
refactor: move resource URL refresh from favorites loading to playback/preload
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>
2025-06-04 21:22:39 +10:00
b919c44128
fix: update VITE_HASH_ID to use full SHA in build jobs and adjust display in cicdInfo
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m8s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 1m6s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 11:53:29 +10:00
1aeac29f38
feat: add CI/CD information display in PreferencePanel and support for environment variables
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m4s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 1m3s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 11:35:50 +10:00
9d9b32d47d
style(Playroom): 为歌曲名称和艺术家信息添加截断样式
refactor(audioVisualizer): 调整音频可视化频率范围分段

为 Playroom 页面的歌曲名称和艺术家信息添加 truncate 样式,防止文本溢出
重构音频可视化频率范围分段,使其更符合人耳感知特性
2025-05-26 08:14:14 +10:00
bb474c998c
feat(audioVisualizer): 增加最大分贝门槛配置并优化频段增强
在音频可视化工具中新增 `maxDecibels` 配置项,用于调整最大分贝门槛。同时优化频段增强逻辑,简化频率范围定义,并更新测试数据以支持六频段模拟。这些改动提升了音频可视化的灵活性和准确性。
2025-05-25 22:26:12 +10:00
9d6ad7ee4a
fix: 将音频可视化器的默认敏感度从1调整为0.5
为了提供更平滑的音频可视化效果,将默认敏感度值从1降低到0.5。这有助于减少视觉上的波动,使其更符合用户期望。
2025-05-25 21:58:47 +10:00
e9c807e01b
feat(Player): 替换暂停图标为音频可视化效果
在播放按钮中,将原有的暂停图标替换为音频可视化效果,提升用户交互体验。同时,在音频可视化工具中新增了响度门槛和最小高度配置,优化了频段范围和增强逻辑。
2025-05-25 21:44:07 +10:00
73aaef1662
feat(音频可视化): 添加音频可视化功能并优化播放队列显示
引入音频可视化器模块,用于实时显示音频频谱。在播放队列中添加可视化效果,并优化播放队列的UI显示。同时,更新播放队列的标题为“播放队列”以提升用户体验。
2025-05-25 20:22:05 +10:00
3d47a6a774
feat: 添加 TrackItem 组件并优化专辑详情页
- 新增 TrackItem 组件,用于展示专辑曲目信息
- 将 artistsOrganize 函数提取到 utils 模块中
- 添加 DIN Alternate 字体并应用于曲目编号
2025-05-25 08:57:13 +10:00