Commit Graph

39 Commits

Author SHA1 Message Date
eafonyang 5696f8233c 适配b9 2026-07-17 16:47:19 +08:00
eafonyang 4f3427b44f 听力补偿新增左右耳曲线 2026-07-14 14:30:55 +08:00
eafonyang bfc4b45ca3 version>=2008 使用了新的重命名接口、EQ 排序功能 2026-07-07 17:15:01 +08:00
eafonyang 0b76472b96 feat(api): 增强设备状态数据结构及PEQ请求处理
- 新增subwoofer相关参数及hearing数据支持
- 添加parseHearingData函数用于解析听力配置数据
- 扩展INPUT_LABELS支持HDMI-EARC,并新增Bluetooth和Headset索引常量
- 改进POST请求错误处理,增加请求失败时抛出异常
- 调整bootSound文档说明,指向固件特性配置
- 更新firmware版本格式化显示规则
- 增加音量直通模式和静音锁定逻辑的辅助函数
- 移除无用的dreMode和LED相关字段
- 更新MOCK_DEVICE_STATE样例数据匹配新结构和默认值
2026-07-06 18:09:14 +08:00
eafonyang 6261ab02dc Merge branch 'x9' of 8.163.11.238:audio/x8-controller-v2 into x9 2026-07-06 17:41:14 +08:00
allen2fuc d7e4129053 提交应用EQ时判断EQ是否启用和删除不生效的问题 2026-07-06 17:34:01 +08:00
allen2fuc 6e10a5f88f 提交应用EQ时判断EQ是否启用和删除不生效的问题 2026-07-06 17:28:34 +08:00
eafonyang 1e5e6f5548 新增听力补偿,将有版本限制的功能,提取到配置文件,不再硬编码,优化部署文件参数 2026-06-26 15:03:36 +08:00
eafonyang 8d369412fd 新增 build:test 方便构建线上的测试环境,优化分享码功能的交互 2026-06-17 16:51:36 +08:00
eafonyang b421fe1ca3 分享码功能的实现,并修复了几个 bug 2026-06-15 18:00:06 +08:00
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 c34571392d Refactor layout components to improve responsiveness and accessibility; integrate appShell classes for consistent styling across DesktopAIShell and BottomNav. Update SelectPage to enhance option selection UI with image support and language filtering logic in SystemPage for better localization handling. 2026-05-25 16:30:40 +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 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
yangy c639c77383 Implement community forum integration in CommunityPage; update BottomNav to conditionally display community tab based on screen size. Add new audio processing function for combined PEQ magnitude calculation in peqAudio. 2026-05-12 15:13:20 +08:00
allen2fuc 2b1c69460f 更新后刷新配置到设备 2026-05-12 11:14:27 +08:00
allen2fuc 90bd091c62 增加了默认的AI入口路径 2026-04-30 09:17:48 +08:00
allen2fuc c7b340087a 修改了历史会话显示的问题和默认查看历史记录信息 2026-04-29 15:27:45 +08:00
allen2fuc fdd115ed58 增加了AI界面的优化 2026-04-23 15:17:12 +08:00
allen2fuc 308f5f8a3b 修改音量显示的方式 2026-04-22 11:18:39 +08:00
allen2fuc eb4c3c1e6a 新增AI的功能与页面,扩展了国际化功能 2026-04-21 16:41:09 +08:00
allen2fuc 52cdaf1e51 新增AI的功能与页面 2026-04-21 16:41:09 +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 0aa856ed84 Enhance PEQ functionality: Update PeqBandForResponse type to allow numeric filter types, and introduce buildPeqSvgCurveData function for reusable SVG curve data generation. Refactor EQPage to utilize new curve data for improved frequency response visualization and animation handling. 2026-04-20 17:58:11 +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 53f24d5bb4 Update project dependencies and configuration: Added ECharts for data visualization, integrated Terser for minification, and adjusted Vite configuration for production. Updated app title and ConnectScreen content to reflect new version. Enhanced EQPage with headphone model loading and frequency response chart rendering. 2026-04-09 17:00:44 +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