-
-
Notifications
You must be signed in to change notification settings - Fork 135
new trail view options: create copy & change visibility #571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
back to draft, because of missing error handling and success message |
|
option added to create a copy (variant) of an existing trail (as requested in #517) |
|
Generally, two nice additions.
Regarding the copying. I see that a trail is currently directly persisted to the DB, and then the user can edit it. I think it would be more elegant if the user is simply redirected to the edit page directly and the trail is already loaded in the background. Then the user can decide whether to save the trail manually as usual. So the workflow would be. Original trail -> Duplicate -> Fetch complete trail from DB -> redirect user to /edit/new -> prefill the form with the fetched trail -> user saves (or not). I'll look into that tomorrow. Sorry for the wall of text. |
|
Ok, for the trail copying, I implemented what I outlined in my previous comment. The only limitation currently is duplicating the photos (both for the trail and waypoints), since the photo files are attached to the original trail, and we would need to somehow duplicate them on the client side. I also decided to allow duplicating trails by other users. This is essentially a shortcut for exporting the GPX and reimporting it. Let me know what you think :) |
|
Is it possible to copy a trail that was shared by another user or is public? I am planning to create an account for everybody in my family. After uploading my gps track to the wanderer trail I want to copy that to all members that were with me in their account. |
Hi,
I tried to implement the feature request to allow publishing multiple trails with one single action #505.
There are some code changes that could probably have been handled better. Please review.
Many thanks & regards