Overview
GIMA’s Asset Management module provides a powerful interface for organizing and tracking all organizational assets through a category-based system. From computers and infrastructure to vehicles and network equipment, manage your entire inventory with ease.Category-Based Organization
Organize assets into logical categories like COMPUTO, MOBILIARIO, VEHÍCULOS, and REDES
Real-time Search
Instantly filter categories by name or ID as you type
Asset Count Tracking
Each category displays the total number of associated assets
CRUD Operations
Create, read, update, and delete categories with intuitive controls
Asset Categories
The system comes pre-configured with essential asset categories defined insrc/data/categories.ts:
The page implementation at
src/app/categorias-activos/page.tsx uses a slightly different set of example categories including COMPUTO, MOBILIARIO, VEHÍCULOS, and REDES. You can customize these to match your organization’s needs.Using Asset Management
Navigate to Categories
Access the asset management interface at
/categorias-activosThe page displays the header “CATEGORÍAS” with the subtitle “Clasificación de equipos”Search for Categories
Use the search bar to filter categories in real-time:The search matches both category names and IDs.
View Category Details
Each category row displays:
- ID: Unique identifier (e.g., CAT-001)
- Name: Category name in uppercase
- Description: Detailed description of included asset types
- Total Assets: Count badge showing number of assets
Key Features
Smart Search Functionality
The search bar provides instant filtering with visual feedback:Safe Delete with Confirmation
TheDeleteAlert component prevents accidental deletions:
Responsive Table Design
The interface uses a card-based table with hover effects:User Interface Components
- Search & Filter
- Table Structure
- Asset Count Badge
Search Bar: Located in the toolbar with lucide-react
Search iconFilter Button: Quick access to advanced filtering optionsResults Counter: Shows total filtered results dynamicallyState Management
The page uses React hooks for local state management:Delete Handler Implementation
Styling & Design System
GIMA uses a custom Tailwind configuration with branded colors:gima-navy
Primary dark blue for headers and emphasis
gima-blue
Brand blue for buttons and interactive elements
gima-gray
Muted gray for secondary text
Rounded Corners
The design emphasizes soft, rounded corners throughout:- Cards:
rounded-[2rem] - Buttons:
rounded-xl - Input fields:
rounded-xl - Badges:
rounded-lg
Navigation
The page includes a back button to return to configuration:Best Practices
Consistent Naming
Use uppercase names for categories (e.g., COMPUTO, REDES) to maintain consistency
Descriptive IDs
Follow the CAT-XXX pattern for category IDs for easy identification
Detailed Descriptions
Include comprehensive descriptions to help users understand what belongs in each category
Regular Audits
Periodically review asset counts to ensure accuracy
Integration Points
- Dashboard: Asset totals feed into dashboard statistics
- Maintenance: Categories help organize maintenance schedules
- Reports: Generate category-based asset reports
- Configuration: Access via configuration menu
Related Documentation
- Dashboard - View aggregated asset metrics
- Maintenance - Schedule maintenance by category
- Reports - Generate asset inventory reports