Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

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

The Incidents page (/gr/incidents) renders IncidentListPage, which displays all incidents for the organization with stats, filters, and a table view. Incident reporting must be enabled in Governance Settings.

Overview

IncidentListPage calls useIncidentList (with search and filter params) and useIncidentStats to display a four-card stats header (Total Incidents, Open, Critical, Overdue Actions) and a filterable table. Filters include category, severity, and status. Each row navigates to /gr/incidents/:id. A Report Incident button is shown to users with gr.incidents.report; clicking it opens ReportIncidentDialog. Alternatively, users can navigate directly to /gr/incidents/report for the full wizard. The page respects the gr_incident_reporting_enabled feature flag from useGRModuleSettings — if disabled, an empty state is shown instead of the list.

Who it’s for

Requires permission: gr.incidents.view (GR_PERMISSIONS.INCIDENTS_VIEW). The report-incident action additionally requires gr.incidents.report.

Before you start

  • Incident reporting must be enabled in Governance Settings (gr_incident_reporting_enabled = true).
  • You need gr.incidents.view to access this page.
  • To file a new incident, you also need gr.incidents.report.

Steps

1

Open Incidents

Navigate to /gr/incidents. The page loads the incident list with stats.
2

Review stats

Check the four stat cards: Total Incidents, Open, Critical, and Overdue Actions.
3

Filter the list

Use the search box to find incidents by title. Use the Category, Severity, and Status dropdowns to narrow results. Available categories come from INCIDENT_CATEGORIES; severities from INCIDENT_SEVERITIES; statuses from INCIDENT_STATUSES.
4

Open an incident

Click any table row to navigate to /gr/incidents/:id for full detail.
5

Report a new incident

If you hold gr.incidents.report, click Report Incident to open the quick-report dialog, or navigate to /gr/incidents/report for the step-by-step wizard.

Key concepts

  • INCIDENT_CATEGORIES / INCIDENT_SEVERITIES / INCIDENT_STATUSES — constant arrays from src/cores/gr/types/incidents.ts that drive the filter dropdowns.
  • useIncidentStats — hook returning total, open, critical, overdue_actions for the stats header.
  • gr_incident_reporting_enabled — module settings flag; disabling it shows an empty state and prevents reporting.
  • SeverityBadge / StatusBadge — visual indicators from src/cores/gr/components/incidents/.

Governance & Compliance

Governance & Compliance core overview.

Governance & parity

This page documents shipped product behavior. It is not medical, legal, or billing advice. Verify against your organization’s policies and applicable regulations before using it for clinical, compliance, or billing decisions. Protected health information (PHI) shown in the product is governed by your tenant’s access controls and is never exposed in this documentation.
  • src/routes/gr.tsx
  • src/cores/gr/pages/IncidentListPage.tsx
  • src/cores/gr/types/incidents.ts
  • src/cores/gr/hooks/useIncidentList.ts