-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
fix (#62): tool's trim/conceal negative distance #70
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but there's another issue (i put here before create an issue is it relate with this or not)
- Open
Morning_Ride.fit
> Try to edit > Trim - Open
Morning_Run.fit
> Try to edit > Trim > error
https://github.com/openivity/openivity.github.io/assets/3763178/27551356-b828-4022-9a93-ec7abe219f93
I think you already have the file so you can try it out
how can this be reproduce? Is this issue persist after refreshing the browser-tab? i tried in my local but it seems fine. issue-62.mov
Ah right, I will push the update after this |
I think I know the cause, before we point to the problem, let me explain the full context: However, how
@@ -144,6 +144,7 @@ func (s *service) convertListenerResultToActivity(result *ListenerResult) *activ
ses := activity.NewSessionFromLaps(laps, sport)
ses.Laps = laps
+ ses.Records = result.Records
act.Sessions = append(act.Sessions, ses)
} I will fix the error by adding the code above, however we still have problem how to handle the anomaly from fit files retrieved from Strava. |
It's continues without refresh after open.
|
Since it's anomaly and rare case, i think we can low prio on this case, |
The anomaly is for all FIT files from Strava, so I think we need to do something about it but just a quick hack is enough. |
This PR is ready to be reviewed again. Note: please rebuild the WASM before testing. |
all ? 🤔 okay, let's do quick hack for now. |
In few files that I retrieve from Strava: yes, the files that written by Strava when we do Record activity directly from the app (not what we upload from xoss or bryton for example). We can retrieve it by go to Strava web -> open activity -> Export Original. I notice other irregular fit procotol messages being written as well, but since this not affecting our app directly we can ignore. |
This issue is solved on latest,
While this still occur |
fix #62