Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix: setup wizard shows no error feedback on validation failure
rcourtman5ce54345baa5
diff --git a/frontend-modern/src/App.tsx b/frontend-modern/src/App.tsxindex 4758a3f80c..61cb4f1a97 100644--- a/frontend-modern/src/App.tsx+++ b/frontend-modern/src/App.tsx@@ -910,7 +910,6 @@ function App() {{/* AI Panel - slides in from right, pushes content */}<AIChat onClose={() => aiChatStore.close()} /></div>- <ToastContainer /><TokenRevealDialog />{/* Fixed AI Assistant Button - only shows when chat is CLOSED */}<Show when={aiChatStore.enabled === true && !aiChatStore.isOpenSignal()}>@@ -942,6 +941,7 @@ function App() {</Show></ErrorBoundary></Show>+ <ToastContainer /></Show>);};diff --git a/frontend-modern/src/components/SetupWizard/steps/SecurityStep.tsx b/frontend-modern/src/components/SetupWizard/steps/SecurityStep.tsxindex 9b80ec61ef..9fe67c2d50 100644--- a/frontend-modern/src/components/SetupWizard/steps/SecurityStep.tsx+++ b/frontend-modern/src/components/SetupWizard/steps/SecurityStep.tsx@@ -40,6 +40,10 @@ export const SecurityStep: Component<SecurityStepProps> = (props) => {showError('Please enter a password');return;}+ if (password().length < 12) {+ showError('Password must be at least 12 characters');+ return;+ }if (password() !== confirmPassword()) {showError('Passwords do not match');return;diff --git a/frontend-modern/src/components/SetupWizard/steps/WelcomeStep.tsx b/frontend-modern/src/components/SetupWizard/steps/WelcomeStep.tsxindex 166bb7e06f..2a06f0b743 100644--- a/frontend-modern/src/components/SetupWizard/steps/WelcomeStep.tsx+++ b/frontend-modern/src/components/SetupWizard/steps/WelcomeStep.tsx@@ -44,18 +44,19 @@ export const WelcomeStep: Component<WelcomeStepProps> = (props) => {setIsValidating(true);try {- await apiFetch('/api/security/validate-bootstrap-token', {+ const response = await apiFetch('/api/security/validate-bootstrap-token', {method: 'POST',body: JSON.stringify({ token: props.bootstrapToken.trim() }),});+ if (!response.ok) {+ throw new Error('Invalid bootstrap token');+ }+props.setIsUnlocked(true);showSuccess('Token verified!');props.onNext();} catch (_error) {- if (_error instanceof Error && _error.message !== 'Invalid bootstrap token') {- // In case apiFetch throws other errors- }showError('Invalid bootstrap token. Please check and try again.');} finally {setIsValidating(false);