diff --git a/backend/package-lock.json b/backend/package-lock.json index 04dbedf..301c297 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -1973,7 +1973,6 @@ "resolved": "https://registry.npmjs.org/express/-/express-4.22.1.tgz", "integrity": "sha512-F2X8g9P1X7uCPZMA3MVf9wcTqlyNp7IhH5qPCI0izhaOIYXaW9L535tGA3qmjRzpH+bZczqq7hVKxTR4NWnu+g==", "license": "MIT", - "peer": true, "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", @@ -4151,7 +4150,6 @@ "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.3.tgz", "integrity": "sha512-PEIGCY5tSlUt50cqyMXfCzX+oOPqN0vuGqWzbcJ2xvnkzkq46oOpz7dQaTDBdfICb4N14+GARUDw2XV2N4tvzg==", "license": "MIT", - "peer": true, "engines": { "node": ">=10.0.0" }, @@ -4195,7 +4193,6 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz", "integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==", "license": "MIT", - "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" } diff --git a/frontend/components/features/CredentialsManager.tsx b/frontend/components/features/CredentialsManager.tsx index 6a140ea..43c4909 100644 --- a/frontend/components/features/CredentialsManager.tsx +++ b/frontend/components/features/CredentialsManager.tsx @@ -190,7 +190,7 @@ export const BrowserProfileManager: React.FC = ({ is
{/* Status Indicator */}
- {prof.isVerified ? ( + {prof.hasState ? (
) : (
@@ -200,7 +200,7 @@ export const BrowserProfileManager: React.FC = ({ is

{prof.alias}

- {prof.isVerified ? ( + {prof.hasState ? ( Configured ) : ( Empty @@ -209,15 +209,15 @@ export const BrowserProfileManager: React.FC = ({ is
- {prof.targetUrl} + {prof.startUrl} - {(prof.username || prof.email) && ( -

{prof.username || prof.email}

+ {prof.description && ( +

{prof.description}

)} - {prof.isVerified && prof.storageState && ( + {prof.hasState && prof.storageSize && (
- Size: {(new Blob([prof.storageState]).size / 1024).toFixed(1)} KB - {prof.createdAt && Created: {new Date(prof.createdAt).toLocaleDateString()}} + Size: {prof.storageSize} + {prof.lastUpdated && Updated: {new Date(prof.lastUpdated).toLocaleDateString()}}
)}
@@ -227,7 +227,7 @@ export const BrowserProfileManager: React.FC = ({ is
- {prof.isVerified ? ( + {prof.hasState ? ( <>
diff --git a/frontend/package-lock.json b/frontend/package-lock.json index b8f3c0a..0063014 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -56,7 +56,6 @@ "integrity": "sha512-e7jT4DxYvIDLk1ZHmU/m/mB19rex9sv0c2ftBtjSBv+kVM/902eh0fINUzD7UwLLNR+jU585GxUJ8/EBfAM5fw==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "@babel/code-frame": "^7.27.1", "@babel/generator": "^7.28.5", @@ -1287,7 +1286,6 @@ } ], "license": "MIT", - "peer": true, "dependencies": { "baseline-browser-mapping": "^2.9.0", "caniuse-lite": "^1.0.30001759", @@ -1937,7 +1935,6 @@ "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "dev": true, "license": "MIT", - "peer": true, "engines": { "node": ">=12" }, @@ -1979,7 +1976,6 @@ "resolved": "https://registry.npmjs.org/react/-/react-19.2.3.tgz", "integrity": "sha512-Ku/hhYbVjOQnXDZFv2+RibmLFGwFdeeKHFcOTlrt7xplBnya5OGn/hIRDsqDiSUcfORsDC7MPxwork8jBwsIWA==", "license": "MIT", - "peer": true, "engines": { "node": ">=0.10.0" } @@ -1989,7 +1985,6 @@ "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.2.3.tgz", "integrity": "sha512-yELu4WmLPw5Mr/lmeEpox5rw3RETacE++JgHqQzd2dg+YbJuat3jH4ingc+WPZhxaoFzdv9y33G+F7Nl5O0GBg==", "license": "MIT", - "peer": true, "dependencies": { "scheduler": "^0.27.0" }, @@ -2219,7 +2214,6 @@ "integrity": "sha512-+Oxm7q9hDoLMyJOYfUYBuHQo+dkAloi33apOPP56pzj+vsdJDzr+j1NISE5pyaAuKL4A3UD34qd0lx5+kfKp2g==", "dev": true, "license": "MIT", - "peer": true, "dependencies": { "esbuild": "^0.25.0", "fdir": "^6.4.4", diff --git a/frontend/src/constants.ts b/frontend/src/constants.ts index 9de0801..07fac31 100644 --- a/frontend/src/constants.ts +++ b/frontend/src/constants.ts @@ -1,5 +1,5 @@ -import { Session, BrowserProfile, QAEvent } from './types'; +import { Session, BrowserProfile, QAEvent } from '../types'; // No mock event data; app uses real sessions from the backend export const REAL_EVENTS: QAEvent[] = []; diff --git a/frontend/src/services/screenCapture.ts b/frontend/src/services/screenCapture.ts index ec49ea5..d3286a7 100644 --- a/frontend/src/services/screenCapture.ts +++ b/frontend/src/services/screenCapture.ts @@ -23,13 +23,6 @@ export class ScreenCaptureService { private isStopped: boolean = false; // Prevent multiple stop calls private uploadRetries: number = 3; // Max retries for upload - /** - * Get the actual recording start time - */ - getStartTime(): number { - return this.startTime; - } - /** * Start screen capture * Shows native OS dialog for user to select screen/window @@ -231,7 +224,7 @@ export class ScreenCaptureService { } /** - * Get recording start time + * Get the actual recording start time */ getStartTime(): number { return this.startTime; diff --git a/frontend/src/vite-env.d.ts b/frontend/src/vite-env.d.ts new file mode 100644 index 0000000..11f02fe --- /dev/null +++ b/frontend/src/vite-env.d.ts @@ -0,0 +1 @@ +///