Commit Graph

175 Commits

Author SHA1 Message Date
fdd45f2c85
Merge branch 'prepare-release/v0.0.6'
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Failing after 59s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 构建 Firefox 附加组件 (push) Failing after 49s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-06-06 10:31:01 +10:00
33ed04bb35
chore: 发布 v0.0.6 版本
更新 manifest.json 版本号

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-06 10:26:19 +10:00
5be5b4812f
docs: 更新 CLAUDE.md 添加代码风格和随机播放逻辑说明
- 添加项目使用 Tab 缩进的说明
- 添加随机播放模式的详细逻辑说明
- 说明 shuffleList 和 currentIndex 的关系

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-04 22:15:06 +10:00
ae2d8875ad
fix: 修复随机播放模式下预加载顺序错误的问题
- 修正 getNextIndex 在随机播放模式下返回正确的原始列表索引
- 简化预加载逻辑,因为 nextIndex 已经是正确的列表索引
- 保持 Player.vue 中更新歌曲信息时的索引计算逻辑

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-04 22:14:44 +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
fcf8362a15
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
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>
2025-06-04 21:21:09 +10:00
612d673cbb
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
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>
2025-06-04 21:07:38 +10:00
1c5ee95086
refactor: improve code quality in Playroom.vue
- 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>
2025-06-04 21:07:19 +10:00
6461c0adac
style: add text-xs class to player title for non-Chrome browsers
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>
2025-06-04 21:03:09 +10:00
672b2d80d5
refactor: simplify currentTrack computed property in Player.vue
Remove unnecessary else clause for cleaner code structure.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-04 21:02:24 +10:00
92093ef80d
fix: resolve playroom UI state inconsistency when page loses focus
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>
2025-06-04 20:54:54 +10:00
a3d82f12ec Merge pull request 'dev' (#9) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 51s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 52s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Successful in 36s
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Failing after 48s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 16m2s
Reviewed-on: #9
2025-05-30 01:46:26 +00:00
ab5f021bf8
fix: update version number to 0.0.5 in manifest.json
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m0s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 56s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-30 11:45:28 +10:00
7a938bd58c
fix: add cache control headers and timestamp parameter to axios HEAD request in PlayListItem.vue 2025-05-30 11:45:15 +10:00
6f7e161c0f Merge pull request 'fix: update song information in favourites when source URL changes' (#8) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 54s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 55s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Successful in 34s
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Failing after 59s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 16m19s
Reviewed-on: #8
2025-05-30 00:36:01 +00:00
290a9af5e1
fix: update song information in favourites when source URL changes
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m6s
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been cancelled
2025-05-30 10:35:15 +10:00
aaf58f03e1 Merge pull request 'dev' (#7) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 55s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 59s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Successful in 34s
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Failing after 48s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 16m4s
Reviewed-on: #7
2025-05-29 05:58:05 +00:00
bd74f3fd72
fix: update version number to 0.0.3 in manifest.json
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m10s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 59s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 15:56:57 +10:00
9e4b53b1e7
fix: change axios request from GET to HEAD for song source URL in PlayListItem.vue
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m3s
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been cancelled
2025-05-29 15:55:38 +10:00
a85a092e5c
fix: add headers to axios request for range retrieval in PlayListItem.vue
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Has been cancelled
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
2025-05-29 15:54:43 +10:00
ba93f7db0b Merge pull request 'dev' (#6) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m2s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 1m1s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Successful in 36s
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Failing after 48s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
Reviewed-on: #6
2025-05-29 05:02:43 +00:00
8f06e024e9
fix: update version number to 0.0.2 in manifest.json
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m8s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 57s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 14:59:56 +10:00
568af58103
fix: fix an issue for the edge cases of resources url changing
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m2s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 55s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 13:47:33 +10:00
49cc0676fc Merge pull request 'dev' (#5) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m7s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 1m9s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 36s
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Failing after 55s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 1m5s
Reviewed-on: #5
2025-05-29 02:17:54 +00:00
76e5125b9d
feat: add Edge Addons publishing workflow to CI/CD pipeline
Some checks failed
构建扩展程序 / 发布至 Chrome 应用商店 (push) Blocked by required conditions
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m0s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 1m12s
构建扩展程序 / 发布至 Edge 附加组件商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
2025-05-29 12:16:13 +10:00
af41f70d37
fix: update description in PreferencePanel.vue for CI/CD build process clarity
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 1m7s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 57s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 14m56s
2025-05-29 11:57:19 +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
b37ca033e9
fix: update VITE_HASH_ID to use shortened SHA for build jobs
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 59s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 53s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 11:49:29 +10:00
48151350bd
fix: update VITE_HASH_ID to use correct identifier in build jobs
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 58s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 1m4s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 11:45:50 +10:00
0a1fb49058
fix: update environment variables for Firefox build job to use correct identifiers
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 59s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 1m5s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 11:43:11 +10:00
0d67ea682c
fix: update environment variables for Chrome build job to use correct identifiers
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Waiting to run
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
2025-05-29 11:41:48 +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
3a1443db9c Merge pull request 'fix: correct artifact download path for Chrome extension publishing' (#4) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 49s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 48s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 28s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 1m2s
Reviewed-on: #4
2025-05-29 01:07:23 +00:00
24e344e8f0
fix: correct artifact download path for Chrome extension publishing
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 57s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
2025-05-29 11:06:16 +10:00
592758ec6d Merge pull request 'fix: streamline artifact handling in workflow by removing ZIP compression steps' (#3) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 51s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 54s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 17s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 1m1s
Reviewed-on: #3
2025-05-29 01:01:54 +00:00
e7236ba976
fix: streamline artifact handling in workflow by removing ZIP compression steps
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 55s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 50s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
2025-05-29 10:58:45 +10:00
c098e0c37f Merge pull request 'fix: add channel option for Firefox Add-ons publishing' (#2) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 46s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 40s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 28s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 34s
Reviewed-on: #2
2025-05-29 00:50:34 +00:00
8dca9e3eda
fix: add channel option for Firefox Add-ons publishing
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 44s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been cancelled
构建扩展程序 / 构建 Firefox 附加组件 (push) Has been cancelled
构建扩展程序 / 构建 Chrome 扩展程序 (pull_request) Has been cancelled
构建扩展程序 / 构建 Firefox 附加组件 (pull_request) Has been cancelled
构建扩展程序 / 发布至 Chrome 应用商店 (pull_request) Has been cancelled
构建扩展程序 / 发布至 Firefox 附加组件库 (pull_request) Has been cancelled
2025-05-29 10:49:57 +10:00
e0533ce2e1 Merge pull request 'dev' (#1) from dev into main
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 48s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 41s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 27s
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Failing after 37s
Reviewed-on: #1
2025-05-29 00:44:21 +00:00
87ba6a3390
fix: add publishing steps for Firefox Add-ons to workflow
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 46s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 42s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (push) Has been skipped
构建扩展程序 / 构建 Chrome 扩展程序 (pull_request) Successful in 45s
构建扩展程序 / 构建 Firefox 附加组件 (pull_request) Successful in 41s
构建扩展程序 / 发布至 Chrome 应用商店 (pull_request) Has been skipped
构建扩展程序 / 发布至 Firefox 附加组件库 (pull_request) Has been skipped
2025-05-29 10:39:37 +10:00
99e913da64
docs: update README to include development and packaging instructions
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 43s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 44s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
2025-05-29 10:11:34 +10:00
c2bd90f432
fix: update artifact naming to remove SHA from zip files for Chrome and Firefox extensions
All checks were successful
构建扩展程序 / 构建 Chrome 扩展程序 (push) Successful in 48s
构建扩展程序 / 构建 Firefox 附加组件 (push) Successful in 46s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
2025-05-29 10:00:31 +10:00
a92cf12035
fix: refactor workflow to separate build jobs for Chrome and Firefox extensions
Some checks failed
构建扩展程序 / 构建 Chrome 扩展程序 (push) Failing after 38s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Has been skipped
构建扩展程序 / 构建 Firefox 扩展程序 (push) Failing after 33s
2025-05-29 09:57:23 +10:00
b476ca4fa1
fix: update workflow to support multiple branches and add prebuild scripts for Chrome and Firefox 2025-05-29 09:51:05 +10:00
153988c35a
fix: update webRequest listener to use browser API and adjust URL for fontset API
Some checks failed
构建扩展程序 / 构建扩展程序 (push) Successful in 51s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 26s
2025-05-29 07:41:08 +10:00
c7553ace12
fix: update artifact naming and improve zip compression step in workflow
Some checks failed
构建扩展程序 / 构建扩展程序 (push) Successful in 49s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 28s
2025-05-28 21:23:18 +10:00
bfd68e1faa
fix: update lyrics tooltip condition to handle null track safely
All checks were successful
构建扩展程序 / 构建扩展程序 (push) Successful in 48s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Successful in 33s
2025-05-28 16:59:22 +10:00
a3ce2be851
fix: correct artifact compression step to include all files in dist directory
Some checks failed
构建扩展程序 / 构建扩展程序 (push) Successful in 41s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 23s
2025-05-28 16:20:41 +10:00
2d442c76ae 添加 LICENSE
Some checks failed
构建扩展程序 / 构建扩展程序 (push) Successful in 42s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Failing after 25s
2025-05-28 06:01:36 +00:00
91bba5cfb1
fix: remove environment variable for extension ID in upload step
All checks were successful
构建扩展程序 / 构建扩展程序 (push) Successful in 44s
构建扩展程序 / 发布至 Chrome 应用商店 (push) Successful in 27s
2025-05-28 15:50:21 +10:00