Replace security warning modal with inline banner in Preferences section

Agent-Logs-Url: https://github.com/naturallaw777/staging_alpha/sessions/e7946288-08c7-4081-85dd-6780f1eba17a

Co-authored-by: naturallaw777 <99053422+naturallaw777@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-07 16:17:23 +00:00
committed by GitHub
parent 11ec4b4816
commit 1d4f104524
6 changed files with 46 additions and 79 deletions

View File

@@ -99,10 +99,9 @@ const $upgradeConfirmBtn = document.getElementById("upgrade-confirm-btn");
const $upgradeCancelBtn = document.getElementById("upgrade-cancel-btn");
const $upgradeCloseBtn = document.getElementById("upgrade-close-btn");
// Legacy security warning modal
const $securityWarningModal = document.getElementById("security-warning-modal");
const $securityWarningMessage = document.getElementById("security-warning-message");
const $securityWarningDismiss = document.getElementById("security-warning-dismiss-btn");
// Legacy security warning state (populated by checkLegacySecurity in security.js)
var _securityIsLegacy = false;
var _securityWarningMessage = "";
// System status banner
// (removed — health is now shown per-tile via the composite health field)