added other materials tab

This commit is contained in:
xCyanGrizzly
2026-02-18 21:55:39 +01:00
parent ec04e1bd0b
commit 32683ecf5e
14 changed files with 1272 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ import {
Cylinder,
Droplets,
Paintbrush,
Gem,
Building2,
MapPin,
Settings,
@@ -25,6 +26,7 @@ const icons = {
Cylinder,
Droplets,
Paintbrush,
Gem,
Building2,
MapPin,
Settings,
@@ -35,6 +37,7 @@ const navItems = [
{ label: "Filaments", href: "/filaments", icon: "Cylinder" as const },
{ label: "Resins", href: "/resins", icon: "Droplets" as const },
{ label: "Paints", href: "/paints", icon: "Paintbrush" as const },
{ label: "Supplies", href: "/supplies", icon: "Gem" as const },
{ label: "Vendors", href: "/vendors", icon: "Building2" as const },
{ label: "Locations", href: "/locations", icon: "MapPin" as const },
{ label: "Settings", href: "/settings", icon: "Settings" as const },

View File

@@ -35,7 +35,7 @@ interface UsageLogDialogProps {
open: boolean;
onOpenChange: (open: boolean) => void;
itemName: string;
unit: "g" | "ml";
unit: string;
onSubmit: (amount: number, notes?: string) => Promise<{ success: boolean; error?: string }>;
}