Skip to content

feat(preferences): back up device appearance settings - #366

Draft
tamaina wants to merge 1 commit into
developfrom
feat/juice-device-settings-backup-299
Draft

tamaina wants to merge 1 commit into
developfrom
feat/juice-device-settings-backup-299

Conversation

@tamaina

@tamaina tamaina commented Nov 21, 2026

Copy link
Copy Markdown
Owner

What

  • 表示言語・文字サイズ・システムフォントを、既存の端末プロファイルのファイル書き出し/クラウドバックアップに含める。
  • 古いバックアップで項目がない場合は今の端末設定を維持する。明示的な既定値は復元し、未知の言語や範囲外の文字サイズは無視する。復元時にバックアップ専用フィールドを現行プロファイルへ混ぜない。
  • クラウドの自動バックアップが有効な場合、プロファイル本体に変更がなくてもこの3項目の変更を検知する。

Why

ファイルまたはクラウドからプロファイルを復元しても、端末側に別保存される表示設定は戻らなかったため。Related #299 / #260。今回は表示の3項目に限定し、カスタムCSSと小説・絵チャなどの設定は後続。

Additional info

  • Node 26.13.1 / Vitest 5.1.0: 対象3件成功(往復、旧ファイル・既定値、不正値の扱い)。
  • 変更4ファイルのLint、SPDX、locale safety、git diff --check 成功。ブラウザーでの全操作・実クラウド往復は未検証。
  • CHANGELOG候補: 設定バックアップに表示言語・文字サイズ・システムフォントを含められるように。

Checklist

  • Read the contribution guide
  • Test working in a local environment (targeted unit tests)
  • Add tests

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