Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/diarpicu2022-commits/frontend-AgroPulse/llms.txt

Use this file to discover all available pages before exploring further.

AgroPulse records every significant action in a structured audit log and provides a built-in support ticketing system. Administrators can monitor activity, investigate issues, and respond to operator requests — all from the same administration area.

System logs

The Logs page displays a chronological audit trail of up to 200 recent entries, fetched via GET /api/logs. Each entry corresponds to a LogDto:
FieldTypeDescription
idnumberUnique log entry identifier
actionstringThe action that was performed (see categories below)
detailsstringHuman-readable description of what changed
timestampstringISO 8601 datetime of when the action occurred
userIdnumberID of the user who triggered the action

Action categories

AgroPulse classifies log entries into four primary action types, each with a distinct badge:
Action keyBadge colorExamples
LOGINBlueUser authenticated successfully
CREATEGreenGreenhouse, sensor, actuator, or user created
UPDATEYellowConfiguration change, role assignment, threshold update
DELETERedGreenhouse, sensor, user, or reading deleted
Any entry whose action field does not contain one of the keys above is rendered with a neutral badge. The full action string (e.g. CREATE_GREENHOUSE, UPDATE_USER_ROLE) is always shown verbatim so nothing is hidden.

Filtering logs

The filter bar at the top of the Logs page lets you narrow the list by:
  • Free-text search — matches against action, details, and the performer’s identifier simultaneously.
  • Action type — a dropdown populated dynamically from the unique action strings in the current dataset.
  • User — a dropdown listing every user who appears in the loaded entries.
Apply any combination of filters together. Click Limpiar (Clear) to reset all filters at once. Click Refrescar (Refresh) to reload the latest 200 entries from the backend.
The log table is scrollable up to 600 px tall. If you need entries older than the 200-entry window, contact your backend administrator to export the full log from the database directly.

Build docs developers (and LLMs) love