⚡ SONAN TECH

Location Launchpad Docs

Admin Guide← Docs Home

Admin Guide

This guide covers administrative functions: managing task templates, settings, and maintaining the application.

Managing Task Templates

Task templates define what tasks are auto-generated when a new location is created. Go to Task Templates in the sidebar.

  • View all current templates organized by category
  • Click + Add Template Task to add a new task to the master template
  • New template tasks apply to new locations only — they do not retroactively add tasks to existing locations
Changes to templates do not affect tasks already created for existing locations. To add a task to an existing location, go to Location Detail → Tasks → + Add Task.

Archiving Completed Locations

  1. Go to Locations and click Edit on the location
  2. Change the Status field to Archived
  3. Click Save Location

Archived locations are hidden from the dashboard but remain in the database for historical reference. They can be viewed from the Locations page.

Updating Settings

Go to Settings in the sidebar. Authentication settings, Zero Trust configuration, and environment variables are managed through the Cloudflare Dashboard — not within the app itself.

Resetting or Re-Seeding Data

If you need to reset the seed data (e.g., for a new deployment or testing):

wrangler d1 execute sonan-location-launchpad --remote --file=db/seed/seed.sql
Re-running the seed SQL will add duplicate template records if the database already has data. Clear the task_templates table first if needed:
wrangler d1 execute sonan-location-launchpad --remote --command="DELETE FROM task_templates"
wrangler d1 execute sonan-location-launchpad --remote --file=db/seed/seed.sql

Managing Admin Password (Fallback Auth)

If you are using the fallback password method (not Zero Trust):

  1. Go to Cloudflare Dashboard → Workers & Pages → sonan-location-launchpad → Settings → Environment Variables
  2. Find ADMIN_PASSWORD and click Edit
  3. Enter the new password and save
  4. Redeploy the project for changes to take effect