Spaces:
Running
Running
Commit History
23 days ago
-
feat(login): cinematic muted video background — power-grid/ETAP scene
Z User- New 10s background video (public/videos/login-bg.mp4, 1.2MB, audio track fully REMOVED via ffmpeg -an + faststart for instant web start) + poster JPG fallback for slow connections / reduced motion. - Login.tsx: fixed full-screen <video> (autoplay muted loop playsInline), poster underlay, dark contrast gradient + vignette for WCAG-readable glass card, fade-in on canplay, onError fallback to poster, one frosted panel around Google + form, brand impression strip. - index.css: prefers-reduced-motion hides the looping video (static poster shown instead). - security.ts/cache.ts: mp4|webm|m4v|ogg|mp3 now classified as static assets → correct Cache-Control (1d + stale-while-revalidate) for media. - Verified: tsc clean, vite build clean, browser test desktop+mobile (video playing muted, looping, zero console errors).41b4201
-
fix: bust stale immutable cache on public/ assets + sane cache policy
Z User- cacheMiddleware: /public/ images (stable filenames) were cached 1 year immutable — new deployments could never reach returning visitors (the new PowerFactory logo stayed broken for cached browsers). /assets/ hashed files keep 1y immutable; /public/ files now get 1 day + stale-while-revalidate - Home.tsx: ?v=20261010 on software logos to immediately bust browsers that already cached the old broken PowerFactory SVG under the old policyc96c094
-
feat: chatbot typing cursor + auto-scroll + smooth animations, light mode icon color fixes
ahmdelbaz28-ux- Professional typing cursor (thin vertical bar with glow) - Auto-scroll during streaming and after message completion - Smooth fade-in animation for streaming text chunks - Smooth enter/exit animations for typing indicator (bouncing dots) - Fixed stacking timeout bug in typing exit animation - Added 8 new light mode icon color overrides (violet, emerald, rose, etc.) - Added placeholder colors, badge backgrounds, admin tab states10963b9