Add activity import source badge, delete action, and No GPS indicator

- Activity detail: show "Imported from wahoo" badge when activity was
  imported from an external provider
- Activity detail: add delete button with confirmation, cleans up
  sync_imports so the workout can be reimported
- Import page: show "No GPS" badge with tooltip on workouts that have
  no file URL from the provider

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-04-05 16:49:42 +02:00
parent ab870dbfa5
commit fdd193cbf0
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
6 changed files with 84 additions and 8 deletions

View file

@ -134,6 +134,9 @@ export default {
duration: "Dauer",
linkToRoute: "Mit Route verknüpfen",
createRouteFromActivity: "Route aus Aktivität erstellen",
delete: "Aktivität löschen",
deleteConfirm: "Möchtest du diese Aktivität wirklich löschen?",
importedFrom: "Importiert von {{provider}}",
},
settings: {
title: "Einstellungen",
@ -181,6 +184,8 @@ export default {
importFrom: "Import von {{provider}}",
imported: "Importiert",
noWorkouts: "Keine Workouts gefunden.",
noGps: "Kein GPS",
noGpsTooltip: "{{provider}} stellt für diese Aktivität keine Routendaten bereit",
previous: "Zurück",
next: "Weiter",
},

View file

@ -134,6 +134,9 @@ export default {
duration: "Duration",
linkToRoute: "Link to Route",
createRouteFromActivity: "Create Route from Activity",
delete: "Delete Activity",
deleteConfirm: "Are you sure you want to delete this activity?",
importedFrom: "Imported from {{provider}}",
},
settings: {
title: "Settings",
@ -181,6 +184,8 @@ export default {
importFrom: "Import from {{provider}}",
imported: "Imported",
noWorkouts: "No workouts found.",
noGps: "No GPS",
noGpsTooltip: "{{provider}} does not provide route data for this activity",
previous: "Previous",
next: "Next",
},