Therapist Scheduling Calendar
A drag-and-drop calendar of therapy sessions that runs inside FileMaker, rebuilt in Vue so bad data shows a notice instead of breaking the view, and recurring sessions can be moved one at a time or as a series.
A school-based therapy provider schedules every therapist’s sessions in FileMaker and works from a calendar that runs inside a FileMaker web viewer. I rebuilt that calendar in Vue 3 and FullCalendar as a drop-in replacement. It runs the same FileMaker scripts with the same parameters, so the existing FileMaker side kept working, and it adds session details, recurring reschedules and much stricter handling of the data FileMaker sends.
01
Problem
The original calendar took the data FileMaker sent largely on trust. It unwrapped the session list by stripping quotes, which corrupted any title containing its own quotes or backslashes, and a bad date, unknown status or malformed color had no safe place to land. Moving a recurring session gave no choice between that one session and the whole series, and seeing who and where a session was for meant leaving the calendar for the full FileMaker record.
02
Approach
Rebuilt the calendar as a typed Vue 3 app on Vite, with FullCalendar 6 for the views and drag and drop, Nuxt UI for the toolbar and modals, and Pinia for state. Everything FileMaker sends passes through a validation layer that decodes it safely, parses FileMaker timestamps by hand, and skips or neutralizes bad rows instead of failing. Every change sent back checks that FileMaker actually received it, and a drag that never arrived is undone.
03
Result
The new calendar slots into the existing FileMaker solution, with its new features added as extra fields alongside the old script parameters. Schedulers get seven views with daily hour totals, a details card for any session, and the choice to move one session or the whole series, while bad data now shows a notice instead of breaking the calendar.
My role
I rebuilt the calendar on my own, from the Vue app and FullCalendar setup to the validation layer and the contract with the FileMaker scripts, starting from DB Services’ Vue starter template for FileMaker web viewers.
What the calendar does
- Seven views: month, week and day, with week and day each available as a grid, a time grid or a list, plus previous, next, today and a date picker. Today jumps straight to the day view.
- Status at a glance: each session is colored by its status, from Planned and In Progress to Completed Signed and the many kinds of cancellation, using the same colors as the FileMaker system, with the therapist’s two colors as bars on either side.
- Daily hours: each day shows its total scheduled hours, cancelled sessions excluded, as a bar along the bottom of the day in the grid and time views and as a Total Hours row in the list views.
- Session details: clicking a session opens a card with its date, time, therapist, student, school, status and whether it recurs, with a button that opens the full record in FileMaker.
- New sessions: clicking or dragging across empty space opens FileMaker’s new session screen for that day, and for that time slot in the time views.
- Drag to reschedule: dragging or resizing a session saves its new times to FileMaker. A recurring session first asks whether to reschedule all recurring events or just this one, and Cancel puts it back where it was.
- Weekends: shown or hidden by a setting in FileMaker.
Handling what FileMaker sends
- Safe decoding: FileMaker sends the session list as JSON wrapped in a quoted string, so the app decodes it twice instead of stripping quotes, which keeps titles with their own quotes or backslashes intact. The old strip-and-replace approach is kept only as a last resort.
- Dates parsed by hand: timestamps like 8/2/2026 8:30 AM are parsed as local time against a strict pattern rather than with the browser’s own date parsing, which treats these strings differently in the Mac and Windows web viewers. Impossible dates such as February 30 are rejected rather than rolled into March.
- One bad row stays one bad row: a session with a missing or invalid start or end is skipped, with a notice saying how many weren’t shown. An unknown status gets neutral colors, and status matching ignores case, spaces and punctuation, so small differences in how FileMaker writes a status still find the right color.
- Colors checked before use: therapist colors from FileMaker end up in inline styles, so anything the browser doesn’t accept as a CSS color is drawn transparent instead of being injected into the page.
- Local days, not UTC: daily totals are keyed by the local calendar day, so an evening session never lands in the next day’s total.
Talking back to FileMaker
- Confirmed delivery: script calls wait for the FileMaker bridge, which a web viewer injects after the page loads, and report whether the call reached FileMaker. A drag that never arrived snaps back, so the calendar never shows a move that wasn’t saved.
- No all-day drops: a session dropped on a time view’s all-day row goes back where it was, since a therapy session can’t become an all-day event.
- Callable from FileMaker: FileMaker scripts load sessions, clear them and switch views by calling functions on the page by name, and the startup request brings back each user’s default view.
- Browser preview: outside FileMaker, the app loads made-up sessions for whatever range is showing and logs the script calls it would have made, so the calendar can be developed and tested in a normal browser. The sample data is left out of production builds.
- Built for a web viewer: every icon is bundled into the build, since a web viewer can’t count on fetching icons at runtime, and Nuxt UI runs standalone in plain Vue with the color variables and build settings Nuxt would normally provide.