feat: add sandbox risk confirmation and rejection screens

- Introduced `SandboxRiskDialog` to prompt users about risks when running outside a containerized environment.
- Added `SandboxRejectionScreen` for users who deny the sandbox risk confirmation, providing options to reload or restart the app.
- Updated settings view and danger zone section to manage sandbox warning preferences.
- Implemented a new API endpoint to check if the application is running in a containerized environment.
- Enhanced state management to handle sandbox warning settings across the application.
This commit is contained in:
webdevcody
2026-01-07 10:41:43 -05:00
parent 0d206fe75f
commit 927451013c
11 changed files with 392 additions and 28 deletions

View File

@@ -367,6 +367,17 @@
background-color: var(--background);
}
/* Text selection styling for readability */
::selection {
background-color: var(--primary);
color: var(--primary-foreground);
}
::-moz-selection {
background-color: var(--primary);
color: var(--primary-foreground);
}
/* Ensure all clickable elements show pointer cursor */
button:not(:disabled),
[role='button']:not([aria-disabled='true']),