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

feat: Elevation Gain #719

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open

Conversation

ben-29
Copy link
Collaborator

@ben-29 ben-29 commented Sep 29, 2024

This pull request adds an Elevation Gain field to the Activity model, per #509, Ideal for trail runners and hikers.

  1. Database Update: Add the Elevation Gain field to the database and include a database update script.
  2. Data Integration: Fetch Elevation Gain data from all sources, including Keep, Codoon, Joyrun, Nike, and others.
  3. GPX/TCX/FIT Import: Extract Elevation Gain data from GPX, TCX, and FIT files.
  4. UI Update: Add the Elevation Gain field to the run table. switch: SHOW_ELEVATION_GAIN(default: false)

notice: For users who forked the project before this update, please run python run_page/db_updater.py to update the database.

ps: Elevation Gain may be inaccurate. You can use Strava's "Correct Elevation" or Garmin's "Elev Corrections" feature for more precise data.

(workouts_page) preview with SHOW_ELEVATION_GAIN = true

* refs/heads/upstream: (71 commits)
  Add laqieer's running page to README (yihong0618#672)
  chore: add raycast extension support (yihong0618#670)
  add </details> (yihong0618#669)
  fix the deprecation warning (yihong0618#668)
  Fix codoon and Upload tcx_to_garmin (yihong0618#662)
  Update README-CN.md (yihong0618#663)
  add keep2strava (yihong0618#653)
  Add data to 'running page runners' table (yihong0618#656)
  style: use Tailwind CSS (yihong0618#655)
  feat: fill country (yihong0618#654)
  docs: add runner (yihong0618#651)
  doc: add new runner
  docs: update README (yihong0618#650)
  docs: add a comment in `src/utils/consts.ts` to remind about security considerations regarding the `MAPBOX_TOKEN` (yihong0618#644)
  fix: no package manager
  fix: tachyons-sass import error (yihong0618#639)
  Update README.md (yihong0618#638)
  Add proxy config, add keep config, change npm registry, use yarn (yihong0618#634)
  chore: fix typo (yihong0618#633)
  chore: Update package manager and ignore requirements-dev.txt (yihong0618#632)
  ...

# Conflicts:
#	run_page/gpxtrackposter/track.py
#	run_page/keep_sync.py
* refs/heads/upstream:
  feat: fix nrc Changed their apis (yihong0618#718)
  feat: conditionally output analysis JS only in Vercel environment (yihong0618#715)
  ignore the year which has no running data when drawing github.svg (yihong0618#712)
  Fix AttributeError in Activity class (yihong0618#714)
  doc: fix typo close yihong0618#704
  Some Front Optimization for Keep indoor data (yihong0618#709)
  Add new runner (yihong0618#707)
  feat: adding illustration for special tracks  (yihong0618#705)

# Conflicts:
#	run_page/generator/__init__.py
#	run_page/joyrun_sync.py
Copy link

vercel bot commented Sep 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
running-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 29, 2024 1:40pm

@yihong0618
Copy link
Owner

Will take a look later since it seems a break change.

Let make it to version 2.5

@yihong0618 yihong0618 mentioned this pull request Oct 3, 2024
@ben-29
Copy link
Collaborator Author

ben-29 commented Oct 8, 2024

Sounds Great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants