Ticket #127 (closed task: done)

Opened 7 years ago

Last modified 7 years ago

Create Incident Summary dynamically from xml script instead of hard coding.

Reported by: jdalbey Owned by: jdalbey
Priority: High Milestone: May 2019 Training
Component: Electronic Instructor Notebook Version:
Severity: Minor Keywords:
Cc:

Description

Currently Incidents are hard coded in the PopulateIncidents.js module.
In the same manner as LoadEvents has replaced PopulateEvents, a new module LoadIncidents is needed that creates the incidents dynamically by reading the XML script.

LoadEvents should be modified to ignore the event that starts a new incident, such as 188 at 08:00.

Currently the colors used for the background for incidents is also hard coded, and this should be made dynamic as well.

It would be nice if the background color would also be used in the Incident Summary.

Change History

comment:1 Changed 7 years ago by nhockada

  • Priority changed from Low to High

comment:2 Changed 7 years ago by jdalbey

  • Status changed from new to closed
  • Resolution set to done

Added code in LoadEvents.js to parse the GENERAL_INFO tag to get the incident description, then build the incident. Removed PopulateIncidents.js.

Colors are still hardcoded.

Committed in r364.

Note: See TracTickets for help on using tickets.