[{"data":1,"prerenderedAt":188},["ShallowReactive",2],{"\u002Fwork\u002Femergency-scheduling-dashboard":3,"\u002Fwork\u002Femergency-scheduling-dashboard-surround":182},{"id":4,"title":5,"approach":6,"body":7,"category":150,"description":151,"extension":152,"gallery":153,"image":166,"meta":167,"navigation":168,"order":169,"overview":170,"path":171,"problem":172,"result":173,"seo":174,"stem":175,"tags":176,"__hash__":181},"projects\u002Fwork\u002Femergency-scheduling-dashboard.md","Emergency Scheduling Dashboard","Built the dashboard in Vue 3 and TypeScript with PrimeVue and Pinia, fed as JSON by scripts that run on FileMaker Server. Each job is colored by urgency and by the smallest map region it falls in, and the same filters narrow the jobs and the technicians together. Every drop runs a FileMaker script that adds or removes the technician through the same script as the job screen, so dashboard assignments are recorded like any other.",{"type":8,"value":9,"toc":142},"minimark",[10,15,19,23,64,68,100,104],[11,12,14],"h2",{"id":13},"my-role","My role",[16,17,18],"p",{},"I built the dashboard on my own, from the Vue app to the FileMaker scripts behind it, starting from DB Services’ Vue starter template for FileMaker web viewers.",[11,20,22],{"id":21},"the-board","The board",[24,25,26,34,40,46,52,58],"ul",{},[27,28,29,33],"li",{},[30,31,32],"strong",{},"Unassigned jobs:"," the chosen day’s jobs without a technician, sorted emergency, urgent, routine, then preventive maintenance, with a running count.",[27,35,36,39],{},[30,37,38],{},"Technician cards:"," each card shows the technician’s jobs for the day, the scopes of work they can do and the regions they cover, which is every region except those they’re barred from. Technicians with the fewest jobs come first.",[27,41,42,45],{},[30,43,44],{},"Color at a glance:"," a job’s side bar shows its urgency and its background shows its region, and a job without a technician is drawn in lighter stripes of its region’s color. The region filter shows each region’s color as a key.",[27,47,48,51],{},[30,49,50],{},"Job details:"," clicking a job shows its customer, location and address, scheduled time, scope of work, notes, region and urgency, and its job number opens the full record in FileMaker.",[27,53,54,57],{},[30,55,56],{},"Filters that work both ways:"," choosing a scope of work or a region narrows the jobs to that work and area, and the technicians to those who can do it and cover it. A name search narrows the technicians further.",[27,59,60,63],{},[30,61,62],{},"Room to work:"," a splitter between the job list and the technicians can be dragged to give either side more space.",[11,65,67],{"id":66},"dragging-jobs","Dragging jobs",[24,69,70,76,82,88,94],{},[27,71,72,75],{},[30,73,74],{},"Assign:"," dropping a job on a technician’s card assigns them to it in FileMaker.",[27,77,78,81],{},[30,79,80],{},"Reassign:"," dragging a job from one technician to another removes the first and assigns the second.",[27,83,84,87],{},[30,85,86],{},"Unassign:"," dragging a job back to the list removes the technician and returns the job to the unassigned jobs.",[27,89,90,93],{},[30,91,92],{},"A crew in one step:"," for a job that needs several technicians, the dispatcher starts a multi-assign on it, then clicks or drops it onto each technician. Nothing reaches FileMaker until they confirm, and canceling puts every card back.",[27,95,96,99],{},[30,97,98],{},"Clear targets:"," drop zones light up while a job is being dragged, and the unassigned list only accepts jobs that come from a technician. The technician list holds its order during a drag, so a card never moves out from under the drop.",[11,101,103],{"id":102},"working-with-filemaker","Working with FileMaker",[24,105,106,112,124,130,136],{},[27,107,108,111],{},[30,109,110],{},"Built on the server:"," FileMaker Server gathers the day’s unassigned jobs and every technician’s assignments and hands each list to the app as JSON.",[27,113,114,117,118,123],{},[30,115,116],{},"One assignment path:"," assigning runs the job screen’s own add-technician script, so every drop lands in the assignment log as a manual assignment, alongside ",[119,120,122],"a",{"href":121},"\u002Fwork\u002Fautomatic-technician-scheduling","automatic technician scheduling",". Unassigning removes that technician’s most recent assignment on the job.",[27,125,126,129],{},[30,127,128],{},"Shared regions:"," a job’s region is the smallest map region it falls in, the same regions automatic scheduling uses.",[27,131,132,135],{},[30,133,134],{},"Errors as notices:"," if a FileMaker script can’t run or its data can’t be read, the app shows a notice instead of failing, and FileMaker can send its own messages to show the same way.",[27,137,138,141],{},[30,139,140],{},"Built to be tested:"," outside FileMaker the app runs on sample data, so it can be developed in a normal browser, and 57 Vitest unit tests cover its composables and stores.",{"title":143,"searchDepth":144,"depth":144,"links":145},"",2,[146,147,148,149],{"id":13,"depth":144,"text":14},{"id":21,"depth":144,"text":22},{"id":66,"depth":144,"text":67},{"id":102,"depth":144,"text":103},"Vue + FileMaker","A drag-and-drop board inside FileMaker that lines up a day’s unassigned jobs, emergencies first, beside every technician’s day, so dispatchers can assign, move or unassign a job by dragging it.","md",[154,157,160,163],{"src":155,"alt":156},"\u002Fimages\u002Fprojects\u002Femergency-scheduling-dashboard.png","Emergency scheduling dashboard with a day’s unassigned jobs on the left, striped by urgency and region, beside technician cards listing each one’s assigned jobs, scopes of work and regions",{"src":158,"alt":159},"\u002Fimages\u002Fprojects\u002Femergency-scheduling-dashboard-details.png","Details opened from an emergency job in the unassigned list, showing its job number, customer, scheduled time, address, scope of work, notes, region and urgency",{"src":161,"alt":162},"\u002Fimages\u002Fprojects\u002Femergency-scheduling-dashboard-filters.png","Region filter open with Queens and Brooklyn selected and each region’s color shown beside its name, narrowing the list to those jobs and the board to the technicians who cover them",{"src":164,"alt":165},"\u002Fimages\u002Fprojects\u002Femergency-scheduling-dashboard-multi-assign.png","A Bronx emergency job being assigned to two technicians in one step, with both technicians checked, the job waiting on each of their cards and a Confirm button under it in the list",{"src":155,"alt":156},{},true,13,"A security services company dispatches its field technicians from FileMaker, and the jobs that still need a technician on a given day, from emergencies down to routine calls, are assigned by hand. I built a Vue dashboard in a FileMaker web viewer that lists those jobs, most urgent first, beside a card for every technician with the jobs they already have, the work they can do and the regions they cover. Dragging a job onto a technician assigns it in FileMaker.","\u002Fwork\u002Femergency-scheduling-dashboard","Assigning those jobs by hand meant opening each one, working out which technicians were free, could do the work and covered that part of the map, and adding them on the job screen one job at a time.","Dispatchers pick a day, filter by scope of work, region or technician, and assign, reassign or unassign jobs by dragging them between the list and the technicians’ cards. A job that needs a crew can go to several technicians in one step, and 57 unit tests cover the app’s data handling and stores.",{"title":5,"description":151},"work\u002Femergency-scheduling-dashboard",[177,178,179,180],"Vue","FileMaker","Drag and Drop","TypeScript","gdvidFj2fip3_dbUPfPG-FuWw0AQPY8m62zVPHx1LHE",[183,187],{"title":184,"path":185,"stem":186,"children":-1},"Third-Party Integrations","\u002Fwork\u002Fthird-party-integrations","work\u002Fthird-party-integrations",null,1796498996245]