porcej / afd-dashboard-server

A Chalk.js based dashboard built for the Alexandria, VA Fire Department.
MIT License
1 stars 0 forks source link

FEATURE REQUEST: Indicate specialties on dashboard #6

Open timbellomo opened 6 years ago

timbellomo commented 6 years ago

Parse out certain specialties (such as, ALS provider) and indicate this with some kind of coloring or icon.

Individual will have "A" or ".A" in their list of specialties (commonly presented in a "/" separated list, e.g. "A/DOE/TT")

This may not always be helpful, but indicating that there are 2 ALS providers on the medic unit (and thus, it should run as a "P" unit, ex. "M203P"), or that an engine should run as "E204M," for example.

porcej commented 6 years ago

I need more information on this. The specialties are parsed and sent to the clients, see json below. The issue would be how to display the data.

badge : "5584" dot : false duration : "12" endTime : "07/25/2018 07:00 AM" exceptioncode : " +MSHdtAOF" extra : false isRequest : false name : "Porcelli, Joseph A. (.H/DOE/DOT/FBC/TT/WRI)" notes : "" specialties : "Water Rescue Inland,Driver Operator Engine,Driver Operator Truck,HAZ MAT,Truck Tiller,Fire Boat Crewmember" startTime : "07/24/2018 07:00 PM" title : "Officer" workcode : "Minimum Staffing Hire MSH" workcode_style : "color: rgba(0, 0, 0, 0) !important; text-shadow: 0 0 0 #000000 !important;background-color: #00ff00;"

timbellomo commented 6 years ago

Well, ultimately I could see it being expanded to other things, but as a first cut, displaying a star of life next to ALS people (perhaps right aligned) could be a nice indicator to have. If there's not a web-font for the star of life, a red cross or something would probably suffice. I don't have a strong opinion; just a thought.

The key point is, not all of the specialties would be of interest, but some might be, as they'd give a quick glance of paramedic capability.