Commit Graph

147 Commits

Author SHA1 Message Date
65e3520ecf
feat(Library): add Library page and integrate favourites functionality
refactor(useFavourites): switch from chrome.storage.sync to chrome.storage.local and normalize favourites data
2025-05-28 09:46:43 +10:00
377a15cdad
fix(AlbumDetailDialog): comment out unused StarEmptyIcon button for cleanup 2025-05-27 22:08:31 +10:00
ede6eef00f
feat(TrackItem): add favourites functionality to track item component 2025-05-27 22:07:43 +10:00
6a5d6369fa
feat(Favourites): implement favourites store for managing user favourites 2025-05-27 22:04:21 +10:00
3d962c647f
refactor(usePreferences): remove debug logging and simplify API detection 2025-05-27 21:40:14 +10:00
00b1083626
fix(App): comment out unused RouterLink for the lucky route 2025-05-27 21:23:20 +10:00
dc09918aa9
fix(App): update back button background color for consistency 2025-05-27 21:23:04 +10:00
d61320b97b
fix(App): use local router instance for navigation in back button 2025-05-27 21:22:48 +10:00
404698bfd1
feat(PlayQueueItem): add moveUp and moveDown functions for queue item repositioning 2025-05-27 21:17:37 +10:00
cf158c5d73
fix(PlayQueueItem): set queueReplaceLock to true before removing item from queue 2025-05-27 21:13:25 +10:00
8eee570200
feat(PlayQueue): implement PlayQueueItem component for better queue management and UI 2025-05-27 21:12:52 +10:00
f8b860adf3
fix(Player): adjust album cover image size for better alignment 2025-05-27 20:33:55 +10:00
35cb800d64
fix(Playroom): update background overlay for improved visibility 2025-05-27 19:24:33 +10:00
b60f84f36d
fix(AlbumDetailDialog): add overflow hidden to track item container for better layout 2025-05-27 18:39:16 +10:00
9f5add6163
fix(TrackItem): update toast message and duration for queue addition feedback 2025-05-27 17:10:42 +10:00
c6868ed2a2
feat: add vue-toast-notification for user feedback and implement queue management in TrackItem component 2025-05-27 17:03:55 +10:00
7f86c8bfa9
feat(AlbumDetailDialog): enhance dialog styling with backdrop blur and image shadow 2025-05-27 16:23:21 +10:00
ca07ae3a8c
feat(AlbumDetailDialog): enhance album background styling and loading indicator
fix(TrackItem): adjust button hover effects and reposition track number display
2025-05-27 16:08:05 +10:00
34aedfdb24
feat(Home): add AlbumDetailDialog component for album details display 2025-05-27 15:01:37 +10:00
6ff90137e7
fix(Player): comment out preloading progress indicator in template 2025-05-27 14:17:01 +10:00
7a0c638d2c
feat(Player): implement audio preloading functionality with state management 2025-05-27 13:44:04 +10:00
096e74a9bd
fix(Playroom): add tooltip for lyrics button with fade transition on hover 2025-05-27 12:08:34 +10:00
ee5c8c22d2
fix(Playroom): adjust album cover scaling effect for improved visual consistency 2025-05-27 09:32:42 +10:00
401905fd43
fix(ScrollingLyrics): standardize formatting and improve readability of code structure 2025-05-26 21:31:14 +10:00
f44c718e2d
fix(Playroom): enhance album cover hover effect with dynamic scaling based on playback state 2025-05-26 21:28:20 +10:00
9f4c5fc0f6
fix(Playroom): remove unnecessary animations from shuffle and repeat button toggles for cleaner functionality 2025-05-26 20:45:35 +10:00
ff51653326
fix(Playroom): add overflow hidden to album cover container for improved layout 2025-05-26 20:42:05 +10:00
bb40342725
fix(Playroom): enhance album cover display with scaling effect 2025-05-26 20:36:52 +10:00
d8d1284c56
fix: update language attribute in HTML and adjust script source path for consistency
refactor(ScrollingLyrics): simplify markup and improve readability of lyrics rendering logic
2025-05-26 20:30:55 +10:00
5a200edd11
fix(Playroom): correct script source path and add ChatBubbleQuoteFull icon for improved lyrics display 2025-05-26 19:49:36 +10:00
588182e888
feat(Playroom): add lyrics display functionality with animations and preferences management 2025-05-26 19:34:13 +10:00
95d00616d0
fix(ScrollingLyrics): adjust scroll behavior and limit range for user interactions 2025-05-26 18:52:20 +10:00
145a2d2dbb
fix: storage / network permission issue 2025-05-26 18:44:25 +10:00
c129b2dd1b
fix(ScrollingLyrics): handle empty lyrics input by returning a default empty line and adjust current line index logic 2025-05-26 18:28:33 +10:00
8a16f3cde8
style(ScrollingLyrics): adjust layout and improve animations for better user experience 2025-05-26 18:23:24 +10:00
6bf9c493aa
feat(ScrollingLyrics): enhance lyrics display with scroll indicators, loading states, and user interactions 2025-05-26 17:49:26 +10:00
7ecc38dda8
feat(歌词): 添加滚动歌词组件和接口定义
新增 ScrollingLyrics.vue 组件实现歌词滚动显示功能,包括:
1. 解析 LRC 格式歌词文本
2. 根据当前播放时间高亮对应歌词行
3. 支持歌词和间隔时间的处理

同时在 vite-env.d.ts 中新增 LyricsLine 和 GapLine 接口定义,并在 Playroom.vue 中集成歌词组件
2025-05-26 17:29:31 +10:00
3a5377595b
style(页面布局): 调整多个页面的顶部间距和导航栏样式
- 为Home和AlbumDetail页面添加统一的顶部间距
- 修改App.vue导航栏为绝对定位并增加z-index
- 在Playroom页面实现控制器元素的粘性定位并动态计算位置
2025-05-26 17:00:24 +10:00
2ce63f5daa
style(Playroom): 为歌曲信息文本添加固定宽度限制
防止文本过长导致布局问题,为歌曲名称和艺术家信息设置固定宽度
2025-05-26 15:24:06 +10:00
32ab4574dd
feat(偏好设置): 添加浏览器扩展存储支持及时间显示偏好功能
添加 webextension-polyfill 依赖以支持浏览器扩展存储 API
创建 usePreferences store 管理用户偏好设置
将 Playroom 页面的时间显示切换功能迁移至偏好设置 store
2025-05-26 14:50:53 +10:00
4a8f68346a
style(Playroom): 优化代码格式和布局间距
- 移除多余的空格和换行符
- 统一按钮和布局的样式
- 调整元素间距提升视觉一致性
2025-05-26 14:14:03 +10:00
4da52e7f95
feat(播放器): 添加循环播放模式功能
实现三种循环播放模式:关闭、全部循环和单曲循环。修改播放逻辑以支持不同模式:
- 关闭模式:播放到队列末尾时停止
- 全部循环:播放到队列末尾时从头开始
- 单曲循环:当前歌曲播放结束后自动重播

新增单曲循环图标组件,并优化播放控制按钮的UI交互。
2025-05-26 13:39:47 +10:00
791fa0dbc7
refactor(Player): 提取获取当前曲目的逻辑到单独函数
将重复的获取当前曲目逻辑封装为 getCurrentTrack 函数,提高代码可维护性并避免重复代码
2025-05-26 13:24:10 +10:00
0db105705b
fix(播放队列): 修复随机播放模式下的状态重置问题
在Player组件中重置shuffleCurrent状态,确保随机播放逻辑正确执行。同时在AlbumDetail页面为随机播放按钮添加点击事件,正确设置随机播放状态。
2025-05-26 13:23:22 +10:00
d99ae28f8c
feat(播放器): 添加随机播放功能
实现播放队列的随机播放模式,包括:
1. 在 store 中添加 shuffleList 和 playMode 状态
2. 修改播放器组件以支持随机播放时的歌曲切换
3. 更新播放界面以显示随机播放队列
4. 添加随机播放按钮交互逻辑

当开启随机播放时,会生成随机播放列表并保持当前播放歌曲不变,关闭时可恢复原播放顺序。
2025-05-26 13:20:08 +10:00
b6574d8093
feat(播放界面): 新增音量图标并优化播放器布局
- 添加新的音量图标组件 speaker.vue
- 调整播放器界面布局,将歌曲信息与操作按钮重新排列
- 优化播放控制按钮的视觉效果,统一模糊效果实现方式
2025-05-26 12:18:06 +10:00
c07f430009
feat(Playroom): 优化播放界面样式并添加视觉层次效果
- 替换列表箭头图标为循环双箭头图标
- 背景不再使用降低亮度的蒙版
- 为文本和按钮添加阴影和模糊背景效果
- 统一调整按钮尺寸和交互样式
- 优化时间显示布局和切换功能
2025-05-26 12:04:19 +10:00
5ded7f4f9d
refactor(Player): 移除调试用的console.log语句
清理播放器组件中用于调试的console.log输出语句,保持代码整洁
2025-05-26 10:56:53 +10:00
1a700659ae
refactor(icons): 移除图标组件中的冗余div包装层
优化图标组件结构,直接将尺寸类应用于svg元素
2025-05-26 10:43:57 +10:00
67f466d43c
refactor(Playroom): 优化播放队列列表的代码格式和点击逻辑
- 调整代码缩进和换行以提升可读性
- 修改播放队列项的点击逻辑,避免重复触发相同索引的播放
- 统一格式化字符串模板和条件判断的写法
2025-05-26 08:33:35 +10:00