eafonyang
acfcffa60d
feat(locale): 实现前端多语言覆盖与生效语言逻辑
...
- 新增 effectiveLanguage 字段,统一界面语言解析依据
- 支持前端语言覆盖(德语/西班牙语/法语)优先显示,回退设备语言
- setUiLanguage 方法实现前端或设备语言切换逻辑与持久化
- 当设备语言发生变化时自动清除前端语言覆盖,保证同步一致
- BottomNav 组件和 ConnectionPlaceholder 组件调整使用 effectiveLanguage 获取语言包
- 多语言数据更新,新增德语、西班牙语、法语、韩语支持及语言选项扩展
2026-10-21 13:41:20 +08:00
eafonyang
f4c9579e4f
优化 peq 流程
2026-09-20 14:08:58 +08:00
eafonyang
fcc9837d84
feat(eq): 使用平直曲线作为默认预设显示
...
- 新增 FLAT_BANDS 平直曲线预设,包含10个增益为0的PEAK滤波器
- 默认初始化bandsByMode状态使用FLAT_BANDS替代旧的DEFAULT_BANDS
- 在无远程peq数据或切换耳机时,默认设置为FLAT_BANDS
- 无滤波器时恢复平直曲线并清空原始参考线状态
- 保持FLAT_BANDS预设一致性优化未加载状态的体验
2026-08-28 18:47:26 +08:00
eafonyang
0abb0d0ffa
fix(EQPage): 取消默认耳机列表展示,避免展示虚假型号
...
- 设备无数据时清空耳机型号列表和相关预设项
- 取消设置默认耳机名称,选择空值
- 拉取失败时同样保持列表为空,避免误导用户
- 复位当前原始曲线和频段选择状态
2026-08-28 18:23:25 +08:00
eafonyang
8ca8128e2b
新增 undo 功能
2026-08-14 16:40:47 +08:00
eafonyang
93c2cb7681
新增 EQ撤销功能,用户调节的参数不满意可以点击回退到上一次,撤销栈最多存放 30 步
2026-08-06 12:01:44 +08:00
eafonyang
3d0f9fa254
修复 bug:EQ 页面调节任意参数后,耳机会自动切换到别的耳机
2026-08-06 11:09:30 +08:00
eafonyang
bfc4b45ca3
version>=2008 使用了新的重命名接口、EQ 排序功能
2026-07-07 17:15:01 +08:00
eafonyang
0cb0ca0787
重命名 EQ 名称增加等待时间
2026-07-07 09:48:36 +08:00
eafonyang
0d64495ebd
优化首页图标,用 lucide-react 代替了蓝牙模块的图标
2026-07-03 11:11:13 +08:00
eafonyang
ac9bac4d18
当设备未连接时,各页面默认显示英文语言的文本,并在标题追加 (Disconnect)
2026-07-01 11:23:12 +08:00
eafonyang
522bb602b3
优化分享页面
2026-06-26 12:03:31 +08:00
eafonyang
e8b19a5897
清理项目没用的代码,新增 EQ 预设管理界面
2026-06-18 12:01:15 +08:00
eafonyang
8d369412fd
新增 build:test 方便构建线上的测试环境,优化分享码功能的交互
2026-06-17 16:51:36 +08:00
eafonyang
7eb7647484
优化体验,修复 bug
2026-06-15 18:39:20 +08:00
eafonyang
b421fe1ca3
分享码功能的实现,并修复了几个 bug
2026-06-15 18:00:06 +08:00
eafonyang
b620805e13
拆分 EQ 页面
2026-06-15 13:38:37 +08:00
eafonyang
517ae96ab1
新增分享 EQ 功能,具体功能还没实现,先用伪代码
2026-06-12 19:50:14 +08:00
eafonyang
72d0872ced
修复 bug
2026-06-12 15:53:05 +08:00
eafonyang
2d13bc3d8f
优化 modelCurve 接口的调用时机,加上缓存,减少调用频率
2026-06-10 17:52:36 +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
5f8d9a99a4
refactor(eq): 更新EQ页面以优化预设缓存和滤波器管理
...
- 添加实时滑块预览状态以改善用户体验
- 重构预设缓存逻辑,使用新的PeqPresetLocalCache类型管理滤波器和增益设置
- 更新相关函数以支持新的预设缓存机制,减少重复计算
- 增强滤波器持久化逻辑,确保在耳机切换时正确保存和应用滤波器设置
2026-05-29 19:01:56 +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
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
8fcad50e7d
Update locale files for English, Traditional Chinese, and Simplified Chinese to add new confirmation prompts for volume adjustments; refactor Home and EQPage components to integrate volume confirmation dialogs and enhance user interaction for setting volume levels.
2026-05-26 10:20:05 +08:00
yangy
21839ff339
Update locale files for English, Traditional Chinese, and Simplified Chinese to include new confirmation prompts for enabling audio effects; refactor EffectsPage and EQPage to integrate FeatureGate for managing effect states and user interactions.
2026-05-19 13:33:10 +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
b3d3f0edcb
Refactor BottomNav and CommunityPage to enhance community forum integration; update navigation logic for mobile and desktop views. Add new localized strings for community page and system settings, including device information and user prompts.
2026-05-13 17:42:26 +08:00
yangy
5285b886ea
Update locale files for English, Traditional Chinese, and Simplified Chinese to include new effect titles and crossfeed options; refactor EffectsPage to utilize localized labels and improve state management for audio effects.
2026-05-13 15:18:07 +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
yangy
ae4ce8bb07
Refactor BottomNav to use localized labels for navigation items; added support for dynamic language selection based on device state. Updated locale files for English, Traditional Chinese, and Simplified Chinese to include bottom navigation labels.
2026-05-11 17:42:18 +08:00
yangy
4ca86ad60a
Refactor EQPage to support dual mode (A/B) for equalizer settings; added visibility toggles for frequency response curves and copy functionality between modes.
2026-04-30 17:02:13 +08:00
yangy
22ec4bb710
新增社区页面路由,更新底部导航以移除占位符,优化音量控制按钮样式和功能
2026-04-29 17:56:03 +08:00
yangy
49382f8f06
Update logo and enhance layout responsiveness; add stroke animation for frequency chart paths
2026-04-24 11:37:56 +08:00
yangy
6cce6d1f73
优化eq
2026-04-23 18:00:33 +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
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