Skip to content

feat(settings): register usb_wired_streaming_enabled and regenerate the pinyin table - #92

Merged
Yundi339 merged 2 commits into
mainfrom
feat/input-usb-wired-place
Nov 27, 2026
Merged

Yundi339 merged 2 commits into
mainfrom
feat/input-usb-wired-place

Conversation

@Yundi339

@Yundi339 Yundi339 commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

说明

USB 有线串流的设置位置改为【主机设置】→【网络】页底部(foundation-sunshine #1509),输入 rail 不再新增分页。

修改

  • SETTING_META 登记 usb_wired_streaming_enabled(tier 2 开关,risk medium)
  • 用 scripts/gen-pinyin.mjs 按产品搜索文本重新生成 pinyin 表(599 → 861 字符,覆盖该产品新增文案与繁体标签)

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • 新功能
    • Windows 用户可在输入设置中找到 USB 有线串流选项;该开关默认关闭。
  • 改进
    • 拼音字符覆盖范围从 599 个扩展至 861 个,提升相关字符的拼音识别覆盖度。

本次更新调整拼音字符映射,并新增 USB 有线串流设置元数据和 Windows 专属输入页面。输入页面说明也有所更新。

Changes: 拼音映射

Layer / File(s) Summary
拼音映射数据
src/search/pinyinTable.js
拼音表注释中的字符覆盖数从 599 更新为 861。主读音表和备用读音表的音节及字符映射有增删和调整。

USB 有线串流设置

Layer / File(s) Summary
USB 有线串流输入设置
src/settings/meta.js, src/settings/model.js
新增 usb_wired_streaming_enabled 设置元数据,默认值为 false,风险级别为 medium。INPUT_PLACES 新增 Windows 专属的 usb-wired 页面。相关说明更新为 USB 转发适用于两种 Windows 主机,并补充 USB 有线串流及其客户端平台的说明。

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Suggested reviewers: skyhua0224

Merge Risk: Minimal · up to 3e0f7

This change adds a Windows-only USB wired streaming tab and its setting metadata, and regenerates the pinyin search table. No actionable merge-blocking risk was found. Normal checks apply.

Pre-merge checks: Passed 4

Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed 标题提到了两项主要变更:在 SETTING_META 中注册 usb_wired_streaming_enabled,以及重新生成拼音表。该标题与变更内容相符。它较长(84 个字符),但具体且可读。
Description check Passed 描述说明了 USB 有线串流设置的新位置,并列出了 SETTING_META 的登记项(tier 2 开关,risk medium)以及拼音表从 599 增至 861 字符的重新生成。这些内容与变更集直接相关。
Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

兔子轻轻翻拼音表,
新音节排进字符行。
有线串流添一扇门,
Windows 页面列其中。
开关默认安静地关,
月光下,兔子跳回家。

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8024576b-3525-47a2-b2fb-83f0f2e10356
Commits

Reviewing files that changed from the base of the PR and between 45865fe and 3e0f769.

Files selected for processing: 3

  • src/search/pinyinTable.js
  • src/settings/meta.js
  • src/settings/model.js

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

…ng section lives on the network page of the host settings
@Yundi339 Yundi339 changed the title feat(settings): add the USB wired streaming place of the input rail feat(settings): register usb_wired_streaming_enabled and regenerate the pinyin table Nov 27, 2026
@Yundi339
Yundi339 merged commit c0cfbeb into main Nov 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant