Skip to content

feat(settings): 登记 PyroWave 渐进输出开关 - #95

Closed
qiin2333 wants to merge 1 commit into
mainfrom
codex/pyrowave-settings-registry
Closed

qiin2333 wants to merge 1 commit into
mainfrom
codex/pyrowave-settings-registry

Conversation

@qiin2333

Copy link
Copy Markdown

改了啥呀

在共享设置模型中把 pyrowave_progressive 登记为默认开启的开关,并放进「显示与视频 → 编码与码率」的视频格式区域。

为啥要改

搜索到了设置,就应该能直接跳到它。把这个开关在设置树里的位置补好,让这点杂鱼迷路问题退场啦。Sunshine #1554

验证

  • node --test test/displaytree.test.js test/meta.test.js 通过 11 项。
  • 使用更新后的共享模型复验 Sunshine 的设置搜索、导航、默认值、保存与重载,7 个测试文件共 32 项通过。

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • 新功能
    • 编码器设置新增渐进式处理选项,默认开启。

新增 pyrowave_progressive 设置,默认值为 true,并将其列入编码器页面 format 区段的主要设置列表。

Changes: 编码器设置

层 / 文件 摘要
设置定义与页面展示
src/settings/meta.js, src/settings/displayTree.js
SETTING_META 新增第 2 层开关 pyrowave_progressive,默认开启。编码器页面的 format 区段将该设置列为 main。

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

Change: Feature

Suggested reviewers: skyhua0224

Merge Risk: Minimal · up to b59a2

This adds a progressive-output toggle, on by default, to the encoder settings page so search can reach it. It matches the Sunshine host behavior and default, and no concrete merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed 标题“feat(settings): 登记 PyroWave 渐进输出开关”与变更内容一致。变更将 pyrowave_progressive 登记到共享设置模型(meta.js)并加入设置树的编码器 format 区段(displayTree.js),标题准确描述了主要改动。
Description check Passed 描述说明了改动内容(把 pyrowave_progressive 登记为默认开启的开关,并放入“显示与视频 → 编码与码率”的视频格式区域)以及改动原因(让设置搜索结果可直接跳转),并附有测试验证信息,与变更集相关。
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.
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

我是兔子,捧来新开关,
pyrowave_progressive 默认点亮。
编码器页面添上它,
format 区段看得见。
胡萝卜旁,我轻轻点头。

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: 82c48838-76e3-465f-8244-08ce1024409a
Commits

Reviewing files that changed from the base of the PR and between 169dd54 and b59a2e0.

Files selected for processing: 2

  • src/settings/displayTree.js
  • src/settings/meta.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.

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