From 8fc81d37eba656ac3335d56e3b8372f9c397ae02 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 31 May 2026 19:05:08 +0530 Subject: [PATCH 1/2] chore: resolve merge conflicts and integrate upstream changes --- Server/main.py | 8 ++++++++ client/package-lock.json | 3 +++ 2 files changed, 11 insertions(+) diff --git a/Server/main.py b/Server/main.py index 665dc67..57c5883 100644 --- a/Server/main.py +++ b/Server/main.py @@ -1,4 +1,6 @@ +# pyrefly: ignore [missing-import] from fastapi import FastAPI, UploadFile, File, HTTPException, Depends, Header, Request +# pyrefly: ignore [missing-import] from fastapi.middleware.cors import CORSMiddleware from security import ( inspect_archive_limits, @@ -41,6 +43,7 @@ MAX_FILE_SIZE = 500 * 1024 * 1024 +# pyrefly: ignore [parse-error] def get_api_user(authorization: str | None = Header(None)): if not authorization: raise HTTPException(status_code=401, detail="Authorization header missing") @@ -117,6 +120,7 @@ async def run_forensic_pipeline( # Record provenance to Supabase so it appears in the Evidence Graph try: + # pyrefly: ignore [missing-import] from supabase import create_client url = os.getenv("SUPABASE_URL") key = os.getenv("SUPABASE_ANON_KEY") @@ -178,6 +182,7 @@ async def get_graph_relationships(): try: cases = [] try: + # pyrefly: ignore [missing-import] from supabase import create_client url = os.getenv("SUPABASE_URL") key = os.getenv("SUPABASE_ANON_KEY") @@ -206,6 +211,7 @@ async def get_evidence_provenance(case_id: str): try: cases = [] try: + # pyrefly: ignore [missing-import] from supabase import create_client url = os.getenv("SUPABASE_URL") key = os.getenv("SUPABASE_ANON_KEY") @@ -259,6 +265,7 @@ async def expand_node(node_id: str): raise HTTPException(status_code=500, detail="Error expanding node.") +# pyrefly: ignore [missing-import] from fastapi import BackgroundTasks import asyncio @@ -278,5 +285,6 @@ async def trigger_graph_analysis(background_tasks: BackgroundTasks): if __name__ == "__main__": + # pyrefly: ignore [missing-import] import uvicorn uvicorn.run(app, host="0.0.0.0", port=8000) diff --git a/client/package-lock.json b/client/package-lock.json index ec22d54..3960e2b 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -47,6 +47,9 @@ "eslint-config-next": "16.1.6", "tailwindcss": "^4", "typescript": "^5" + }, + "engines": { + "node": ">=18.0.0" } }, "node_modules/@alloc/quick-lru": { From 1eca2d69a2808174110d42b34ef8903866e546c4 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 31 May 2026 19:17:42 +0530 Subject: [PATCH 2/2] style: enhance loading skeletons with glassmorphism backdrops and shimming linear animations --- client/components/LoadingSkeleton.tsx | 81 ++++++++++++++------------- 1 file changed, 42 insertions(+), 39 deletions(-) diff --git a/client/components/LoadingSkeleton.tsx b/client/components/LoadingSkeleton.tsx index 4e56fce..28f1171 100644 --- a/client/components/LoadingSkeleton.tsx +++ b/client/components/LoadingSkeleton.tsx @@ -7,21 +7,32 @@ interface SkeletonProps { function Skeleton({ className = "" }: SkeletonProps) { return ( -
+
+ +
); } export function DashboardSkeleton() { return ( -
+
{/* Header skeleton */}
-
+
-
- +
+
@@ -30,49 +41,41 @@ export function DashboardSkeleton() { {/* Stats skeleton */}
{[...Array(4)].map((_, i) => ( -
+
))}
- {/* Tools grid skeleton */} -
- {[...Array(6)].map((_, i) => ( -
- - - + {/* Main Grid skeleton */} +
+
+ {/* Tools grid skeleton */} +
+ {[...Array(6)].map((_, i) => ( +
+ + + +
+ ))}
- ))} -
- - {/* Map skeleton */} -
- - -
- {/* Records skeleton */} -
-
- - + {/* Map skeleton */} +
+ + +
-
- {[...Array(3)].map((_, i) => ( -
-
- - -
-
- - -
-
- ))} + + {/* Side Panel skeleton */} +
+
+ + + +