Private
Public Access
1
0

export improvements

This commit is contained in:
2026-03-16 14:11:25 +01:00
parent db826f27e9
commit 41b0262681
8 changed files with 189 additions and 68 deletions

View File

@@ -828,6 +828,15 @@ class DateRangeWorkoutTypeForm(DateRangeForm):
typeselectchoices.append((wtype, verbose))
workouttype = forms.ChoiceField(initial='All', choices=typeselectchoices)
# add a radio button to select how in-stroke data be treated
instrokedatachoices = (
('off', 'Do not export in-stroke data'),
('summary', 'Export summary per stroke'),
('downsampled', 'Export downsampled time series (16 points per stroke)'),
('companion', 'Export as companion .instroke.json file with full curve data per stroke'))
instrokedata = forms.ChoiceField(initial='off', choices=instrokedatachoices, label='In-stroke data export')