Commit Graph

12 Commits

Author SHA1 Message Date
eafonyang b99655277c 元旦节皮肤 2026-10-09 13:56:41 +08:00
eafonyang 16f1d5aee7 feat(device): 增加耳机最大音量限制及显示提示
- 新增 getHomeVolumeMax 函数,计算耳机输出的最大允许音量
- 新增 getHeadphoneMaxVolumeDb 函数,获取耳机最大音量的 dB 值用于提示显示
- 修改 setVolume 函数,限制音量在动态最大值范围内,防止首页入口发送超限音量
- Home 页面音量滑块、旋钮角度及音量范围由固定 200 调整为当前设备最大音量
- 添加耳机最大音量提示文本,根据用户设置动态显示最大 dB 值
- 各语言文件新增耳机最大音量提示相关文案
- 优化实现,防止拖动时音量显示超出最大音量限制
2026-09-23 19:05:39 +08:00
eafonyang cc818fe26e 优化 peq 流程 2026-09-20 14:06:34 +08:00
fucheng 16a18dd135 fix(ai): 网络失败时显示友好提示,不再直接展示 Failed to fetch
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-20 10:00:14 +08:00
yangy ce55be295a Update Vite configuration to deduplicate React and React-DOM; enhance DeviceContext with syncPeqCatalog method for improved PEQ state management; refactor LuxsinAPI to streamline PEQ filter updates; replace range input with ThumbOnlyRangeSlider in Home component for better user experience. 2026-05-28 15:18:17 +08:00
yangy 0c9e42b91c Enhance DeviceContext to fetch and manage PEQ state; update EQPage to synchronize PEQ catalog and improve headphone selection logic based on PEQ state changes. Refactor related functions for better state handling and synchronization. 2026-05-26 12:22:45 +08:00
yangy 11821730ec Enhance ConnectionPlaceholder component to handle missing device IP with localized messages; update DeviceContext to manage IP state; improve CSS for touch actions in various components; update locale files for English and Chinese with new connection prompts. 2026-05-22 17:24:50 +08:00
yangy 32f15217ad Refactor build and start scripts in package.json; add plugin to exclude debug files from production build in vite.config.ts; remove ConnectScreen component and replace with ConnectionPlaceholder in multiple pages; update DeviceContext to auto-connect using device IP from URL; enhance locale files with new device IP labels. 2026-05-22 15:54:11 +08:00
yangy ba5f5d074a Enhance DeviceContext and LuxsinAPI to support new PEQ apply functionality; update locale files for English and Chinese to include new UI strings for applying and saving PEQ settings. Refactor AudioPage and EQPage to integrate boot sound management and improve state handling. 2026-05-18 13:42:29 +08:00
yangy 060258ea2d Enhance Vite configuration with custom input for rollup, update ConnectScreen to validate IP input before connection, and modify DeviceContext to support dynamic IP handling in LuxsinAPI. Adjust VUPage to use BASE_URL for image previews. 2026-04-21 15:29:29 +08:00
yangy 0e7670c215 Refactor Vite configuration for improved chunking strategy and caching. Enhance DeviceContext with new upgradePeqChange method for PEQ updates. Update audio page to support localized labels and dynamic volume control. Introduce new filter types and improve EQPage functionality with enhanced frequency response visualization. 2026-04-17 17:57:39 +08:00
yangy 30db710093 Initial commit: 提交控制器版本2核心代码 2026-03-31 18:52:37 +08:00