Skip to content

Conversation

@nref
Copy link
Member

@nref nref commented Nov 10, 2024

  • All repairs:

    • Now support FIT files with no records.
      • Getting the activity start and end time is an important part of all repairs.
      • Before, we always tried to get them from the records. But if there are no records, the repair fails.
      • Now, we call back to a variety of sources for getting the activity start and end time.
    • Getting a list of records' total distance now does not crash if there are no records.
  • Additive repairs:

    • If there are no records, we no longer assume there is also no lap, session, or activity mesg. This would result in duplicated lap, session, and activity messages on FIT files that already had them.
  • Backfill repairs:

    • No longer assume that there are no sessions if there are more sport messages than session messages.

Also:

  • Improve file scrolling. Files with no timestamp (0001-01-01) no longer get ignored if there are no other activities. Files no longer get repeated.
  • Hide treadmill lap edit tab. It's confusing since there also the Data > Lap tab. Moreover, the UX is not very good. Will add it back behind a check for treadmill runs.
  • Migrates packaging from from Clowd.Squirrel to Velopack. My hand was forced on this as the author of the former removed the dotnet tool csq, so the build was failing.

nref added 12 commits November 10, 2024 15:04
- All repairs:
  - Now support FIT files with no records.
    - Getting the activity start and end time is an important part of all repairs.
    - Before, we always tried to get them from the records. But if there are no records, the repair fails.
    - Now, we call back to a variety of sources for getting the activity start and end time.
  - Getting a list of records' total distance now does not crash if there are no records.

- Additive repairs:
  - If there are no records, we no longer assume there is also no lap, session, or activity mesg. This would result in duplicated lap, session, and activity messages on FIT files that already had them.
- Backfill repairs:
  - No longer assume that there are no sessions if there are more sport messages than session messages.

Also:
- Improve file scrolling. Files with no timestamp (0001-01-01) no longer get ignored if there are no other activities. Files no longer get repeated.
- Hide treadmill lap edit tab. It's confusing since there also the Data > Lap tab. Moreover, the UX is not very good. Will add it back behind a check for treadmill runs.
@nref nref merged commit 97b4c01 into main Nov 17, 2024
0 of 3 checks passed
@nref nref deleted the feature/better-repairs branch November 17, 2024 13:04
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