feat: 詳細設定の永続化およびAPI URL保存漏れの修正#2
Merged
Merged
Conversation
- GenerationSettings(生成パラメータ)のローカル保存に対応 - GenerationSettings モデルに `fromMap` / `toMap` メソッドを追加 - LayoutPreferences に `getGenerationSettings` / `setGenerationSettings` メソッドを追加し、SharedPreferences へのシリアライズ処理を実装 - GenerationSettingsNotifier の初期化時に保存済みデータをロードし、状態が変更されるたびに自動で SharedPreferences へ保存するよう `state` セッターをオーバーライド - API URL が一部の画面から変更された際に保存されない不具合を修正 - 詳細設定ダイアログ(DetailedSettingsDialog)およびプレビューペイン(PreviewPane)の API URL 変更時にも `LayoutPreferences.setApiUrl()` を実行するように保存処理を追加
- Setup Flutter ステップに stable チャンネルの指定を追加 - ランナーにプリインストールされている別の Flutter/Dart SDK への解決を防止するため、環境変数 FLUTTER_ROOT と PATH の上書き処理を追加 - 依存パッケージの AOT コンパイル制限(final クラス制約)に対し、正しい Flutter 3.41.1 (stable) SDK でのビルドを強制して解決
- subosito/flutter-action が指定されたバージョン(3.41.1)を無視して最新バージョンを解決してしまう問題を修正 - 安定版の Flutter 3.41.1 SDK を公式の Google Storage アーカイブから直接ダウンロードして展開する手動セットアップへ変更 - PATH を明示的に設定し、依存パッケージ(forui, phosphor_flutter)の final クラス制約に伴う AOT コンパイルエラーを完全に解消
…境全体に最優先で登録するように修正
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fromMap/toMapメソッドを追加getGenerationSettings/setGenerationSettingsメソッドを追加し、SharedPreferences へのシリアライズ処理を実装stateセッターをオーバーライドLayoutPreferences.setApiUrl()を実行するように保存処理を追加