Skip to main content
GIMA’s category system allows you to classify and organize assets into logical groups. This categorization helps with reporting, filtering, and managing assets based on their type, function, or characteristics.

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:
[
  {
    "id": "CAT-001",
    "name": "COMPUTO",
    "description": "Ordenadores, servidores y periféricos",
    "total": 120
  },
  {
    "id": "CAT-002",
    "name": "INFRAESTRUCTURA",
    "description": "Aires acondicionados, plantas eléctricas, mobiliario",
    "total": 58
  },
  {
    "id": "CAT-003",
    "name": "ELECTRICIDAD",
    "description": "Cables, interruptores, enchufes, etc.",
    "total": 85
  }
]
Description: Ordenadores, servidores y periféricosIncludes:
  • Laptops and desktop computers
  • Servers and server equipment
  • Peripherals (monitors, keyboards, mice)
  • External storage devices
Example assets: Dell Latitude laptop, HP ProLiant server, Logitech mouse
Description: Aires acondicionados, plantas eléctricas, mobiliarioIncludes:
  • Air conditioning units
  • Electrical generators and power equipment
  • Office furniture (desks, chairs, cabinets)
  • Building systems
Example assets: Industrial AC unit, backup generator, ergonomic office chair
Description: Cables, interruptores, enchufes, etc.Includes:
  • Electrical cables and wiring
  • Switches and circuit breakers
  • Power outlets and connectors
  • Electrical tools and testing equipment
Example assets: Cat6 ethernet cable, 20A circuit breaker, power strip

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

1

Navigate to Categories

Go to /categorias-activos or access “Categorías” from the configuration dashboard.
2

Click Nueva Categoría

Click the blue “NUEVA CATEGORÍA” button in the top right corner.
3

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
4

Save Category

Click save to create the new category. It will be assigned a unique category ID (CAT-XXX).
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:
ColumnDescriptionFormat
IDUnique identifierCAT-XXX format
NombreCategory nameBold, uppercase text
DescripciónCategory descriptionTruncated if too long
ActivosAsset countBlue badge with number
AccionesAction buttonsEdit and delete icons

Table Features

Use the search bar to filter categories by:
  • Category name
  • Category ID
The search updates in real-time as you type.
  • 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)
The table adjusts to different screen sizes:
  • Desktop: Full 5-column layout
  • Mobile: Stacked or scrollable layout

Managing Categories

Editing a Category

1

Locate Category

Find the category in the table using the search bar if needed.
2

Click Edit Button

Click the pencil icon in the “Acciones” column.
3

Update Details

Modify the category name, description, or other properties.
4

Save Changes

Confirm your changes to update the category.

Deleting a Category

Before deleting a category, ensure that:
  • No assets are currently assigned to this category (check the “Activos” count)
  • The category is not referenced in reports or workflows
  • You have reassigned any existing assets to other categories
Deleting a category with assigned assets may cause data integrity issues.
1

Verify Asset Count

Check that the “Activos” column shows 0 assets for this category.
2

Click Delete

Click the red trash icon in the “Acciones” column.
3

Confirm Deletion

A confirmation dialog will appear: “¿Eliminar Categoría? Esta acción no se puede deshacer.”
4

Confirm Action

Click confirm to permanently delete the category.

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
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

Write detailed descriptions that include:
  • Types of assets that belong in this category
  • Specific examples (e.g., “Laptops, Desktops, Servidores y Periféricos”)
  • Any special characteristics or requirements
Good descriptions help users categorize assets correctly.

Description Examples

Examples
COMPUTO: "Ordenadores, servidores y periféricos"
MOBILIARIO: "Sillas ergonómicas, Escritorios y Archivos"
VEHÍCULOS: "Flota de transporte y vehículos de carga"
REDES: "Routers, Switches y Cableado estructurado"

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.

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 in src/data/categories.ts:
Category Type
interface Category {
  id: string;        // Format: CAT-XXX
  name: string;      // Uppercase name
  description: string; // Detailed description
  total: number;     // Asset count
}

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

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:
  1. Create assets and assign them to appropriate categories
  2. Set up maintenance templates specific to each category
  3. Configure category-specific workflows
  4. Generate reports to analyze assets by category

Build docs developers (and LLMs) love