設定画面に Danger Zone を追加してパスワード保護する - #62
Merged
Merged
Conversation
接続先の変更・モードの切り替え・アプリの更新をサーバー設定のパスワードで保護する。 サーバーにパスワードが未設定の場合と、サーバーへ到達できない場合は解錠済みとして扱い、 端末が操作不能になることを防ぐ。
Danger Zone セクション追加により縦方向に伸びた結果、モード切替ボタンと 解錠ボタンが Robolectric のビューポート外に出て失敗していた。
Contributor
UI差分全画面スクリーンショット |
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.

























概要
設定画面の危険な操作を Danger Zone としてまとめ、サーバー側で設定したパスワードを入力しないと操作できないようにしました。
変更内容
ロックアウトの防止
端末が操作不能になることを避けるため、次の場合は解錠済みとして扱います。
一方、明示的に解錠を試みた際の通信失敗はエラーとして表示し、解錠は行いません。
テスト
Generated by Claude Code