wiki:ScriptBuilderTasks

Version 19 (modified by jdalbey, 6 years ago) (diff)

strikethrough pretty print

ScriptBuilder Tasks (unordered)

Create a new script for a Construction Work Zone incident.

Get UI feedback from Neil.

(1) The generated DTD in scriptbuilder.structures.XMLWriter doesn't match the script.dtd file in Scenarios folder. (John?) Ref:  DTD Tutorial Ref:  online validate xml with embedded DTD

(3) Instead of writing a COLOR tag with every script event, since the color is the same for every event in an Incident, just output the color information as part of the Incident info, perhaps a new attribute of GENERAL_INFO tag.

(3) When outputting XML, prettify the formatting.  See example. I also like the results from this  online formatting tool with these options: Indentation level = 4, Text Mode = Normalize.

(4) The xml output doesn't match with full script because original xml has a few places where incident info is not in numerical order. This should be corrected via manual editing. (John)

(2) Add a "needs saving" indicator to the title bar. Also, prompt the user to confirm if they try to exit and there are unsaved changes.

(2) Incident type, location, and color should be saved to XML. Need additional fields in Properties dialog.

(1) Fix defect - CAD log data not appearing in Sim Mgr.

(1) Confirm that ScriptHandler understands all tags from Scriptbuilder. Confirmed: INCIDENT, CAD DETAIL, UNIT

(2) Need a msg dialog to give feedback when an event's time is changed, because otherwise it just disappears. Fixed by adding Save & Close button.

(1) Replace "Paramics" button label with "Traffic Modeler".

(1) remove "Audio" button, generate audio tag automatically from CHP Radio button.

(2) Misc minor fixes noted by John, such as remove Color Chooser.

File Structure

(1) Design resources file structure. Organized by incident then by media type. Decide file naming scheme for media files (need sequence numbering?)

(1) When a media event is created fill in the file field with a placeholder that points to an actual file that contains "placeholder" content.

Move one or more events

(2) Provide an easy way to move an event to a new time. Drag and drop would be ideal, but a right-click to bring up an input field would be adequate.

(2) It might be helpful to be able to select multiple events in the same timeslice to adjust start time simultaneously.

(3) Be able to insert X minutes into timeline at a specific point. And delete.

Help

Complete Quick Start help content. Add tooltips to buttons or have a legend explaining event types under Help menu.

Utilities

link validator: Are any resources missing?

Generate printed dialog to be used when making the audio recordings. Maybe saving in a text file is adequate for now? Yes.