This repository was archived by the owner on Nov 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
This repository was archived by the owner on Nov 20, 2022. It is now read-only.
Wrong name after a track is published #39
Copy link
Copy link
Open
Labels
StravaAll issues related to Strava integrationAll issues related to Strava integrationbugSomething isn't workingSomething isn't workingcomplexToo complex. Violates the "simple" idea of the project. Keep known issues.Too complex. Violates the "simple" idea of the project. Keep known issues.
Description
When publish a route to Strava, the name generated is not correct to the chosen activity type.
Example steps:
- Publish route
- empty name
- and different type activity (ski, canoe, blabla)
- The activity name is "Morning run", but you go ski.
Why that happens:
Step one: When uploading a route (gpx) without name, Strava generates the name depending on the time taken and the default sport configured in the profile.
If your default sport is "Ride" and you do it in the morning (before 12:00 am) the name will be "Morning ride".
The second step that SimpleTracker does is to update the activity with providing "isMuted", "type" and clear the associated gear (user can fix it later). But name is still as the same from the first step.
The solutions
- Put complex logic to determine "Morning, Lunch, Afternoon, Evening..." depending on the time taken, and add the chosen sport type. When send the update use the provided name.
- Add a static name: for example "Activity", "Sport"
Workarounds
- Provide a name when publishing to Strava
- Mute the activity when publishing to Strava, and then edit in Strava the name
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
StravaAll issues related to Strava integrationAll issues related to Strava integrationbugSomething isn't workingSomething isn't workingcomplexToo complex. Violates the "simple" idea of the project. Keep known issues.Too complex. Violates the "simple" idea of the project. Keep known issues.