From aeb083240930b97f72a49f44b184304a4bc88d83 Mon Sep 17 00:00:00 2001 From: Tom Boullay Date: Mon, 27 Apr 2026 17:22:53 +0200 Subject: [PATCH] chore: remove stale comments --- README.md | 8 ++++---- components/upload/FolderCard.tsx | 5 ----- lib/constants.ts | 4 ---- lib/types.ts | 4 ---- 4 files changed, 4 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 4ee5610..28fb2c8 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ npm run dev Access the app at `http://localhost:3000` -> **Note:** The current upload contract accepts `model.gltf` and preserves it as GLTF. `.glb` uploads are rejected by validation. +> **Note:** Uploads accept `model.gltf` and preserve it as GLTF. `.glb` uploads are rejected by validation. > > Local 3D preview supports `model.gltf` folders by resolving dropped companion files such as `model.bin` and textures through local object URLs. > The preview also shows a small model stats helper with estimated draw calls, meshes, triangles, materials, and texture count. @@ -168,7 +168,7 @@ update: upload-gltf update -> coffeetest 🔄 color_tuyaux.jpg (compressed) ``` -Sections currently used: +Commit sections: - `📦 Model` - `🎨 Textures (color)` @@ -185,11 +185,11 @@ Symbols: `✅` new — `🔄` modified — `↔️` unchanged (model always re-p Uploaded models are pushed to `public/models//` in the target repo. -## Current Limitations +## Limitations - Large uploads are faster than before because the folder is staged only once, but the Drive upload remains sequential. - Git LFS uploads are still sequential. -- The current upload contract expects a single `model.gltf` file plus optional flat support files (`.bin`, `.png`, `.jpg`, `.jpeg`, `.webp`). +- Uploads expect a single `model.gltf` file plus optional flat support files (`.bin`, `.png`, `.jpg`, `.jpeg`, `.webp`). ## Project Structure diff --git a/components/upload/FolderCard.tsx b/components/upload/FolderCard.tsx index 8347db6..d8ac58c 100644 --- a/components/upload/FolderCard.tsx +++ b/components/upload/FolderCard.tsx @@ -18,7 +18,6 @@ export default function FolderCard({ entry, index, onToggleViewer, onRemove }: F return (
- {/* Status icon */}
{entry.status === 'success' ? (
@@ -45,7 +44,6 @@ export default function FolderCard({ entry, index, onToggleViewer, onRemove }: F )}
- {/* Info */}
{entry.folderName}/ @@ -76,7 +74,6 @@ export default function FolderCard({ entry, index, onToggleViewer, onRemove }: F )}
- {/* Remove button */} {entry.status !== 'uploading' && (
- {/* Warning banner */} {entry.status !== 'success' && ( )} - {/* 3D preview */} {entry.modelUrl && entry.status !== 'success' && (