Commit Graph

55 Commits

Author SHA1 Message Date
Rene Saarsoo
6d53809fc3 Basic download button 2023-01-04 16:34:09 +02:00
Rene Saarsoo
59e6ae4726 Collapse/expand the generated ZWO 2023-01-04 16:01:34 +02:00
Rene Saarsoo
aa992f43b5 Read workout from url#hash when provided 2022-12-26 20:40:02 +02:00
Rene Saarsoo
0638b04921 Add Ramp keyword to syntax highlighter 2022-03-08 18:03:17 +02:00
Rene Saarsoo
41be174d7d Persist workout in localStorage
Fixes #4
2022-03-07 21:24:25 +02:00
Rene Saarsoo
f513edca2a Different highlight color for ValidationErrors 2020-12-25 20:47:16 +02:00
Rene Saarsoo
db9677bcca Highlight line that has error 2020-12-25 20:28:35 +02:00
Rene Saarsoo
bb8b2d3d2e Bring *BarProps creation functions close together 2020-11-23 05:24:08 +02:00
Rene Saarsoo
df4a90338e Extract BaseBar component 2020-11-23 05:23:35 +02:00
Rene Saarsoo
eea49adfee Refactor RangeBar to just a simple styled component 2020-11-23 05:15:41 +02:00
Rene Saarsoo
73d7852309 Render range-intervals using CSS polygons 2020-11-22 23:10:12 +02:00
Rene Saarsoo
507bfea201 Calculate equivalent speed for getting the same XP 2020-11-22 21:33:48 +02:00
Rene Saarsoo
db55c41780 Separate section for Zwift XP 2020-11-22 21:09:27 +02:00
Rene Saarsoo
b3c931c77c Syntax-highlighting for the negative offset minus sign 2020-11-21 21:42:57 +02:00
Rene Saarsoo
806c733597 Apply Prettier to all the code 2020-11-21 21:41:41 +02:00
Rene Saarsoo
44d408d9e2 Display XP points in stats 2020-11-20 22:14:00 +02:00
Rene Saarsoo
2a352f6029 Update formatting of WorkoutStats file 2020-11-20 22:13:39 +02:00
Rene Saarsoo
f7147d0919 Avoid missing key warnings 2020-10-06 13:52:52 +03:00
Rene Saarsoo
77799b80a0 Extract AppTitle component 2020-10-04 17:07:48 +03:00
Rene Saarsoo
9af50a0a8d Add Beta label 2020-10-04 17:04:59 +03:00
Rene Saarsoo
316b59eeed Add credits footer 2020-10-04 16:27:13 +03:00
Rene Saarsoo
02009fd014 Add small logo as final touch 2020-10-04 16:09:57 +03:00
Rene Saarsoo
98ad7d1f62 Switch to properly released zwiftout lib 2020-10-04 15:11:23 +03:00
Rene Saarsoo
1056954efe Typo 2020-10-04 00:35:01 +03:00
Rene Saarsoo
0ec5b1de9d Generate ZWO output 2020-10-04 00:33:17 +03:00
Rene Saarsoo
77a5dc0fb6 Implement custom syntax-highlighting 2020-10-04 00:18:45 +03:00
Rene Saarsoo
28769a417c Extract CodeEditor to separate file 2020-10-03 23:01:48 +03:00
Rene Saarsoo
0d56bf7df3 Use simple-code-editor 2020-10-03 22:56:41 +03:00
Rene Saarsoo
e528910ac9 Improved overall styling 2020-10-03 22:40:57 +03:00
Rene Saarsoo
481ae9c8a7 Extract formatDuration to separate file 2020-10-03 22:08:10 +03:00
Rene Saarsoo
62723823ed Remove need for luxon library 2020-10-03 18:45:26 +03:00
Rene Saarsoo
48347baca4 Use stats object and format it on react side 2020-10-03 18:37:13 +03:00
Rene Saarsoo
2046f1adc9 Add support for FreeRide bar in the plot 2020-10-03 17:21:50 +03:00
Rene Saarsoo
285e268489 Chunk up range intervals 2020-10-02 13:50:13 +03:00
Rene Saarsoo
45c5d1a257 Create "%" strings inside Bar component 2020-10-02 12:31:56 +03:00
Rene Saarsoo
c76cfc3bfe Move bar color logic inside Bar 2020-10-02 12:24:52 +03:00
Rene Saarsoo
3c83f0a253 Extract Bar component to separate file 2020-10-02 12:18:57 +03:00
Rene Saarsoo
4011026e52 Move maximumIntensity to lib 2020-10-02 12:16:37 +03:00
Rene Saarsoo
856f561d2d Use intensityToZoneIndex helper 2020-10-02 12:12:19 +03:00
Rene Saarsoo
0c065d664e Use new Intensity interface 2020-10-02 12:09:11 +03:00
Rene Saarsoo
62681f470b Scale plot relative to max intensity 2020-10-02 00:00:31 +03:00
Rene Saarsoo
f5c7214d73 Use height for ... height :) 2020-10-01 23:52:30 +03:00
Rene Saarsoo
8bd052f3a8 Animate transitions 2020-10-01 23:47:18 +03:00
Rene Saarsoo
24b9804c29 Import totalDuration() from lib 2020-10-01 23:33:37 +03:00
Rene Saarsoo
9f9c316f30 Dynamically generated plot 2020-10-01 23:29:13 +03:00
Rene Saarsoo
739bb2d7bf Nicer error message 2020-10-01 22:51:01 +03:00
Rene Saarsoo
2c6fe4b789 Add WorkoutStats component 2020-10-01 22:46:25 +03:00
Rene Saarsoo
ceb8b88e01 Use locally linked make-workout package 2020-10-01 22:36:10 +03:00
Rene Saarsoo
649b093468 Use styled-components 2020-10-01 22:11:40 +03:00
Rene Saarsoo
d6cb5c892c Initial plot mockup 2020-10-01 21:49:26 +03:00