Skip to content
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

Add activity-updating and -deleting capabilities #56

Open
aaron-schroeder opened this issue Jan 4, 2023 · 0 comments
Open

Add activity-updating and -deleting capabilities #56

aaron-schroeder opened this issue Jan 4, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@aaron-schroeder
Copy link
Owner

aaron-schroeder commented Jan 4, 2023

Currently, once you've saved an activity, you cannot delete or modify it.


Old notes, likely irrelevant

Enhance the saved activity dashboard so it provides the option to update or modify the data if the user is logged in.

Activity fields that definitely want to be updated:

  • intensity_factor
  • tss
  • (not a model field yet) ngp
  • (not a model field yet) cp or ftp
    Activity fields that may want to be updated:
  • distance_m
    • strava_json['distance']
    • Total: df['distance'].iloc[-1] - df['distance'].iloc[0]
    • distance_m(df['distance'], df['moving'])
  • elevation_m
    • strava_json['total_elevation_gain']
    • df['elevation'] (naive)
    • df['elevation'] (__ m threshold)
    • df['elevation'] (naive on a profile smoothed with params {...})
  • moving_time_s
    • strava_json['moving_time']
    • moving_time_s(df['time'], df['moving'])
  • elapsed_time_s
    • strava_json['elapsed_time']
    • df['time'].iloc[-1] - df['time'].iloc[0]
    • Should be equivalent or within 1 second.
  • created
  • (not a model field yet) moving_speed_ms
    • strava_json['average_speed']
    • Combination of distance_m and moving_time_s
  • (not a model field yet) average_grade_decimal
    • Combination of elevation_m and distance_m
      Activity fields that come straight from strava api:
  • title
  • description
  • recorded
  • tz_local
  • strava_id

References

  • Sketch on 9/14/22 notebook pg 133 & 137
@aaron-schroeder aaron-schroeder added the enhancement New feature or request label Jan 4, 2023
@aaron-schroeder aaron-schroeder added this to the 0.1 milestone Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant