Skip to main content
RFS

Designing Digital Health Systems ยท Course Project

Rotational Focus
Strategiesby John Bovard

A full-stack research web app designed to test whether randomly rotating focus strategies improves daily productivity and satisfaction for people with ADHD. Preceded by a 3-day pilot using rapid iterative prototyping to refine the study design.

How the study worked

Baseline ยท 3 days

Daily surveys with no assigned strategy. This established each participant's baseline.

Daily Focus ยท 4 days

Use a randomly assigned strategy each day (repeats allowed), then fill out end-of-day surveys. This tested whether strategy rotation improves outcomes.

Exit

A reflection survey along with demographic data collection.

The dashboard shows today's strategy, tracks progress through the study, and reveals previous strategies.
Day 1 of the focus strategy assignment phase. A new strategy is randomly assigned each morning.
At the end of each day, users complete a survey to rate their productivity and satisfaction.

Key features

Rotation algorithm

Randomly assigns a focus strategy each day โ€” designed to test whether rotating strategies drives changes in productivity and satisfaction.

Push notifications + PWA

Service worker, installable on mobile, with scheduled Web Push reminders to complete daily surveys.

Clerk + Supabase RLS

Clerk JWTs injected as Supabase access tokens โ€” row-level security enforces per-user data isolation without custom middleware.

Built with

  • Next.js 16 App Router
  • Tailwind v4
  • Clerk Auth
  • Supabase + RLS
  • Web Push API
  • PWA
  • Vercel