Add archive preview and new storage categories
Some checks failed
Automated Container Build / build-and-push (push) Failing after 32s

This commit is contained in:
Elijah 2026-06-01 08:57:01 -07:00
parent a2b634517f
commit 6b7d0de208
6 changed files with 150 additions and 4 deletions

View file

@ -1255,6 +1255,10 @@ func categorizeFile(ext string) string {
return "documents"
case ".zip", ".tar", ".gz", ".rar", ".7z", ".bz2":
return "archives"
case ".js", ".ts", ".tsx", ".jsx", ".html", ".css", ".json", ".py", ".go", ".java", ".cpp", ".c", ".h", ".hpp", ".cs", ".php", ".rb", ".sh", ".yml", ".yaml", ".xml", ".rs", ".swift", ".kt":
return "code"
case ".stl", ".3mf", ".obj", ".step", ".stp", ".glb", ".gltf", ".blend":
return "3d_models"
default:
return "other"
}