Commit Graph

17 Commits

Author SHA1 Message Date
eafonyang 72d0872ced 修复 bug 2026-06-12 15:53:05 +08:00
eafonyang 3c411b3df0 refactor(eq): Enhance EQPage and luxsinApi for improved loading states and debugging
- Introduced a loading indicator for raw curve data in the EQPage to enhance user experience during data fetching.
- Added console logging for debugging purposes in luxsinApi when syncing PEQ and posting changes.
- Updated related functions to manage loading states effectively, ensuring smoother interactions.
2026-06-09 14:24:28 +08:00
eafonyang 56da3e0d1f 兼容低内核版本的浏览器 2026-06-03 15:42:58 +08:00
yangy 3f9b2f0e7b refactor(eq): 重构EQ页面及相关代码以优化PEQ管理与同步
- 禁用Vite配置中的manus debug collector插件,减少无用请求
- 对DeviceContext添加syncPeqCatalog方法用于同步PEQ状态
- 重构luxsinApi.ts中PEQ请求相关代码,统一POST请求封装,增强错误处理
- 将EQPage相关常量、工具和组件抽取至独立模块,简化主文件结构
- 使用缓存机制记忆预设滤波器列表,减少不必要的重复计算
- 优化PEQ状态同步逻辑,支持按模式(A/B)分别保存与应用滤波器
- 实现选择耳机型号时自动保存并更新对应滤波器缓存和显示
- 修改A/B切换逻辑,使用防抖同步和固定的peqApply调用
- 为音量滑块添加thumb-only滑动样式及拖拽区域限制,提升交互体验
- Home页面ListRow组件支持显示自定义缩略图
- 增加eq/constants.ts定义滤波器类型、参数范围和样式,统一管理配置
- 解决多处EQ页面组件交互和状态切换的潜在同步问题,提高代码维护性和可读性
2026-05-28 16:26:38 +08:00
yangy 8cde820467 修复bug 2026-05-27 13:52:16 +08:00
yangy 47ea7d7b56 x9适配 2026-05-26 18:46:41 +08:00
yangy edd677c79d Refactor LuxsinAPI to correct firmware version comparison in boot sound settings; enhance useStrokeDrawAnimation hook to support path updates without replaying animation. Update EQPage to utilize new animation options for smoother transitions during EQ parameter edits. 2026-05-18 17:21:00 +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
allen2fuc 2b1c69460f 更新后刷新配置到设备 2026-05-12 11:14:27 +08:00
yangy 24278c263f Implement HTTPS redirection for certificate trust issues in LuxsinAPI and update image paths in Home component to use BASE_URL for consistency. 2026-04-21 16:10:12 +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 cf970a6a7f Refactor ConnectScreen to use logo image instead of SVG, enhance EQPage with batch editing functionality for PEQ settings, and implement power off confirmation dialog in Home component. Update localization files for new power off features. 2026-04-21 14:31:31 +08:00
yangy 22fdf39670 Implement Luxsin audio API integration: Add proxy configuration in Vite for CORS handling, enhance luxsinApi with brand and model fetching functions, and update EQPage to support audio catalog browsing and searching. Introduce new state management for catalog brands and models. 2026-04-20 17:51:23 +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 4246e8ce27 Enhance audio page functionality: Added vuSensor state management and updated balance and vu sensitivity calculations. Adjusted slider ranges and improved real-time updates for audio settings. Localized system page labels for better user experience. 2026-04-14 16:33:52 +08:00
yangy 502f708336 Enhance audio settings: Added loudness controls and headphone model synchronization. Updated PeqState interface to include peq filters. Improved EQPage to dynamically load headphone models based on device state. 2026-04-01 16:29:52 +08:00
yangy 30db710093 Initial commit: 提交控制器版本2核心代码 2026-03-31 18:52:37 +08:00