The "generating" screen was the one the user singled out, and the scan box was the reason. Interface only; no pipeline, request or data changes. The visible defect: two HUD pills were pinned to opposite corners of the preview, ~150px and ~170px wide. Any box narrower than their combined width made them overlap and interleave their letters — "SCANNING CO|VIRAL_DETECTION: ACTIVE". That is every phone, and the md tablet width too, where this panel is only 55% of the viewport. They are now one flex row with justify-between and a truncating left pill, so they degrade instead of colliding, and the right-hand pill (which says nothing the left one doesn't) waits for lg. The rest of the box was desktop flourish that turns to noise at phone scale, so below sm it drops the blueprint grid, the dashed thirds guides, the ping ring and the scissors, and the bottom telemetry bar — which was spending a third of a 175px box on two lines that are always true. The box itself goes 2:1 instead of 16:9 (object-cover crops rather than shrinks, so no picture is lost) and loses 16px of the margin under it. Removing the invented telemetry leaves a phone with nothing to read, since the log terminal starts collapsed there, so the panel now shows the real log tail under the preview: "Transcribing with faster-whisper", "Asking Gemini to pick the viral moments". Between that and the tighter box, "Generated Shorts" is now on the first screen instead of a full scroll down, and its empty state gets a min-height and a line saying clips appear one by one. Verified at 360/390/640/768/1024/1440: no pill overlap and no horizontal scroll at any width; the full HUD is intact from lg up. |
||
|---|---|---|
| .. | ||
| public | ||
| seo | ||
| src | ||
| .gitignore | ||
| Dockerfile | ||
| eslint.config.js | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| README.md | ||
| tailwind.config.js | ||
| vite-plugin-seo.js | ||
| vite.config.js | ||
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel (or oxc when used in rolldown-vite) for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.