Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@mvilanova
Copy link
Contributor

@mvilanova mvilanova commented Jul 24, 2025

This PR adds an incident icon to the status column in the case table and a case icon to status column in the incident able when a case is escalated to an incident.

Screenshot 2025-07-24 at 12 35 15 PM Screenshot 2025-07-24 at 12 35 35 PM

@mvilanova mvilanova self-assigned this Jul 24, 2025
@mvilanova mvilanova added the enhancement New feature or request label Jul 24, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds visual indicators (icons) to the status columns in case and incident tables to show the relationship between escalated cases and incidents. When a case is escalated to an incident, a fire icon appears in the case status column, and when an incident has associated cases, a briefcase icon appears in the incident status column.

  • Added incident icons to case status components with navigation functionality
  • Added case icons to incident status components with navigation functionality
  • Updated data models to include the necessary relationship data for rendering these icons

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/dispatch/static/dispatch/src/case/CaseStatus.vue Adds incident icon and navigation when cases have associated incidents
src/dispatch/static/dispatch/src/incident/status/IncidentStatus.vue Adds case icon and navigation when incidents have associated cases
src/dispatch/incident/models.py Updates incident models to include cases data and renames CaseRead to CaseReadBasic
src/dispatch/case/models.py Updates case models to include incidents data
Multiple table components Updates component usage to pass the new incidents/cases props

@mvilanova mvilanova merged commit aea194e into main Jul 24, 2025
8 checks passed
@mvilanova mvilanova deleted the feature/incident-case-navigation-icons branch July 24, 2025 21:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants