Commit graph

6 commits

Author SHA1 Message Date
8d4448b28c Add admin backup export/import
Admins can export all cities, users, links, participants, and photos
as a zip for backups, and restore from one later. Import replaces all
existing data and clears sessions, so the admin has to log back in
afterward.
2026-07-21 20:38:37 +02:00
9b35f6222f Add a city list view
New nav item between Map and Users shows every tracked city as a
table (photo, name, country, status, visit dates, co-travellers),
ordered with planned trips first and newest visits on top within
each group.
2026-07-21 20:23:14 +02:00
3555972bfd Open add-city form only via the Add city button, not map clicks
Map clicks were navigating straight to the new-city form, which made it
easy to open by accident while panning/zooming.
2026-07-21 20:09:18 +02:00
ce16de8504 Autosave city form, heart-style likes, social link handles, map polish
- Admin: allow editing a user's display name
- Map: zoom to ~500km around the most recently added city on load;
  marker popups show the photo and links, and fix the unreadable
  black-on-black "View details" button
- City form: autosave on every change (debounced for text, immediate
  for status/heart/participants) instead of an explicit Save button;
  a new city is created as soon as name, country, and location are set
- Replace the "Liked" checkbox with a heart toggle (outline vs. filled)
- Links: add a platform selector (Instagram/X/Facebook/TikTok/YouTube/
  LinkedIn) so a handle auto-generates the profile URL, alongside plain
  website links; links autosave too, no separate Save button

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 21:24:47 +02:00
3debb1ce1e Add CityTracker v1: map-based city tracker with multi-user support
React/Vite frontend and Express/SQLite backend for tracking visited and
planned cities on a map, with per-city notes, photos, links, and
participant-based sharing between family members. Includes session auth
with admin-managed user accounts, an OSM/Nominatim geocoding proxy, and a
single-image Docker deployment.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-20 20:29:25 +02:00
65c41d594b Initial commit 2026-07-20 15:06:56 +00:00