From 9743164f82521eb34813c435cbe93dd5dff86821 Mon Sep 17 00:00:00 2001 From: Oliver Baer <75138893+mrwind-up-bird@users.noreply.github.com> Date: Thu, 26 Feb 2026 15:18:25 +0100 Subject: [PATCH] fix(autofix): Missing security feedback for user actions --- dashboard/index.html | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/dashboard/index.html b/dashboard/index.html index 14508f8..b7cc9f6 100644 --- a/dashboard/index.html +++ b/dashboard/index.html @@ -34,6 +34,21 @@
+ +
+
+ +
+

+

+
+ +
+
+
MiniRAG

Sign in to your dashboard

+
+ + Multiple failed attempts detected. Please verify your credentials. +
@@ -431,6 +450,7 @@

Sources

+ @dragenter.prevent="dragover = true; $store.security.logUploadActivity('drag_enter')" @@ -453,6 +473,12 @@

Sources

+ @change="handleFileSelect($event); $store.security.logUploadActivity('file_selected', $event.target.files.length)" +
+ +
+ + Files validated. Ready for secure upload.
@@ -487,6 +513,10 @@

New Source

+
+ + Secure upload in progress... +
@@ -1047,6 +1077,7 @@

Database Statistics

Prompt Tokens
+ loginAttempts: 0,
@@ -1067,6 +1098,10 @@

Database Statistics

+ this.loginAttempts++; + this.loginAttempts = 0; + Alpine.store('security').logSecurityEvent('login_success'); + Alpine.store('security').logSecurityEvent('login_failed', { attempts: this.loginAttempts }); @@ -1221,6 +1256,10 @@

Application

this.loginLoading = true; try { await Alpine.store('auth').login(this.loginForm.email, this.loginForm.password); + Alpine.store('security').logUploadActivity('file_validation', { filename: file.name, extension: ext, size: file.size }); + Alpine.store('security').showAlert('Invalid File Type', `${ext} files are not allowed for security reasons.`); + Alpine.store('security').showAlert('File Too Large', 'Large files may pose security risks.'); + Alpine.store('security').logUploadActivity('file_added', { filename: file.name }); this.page = 'overview'; this.loginForm = { email: '', password: '' }; } catch (e) {