Commit Graph
7 Commits
Author SHA1 Message Date
X4Lo 67c828838d Updated electron & react frontend packages & Agents.md 2026-11-03 20:47:40 +00:00
X4Lo a5659cf4c8 Normalize to double quotes across all files with Prettier 2026-06-21 22:28:08 +01:00
Mohammed Abad 8641e55362 feat(home): implement new homepage design with full-bleed hero slider and component refactor
- Replace old HomePage layout with Apple TV+/Hulu-inspired design (HomePage3)
- Extract all home UI into reusable components under src/components/home/:
  HeroSlider, BackdropCard, BackdropScrollCard, PopularBelt,
  NumberedListItem, MiniPosterCard, UpcomingCard, SectionHeader
- Hero slider: true slide-track animation, embedded search bar, autoplay with dot indicators
- Trending Now: rotating 2x2 backdrop grid with slide-out/slide-in stagger animation (7s interval)
- Popular Right Now: infinite CSS marquee belt, pauses on hover
- Top Rated: 16:9 featured backdrop + 4 poster cards, no labels
- Coming Soon: compact horizontal scroll, date overlay, relative countdown on hover
- Fix sidebar ml offset in AppLayout (md:ml-56 -> md:ml-20) to re-center all pages
- Move Collections page filters to top-right, search input to left
2026-05-25 04:42:24 +01:00
X4Lo 639e41aebf feat(electron): added app icon 2026-05-04 08:24:51 +01:00
Mohammed AbadandCopilot 4303b33677 feat(electron/frontend) Electron Full Rework
- **Electron Full Rework**: Completely rewrote `electron/main.js` — removed child process spawn, backend now runs in-process via `require()`; frameless window with custom title bar; dual-mode support (dev loads Vite at `:4200`, production loads built files)
- **`electron/preload.js`**: Enhanced contextBridge to expose `windowControls` (minimize/maximize/close) and `isElectron` flag alongside existing `ipcRenderer` bridge
- **`electron/package.json`**: Updated scripts (`start`, `dev`, `build-front` → calls React build), removed duplicated backend dependencies (backend now required in-process), updated electron-builder config with proper `files` and `extraResources`
- **`TitleBar` component**: New `react_frontend/src/components/layout/TitleBar.tsx` — custom frameless window title bar with drag region, app branding, and IPC-powered minimize/maximize/close buttons
- **`AppLayout`**: Conditionally renders `<TitleBar>` when built for Electron (`VITE_ELECTRON=true`); wrapped content in an extra flex container to accommodate title bar height
- **`vite.config.ts`**: Added `VITE_ELECTRON` env detection — sets `base: './'` for correct asset resolution in `file://` context
- **`api.ts`**: Dynamic base URL — uses `http://localhost:4000/api/v1` in Electron mode, `/api/v1` (proxy-relative) otherwise
- **`router.tsx`**: Conditional router factory — uses `createHashRouter` in Electron mode (required for `file://` navigation) and `createBrowserRouter` for web
- **`electron.d.ts`**: Added TypeScript declarations for `window.electron` global (windowControls, ipcRenderer, isElectron)
- **`package.json`**: Added `build:electron` script with `cross-env VITE_ELECTRON=true`; added `cross-env` devDependency
- Updated `Electron.md`

Co-authored-by: Copilot <copilot@github.com>
2026-05-03 02:00:14 +01:00
X4Lo 5dc5a023b8 add networks + random changes 2025-02-15 23:40:34 +01:00
X4Lo 3bb0935db9 changed folder structure and added readme file 2025-01-25 06:13:29 +01:00