Skip to main content

Location Presets

Location Presets allow you to save physical places that you visit regularly — your gym, university library, office, swimming pool, or home — so they can be attached to any time slot with a single tap instead of re-entering coordinates every time.

Preset Data Structure

Each location preset stores the following fields: The radius defines the geofence tolerance — how close the user must be to the preset coordinates during verification. A smaller radius (e.g., 30m) demands precise presence, while a larger radius (e.g., 200m) allows more flexibility.

Creating a Preset

From the Presets Tab, tap the ”+” button in the Location section. The creation flow includes:
  1. Search or pin a location on an interactive map
  2. Adjust the geofence radius using a slider
  3. Name the preset (e.g., “Annexe Building”, “Swimming Pool”)
  4. Save — the preset is stored in the Convex cloud and hydrated locally via the PresetStore

Using a Preset

When configuring time slots in the commitment wizard, each slot has a location attachment button. Tapping it opens the LocationPresetPickerModal — a bottom sheet listing all saved location presets. Select one and it is immediately attached to that slot.

Example

Saved presets for a university student: When creating a “Morning Gym” commitment, the user taps the location button on their 6–8 AM slot, selects “Fitty Gym VIT”, and the geofence is instantly configured.