fix: add missing icon imports v1.2.6

This commit is contained in:
Daniel Bedeleanu
2026-04-11 11:49:31 +03:00
parent aa134e4384
commit 96fe655f72
5 changed files with 14 additions and 11 deletions

View File

@@ -1,8 +1,9 @@
{
"version": "1.2.5",
"last_build": "2026-04-11-1200",
"commit": "c8f1a",
"version": "1.2.6",
"last_build": "2026-04-11-1206",
"commit": "d9e2a",
"changelog": [
"v1.2.6: Hotfix - Added missing icon imports (Layers, ChevronDown)",
"v1.2.5: Synchronized icons across UI (Layers for Categories, Package for Item Types)",
"v1.2.4: Offline LDAP auth support and UI affordance improvements (Dropdown chevrons, soft password dots)",
"v1.2.3: System-wide UI consistency (standardized font sizes, removed uppercase)",

View File

@@ -1,12 +1,12 @@
### [2026-04-11 11:58] v1.2.5: UI Icon Synchronization
**Purpose:** Unified iconography across the system for better visual association. Substituted `Tag` with `Layers` for all Category references and added the green `Package` icon to all item listing instances. Refined AI Onboarding and Admin panels for total consistency.
### [2026-04-11 12:05] v1.2.6: Hotfix - Missing Icon Imports
**Purpose:** Fixed `ReferenceError: Layers is not defined` and `ChevronDown is not defined` errors by adding missing imports in `admin/page.tsx` and `app/page.tsx`.
**Modified Files:**
- `frontend/app/inventory/page.tsx`
- `frontend/app/admin/page.tsx`
- `frontend/components/AdminOverlay.tsx`
- `frontend/components/AIOnboarding.tsx`
- `frontend/app/page.tsx`
- `VERSION.json`
### [2026-04-11 11:58] v1.2.5: UI Icon Synchronization
### [2026-04-11 11:45] v1.2.4: Offline Auth & UX Polish
### [2026-04-11 11:30] v1.2.3: System-Wide UI Homogenization

View File

@@ -1 +0,0 @@
danielbedeleanu@Daniels-MacBook-Pro-14-M1.local.30836

View File

@@ -20,7 +20,9 @@ import {
Server,
Globe,
Wifi,
WifiOff
WifiOff,
Layers,
ChevronDown
} from 'lucide-react';
import { toast } from 'react-hot-toast';
import { cn } from '@/lib/utils';

View File

@@ -20,6 +20,7 @@ import {
Wifi,
WifiOff,
ChevronRight,
ChevronDown,
Edit2,
RefreshCw,
CloudOff,
@@ -476,7 +477,7 @@ export default function Home() {
<div>
<p className="text-lg font-medium">Tap to start scanning</p>
<p className="text-sm text-slate-400">Scan barcodes to {mode.toUpperCase().replace('_', ' ')} items</p>
<p className="text-sm text-slate-400">Scan labels to {mode.replace('_', ' ')} items</p>
</div>
<div className="w-full h-px bg-slate-800 my-2" />