Overview
At Atlassian, our Jira Service Management product helps teams respond to incidents quickly and efficiently. For large organizations, incidents can occur across various geographical locations, affecting different services. Visualizing these incidents on a map provides operations teams with a crucial birds-eye view, enabling faster triage and resource allocation. This problem challenges you to build a simplified incident map viewer.
What you need to do / Task
Your goal is to build a React application that displays a list of simulated incidents on an interactive map.
- Map Initialization: Render an interactive map centered on a reasonable default location (e.g., a central point covering the mock data).
- Incident Markers: Display each incident from the provided mock data as a distinct marker on the map.
- Marker Details: When a user clicks on an incident marker, a small pop-up or tooltip should appear, displaying key details of that incident (e.g.,
id, description, severity).
- Severity Filtering: Implement a mechanism (e.g., checkboxes, buttons) that allows users to filter incidents by their
severity (Critical, Major, Minor). When a severity is deselected, incidents of that type should disappear from the map.
UI/UX expectations
- The map should be the primary focus, occupying a significant portion of the screen.
- Markers should be visually distinct, potentially indicating severity (e.g., different colors or icons, though simple default markers are acceptable if time is tight).
- Filtering controls should be easily accessible, perhaps in a sidebar or a control panel above the map.
- The incident detail pop-up should be concise and clearly present the information.
- Basic responsiveness is a plus, ensuring the layout adapts reasonably to different screen sizes.
Acceptance criteria
- An interactive map is rendered and displayed.
- All incidents from the mock data are initially displayed as markers on the map.
- Clicking any incident marker opens a pop-up showing its
id, description, and severity.
- Users can toggle the visibility of 'Critical', 'Major', and 'Minor' incidents independently.
- When a severity filter is applied, only incidents matching the selected severities remain visible on the map.
- Deselecting all severities should result in no markers being visible.