Overview
Access category management at/categorias-activos to configure your organization’s asset classification structure.
Categories help you organize assets by type (e.g., COMPUTO, MOBILIARIO, REDES) and track how many assets are in each category.
Category Structure
Each category in GIMA includes:- Category ID: Unique identifier (e.g., CAT-001)
- Name: Category name in uppercase
- Description: Detailed description of what assets belong in this category
- Total Assets: Count of assets assigned to this category
Default Categories
GIMA includes these predefined categories:COMPUTO Category
COMPUTO Category
Description: Ordenadores, servidores y periféricosIncludes:
- Laptops and desktop computers
- Servers and server equipment
- Peripherals (monitors, keyboards, mice)
- External storage devices
INFRAESTRUCTURA Category
INFRAESTRUCTURA Category
Description: Aires acondicionados, plantas eléctricas, mobiliarioIncludes:
- Air conditioning units
- Electrical generators and power equipment
- Office furniture (desks, chairs, cabinets)
- Building systems
ELECTRICIDAD Category
ELECTRICIDAD Category
Description: Cables, interruptores, enchufes, etc.Includes:
- Electrical cables and wiring
- Switches and circuit breakers
- Power outlets and connectors
- Electrical tools and testing equipment
Additional Category Examples
Based on the source code, GIMA also supports these categories:MOBILIARIO
Furniture and office equipment
- Ergonomic chairs
- Desks and workstations
- File cabinets and storage
VEHÍCULOS
Transportation fleet
- Company vehicles
- Transport trucks
- Cargo vehicles
REDES
Network infrastructure
- Routers and switches
- Network cables (structured cabling)
- Wireless access points
Creating a New Category
Navigate to Categories
Go to
/categorias-activos or access “Categorías” from the configuration dashboard.Enter Category Details
Fill in the category information:
- Name: Enter a descriptive name in uppercase (e.g., “COMPUTO”, “MOBILIARIO”)
- Description: Provide details about what assets belong in this category
Category names are displayed in uppercase throughout the system for visual consistency. The total assets count is automatically updated as assets are added or removed.
Category Table Interface
The categories page displays a modern, rounded table with the following columns:| Column | Description | Format |
|---|---|---|
| ID | Unique identifier | CAT-XXX format |
| Nombre | Category name | Bold, uppercase text |
| Descripción | Category description | Truncated if too long |
| Activos | Asset count | Blue badge with number |
| Acciones | Action buttons | Edit and delete icons |
Table Features
Search Functionality
Search Functionality
Use the search bar to filter categories by:
- Category name
- Category ID
Visual Design
Visual Design
- Rounded Corners: Table has 2rem border radius for modern look
- Hover Effects: Rows highlight with blue tint on hover
- Status Badges: Asset count displayed in blue bordered badge
- Action Buttons: Color-coded (blue for edit, red for delete)
Responsive Layout
Responsive Layout
The table adjusts to different screen sizes:
- Desktop: Full 5-column layout
- Mobile: Stacked or scrollable layout
Managing Categories
Editing a Category
Deleting a Category
Confirm Deletion
A confirmation dialog will appear: “¿Eliminar Categoría? Esta acción no se puede deshacer.”
Category Naming Conventions
Best Practices
Use Clear Names
Choose names that clearly identify the asset type (e.g., COMPUTO for computers)
Keep It Concise
Category names should be short and memorable
Use Uppercase
Follow the system convention of uppercase category names
Be Specific
Avoid overly broad categories that could apply to many asset types
Recommended Categories
Consider creating categories for:- Technology Assets: COMPUTO, REDES, SERVIDORES
- Facilities: MOBILIARIO, INFRAESTRUCTURA, CLIMATIZACIÓN
- Utilities: ELECTRICIDAD, PLOMERÍA, HVAC
- Transportation: VEHÍCULOS, TRANSPORTE
- Equipment: HERRAMIENTAS, MAQUINARIA
- Safety: SEGURIDAD, EMERGENCIA
Category Descriptions
Description Examples
Examples
Category Analytics
The asset count badge shows how many assets are assigned to each category:- High Count (100+): Major category with many assets
- Medium Count (50-99): Significant category
- Low Count (1-49): Specialized or new category
- Zero Count: Unused category (candidate for deletion)
The asset count updates automatically when assets are created, deleted, or reassigned to different categories.
Navigation and Actions
Filter Button
Use the filter icon to apply advanced filters to the category list:- Filter by asset count range
- Sort by name, ID, or total assets
- Show/hide inactive categories
Return to Configuration
Click “Volver a configuración” to return to the main configuration dashboard.Technical Details
Category ID Format
Category IDs follow the pattern:CAT-XXX where XXX is a sequential three-digit number.
Examples:
- CAT-001
- CAT-002
- CAT-123
Data Structure
Categories are defined insrc/data/categories.ts:
Category Type
UI Components
The category interface uses:- TablaDeCategorias: Main table component (
src/components/configuracion/TablaDeCategorias.tsx) - FilaDeCategorias: Row component for each category
- DeleteAlert: Confirmation dialog for deletions
- Lucide Icons: Pencil (edit) and Trash2 (delete) icons
Related Features
Asset Management
Assign categories when creating new assets
Reports
Generate reports filtered by category
Managing Assets
Perform actions on all assets in a category
Next Steps
After setting up your categories:- Create assets and assign them to appropriate categories
- Set up maintenance templates specific to each category
- Configure category-specific workflows
- Generate reports to analyze assets by category