Commit Graph

350 Commits

Author SHA1 Message Date
Jaap van Ekris 3ef46ae85e
Fixed a typo 2023-04-21 15:22:34 +02:00
Jaap van Ekris 0dafc7814a
Updated Johnson JAR1500 status 2023-04-21 11:06:59 +02:00
Jaap van Ekris 2e48b96fc3
Added Johnson JAR5100 to list 2023-04-21 11:05:53 +02:00
Jaap van Ekris c2f2c48532
Added link to known rowers 2023-04-21 11:00:26 +02:00
Jaap van Ekris d6bcfaaf26
Added note about physics engine accuracy 2023-04-21 10:58:21 +02:00
Jaap van Ekris de7d540799
Improved wording
Improved wording
2023-04-21 10:56:38 +02:00
Jaap van Ekris 8ef0e98424
Added description of the Strava upload
Added description of the Strava upload, as described in https://github.com/laberning/openrowingmonitor/discussions/67
2023-04-21 10:44:37 +02:00
Jaap van Ekris cbab40db5d
Improved procedure for the Pi Zero
Added a comment about the need to increase the swap-size on a Raspberry Pi  Zero, based on this discussion: https://github.com/laberning/openrowingmonitor/discussions/139
2023-04-21 10:36:55 +02:00
Jaap van Ekris d852ef8439
Changed the trim of the distance
Changed the trimming (switching between meters and kilometers) of the distance from 10K to 100K, similar to the PM5 and convention of other rowing machines.
2023-04-19 23:42:51 +02:00
Jaap van Ekris 78f6275846
Hotfix for tests not running
Hotfix for tests not running
2023-04-19 23:05:38 +02:00
Abász 9d8ffabab0 Hotfix for tests not running
Due to the decorators used in the GUI code with lit which is not
supported natively by node the tests under helper.test.js return module
error. This commit fixes by refactoring the `simpleMetricFactory` method
to remove dependency on code using experimental decorators.
2023-04-19 22:20:07 +02:00
Jaap van Ekris 3f23f8d38f
Updated dependencies
Added the dependencies for chart.js, chartjs-plugin-datalabels and kurkle/color
2023-04-19 11:18:42 +02:00
Jaap van Ekris 3c939cb618
Added the GUI contributions 2023-04-19 10:30:02 +02:00
Jaap van Ekris bb8cac9bb6
Adopted to newly added GUI metrics 2023-04-19 10:28:34 +02:00
Jaap van Ekris c0770891ce
Metric selection screen added 2023-04-19 10:25:36 +02:00
Jaap van Ekris a2a8d60800
Improve/rework GUI and fixed some bugs
Improve/rework GUI, moved some calculations from RowingStatistics to the GUI and fixed some bugs
2023-04-19 10:09:39 +02:00
Abász dfc2881f36 Make changes to GUI to better support intervals
Change distance, timer and calories tile to change behaviour when
current workout is an interval session (i.e. not JustRow).
Expose data necessary for this in RowingStatistics. Remove miles option
from formatter.
2023-04-18 23:19:53 +02:00
Jaap van Ekris bc9dc83596
Made position of createRawDataFiles clearer
Added a better description of the placement of createRawDataFiles based on https://github.com/laberning/openrowingmonitor/discussions/139
2023-04-18 10:32:48 +02:00
Jaap van Ekris 475fe85c00
Clarification of minimumStrokeQuality
Clarification of the minimumStrokeQuality parameters role in the Recovery detection
2023-04-18 10:27:02 +02:00
Abász b494be4b9d Fix bug re. ignoring app mode
Refactor appMode setting so it becomes internal to the DashboardAction
component as it is not used anywhere else. This prevents exposing
unnecessary - essentially internal - state to the global appState.
2023-03-25 21:59:21 +01:00
Abász 918c9b53fa Remove formatting logic from RowingStatistics
Remove logic of formatting metrics in RowingStatistics and move these to
the consuming end (e.g. client).
2023-03-25 21:00:33 +01:00
Abász a1068cf77f Fix type conversion in the curveMetrics
Fix the string conversion of the curveMetrics and push the formatting
logic to the consumer that require this (eg. WorkoutRecorder). This
enables other consumers of curveMetrics to use non-rounded, "raw" data
instead of preformatted as well as avoid potential future bugs from the
type conversion.
2023-03-25 21:00:33 +01:00
Abász e7c40873cd Fix HR battery level not showing (fixes: #132)
Fix the HR battery level not showing on the HR metric tile (ANT and BLE)
For ANT handle case when BatteryLevel is not present only BatteryStatus.
BLE devices do not necessarily send battery level with all HR broadcast so
read the battery level on connect.
2023-03-25 21:00:33 +01:00
Abász ee667d727a Prevent BLE HR monitor process crash (fixes: #135)
In case of an uncaught exception in the BLE HR child process the process
would crash and not restart. Add code to catch these uncaught exceptions
to prevent such crash and enable code to continue.
2023-03-25 21:00:33 +01:00
Abász c5bec08ea9 Fix styling when text is used for metric tile 2023-03-25 21:00:33 +01:00
Abász 74a73c571a Add experimental 12 cell grid mode
Implement 12 cell grid mode to show allow showing more metrics.
Experimental means that this layout will not render properly on every
screen size (though should work on bigger screens well).
That would require more media queries and css logic to tweak the styling
This may be implemented at a later stage.
2023-03-25 21:00:33 +01:00
Abász bf55638e82 Add new metric tiles
- Add drag factor (int)
- Add distance per stroke (meters with 1 decimal place)
- Add drive length (meters with 2 decimal places)
- Add drive duration (seconds with 2 decimal places)
- Add recovery duration (seconds with 2 decimal places)
2023-03-25 21:00:33 +01:00
Abász 594f8099c3 Change settings styling and fix a formatter bug 2023-03-25 21:00:33 +01:00
Abász 11db116f5e Remove global appState property
Remove appState property from the base class to avoid property drilling.
Expose full appState to those components only that really need it in
order to decouple dependency on global objects to prevent potential
future issues when refactoring and making changes.
2023-03-24 22:02:12 +01:00
Abász 5b44b88c39 Change `changeGuiSetting` event API
Restrict the event payload to data this component is responsible for and
handle immutable object construction at the main event handler side.
2023-03-24 22:02:12 +01:00
Abász 89432fef99 Expose app configs to the metric tile factory
Make all settings available to the metric creator factory in order for
subcomponents (e.g DashboardAction) to use it without depending directly
on the global appState.
2023-03-24 22:02:03 +01:00
Abász a4ef6d86b0 Show peak value in the force curve
Add the capability of showing the peak value for the handle force curve
2023-03-23 23:20:00 +01:00
Abász fe5a7e7ed1 Remove dependency on server formatted values
Remove dependency on metric formatting logic at the server. Implement
the formatting of the raw data on the client side. Make adding
new metric tiles more modular and extensible via simplified creation API
2023-03-23 19:03:27 +01:00
Abász 6834e3a558 Code refactoring and improve code consistency 2023-03-23 19:03:01 +01:00
Abász 457c96fe3c Fix webSocket address bug 2023-03-22 20:21:28 +01:00
Abász 28d223c109 Add the ability to hide icons
Implement GUI setting to hide icons in exchange for increased font size
(implements: #131)
2023-03-22 15:02:16 +01:00
Abász cac178f06d Add settable metric tiles and settings persistence
Make the metric tiles settable via the settings dialog and implement
persistence of these settings to the browser localStorage (partially
fix #131)
2023-03-22 13:44:34 +01:00
Abász 00d9c824d0 Create settings dialog and improve AppDialog
Update AppDialog to be able to handle invalid forms, and implement the
settings dialog that communicates via appState
2023-03-22 13:34:27 +01:00
Abász 6aa5c696c6 Add force curve component
Add a component that shows the force curve of the last drive in a chart.
2023-03-22 12:54:33 +01:00
Jaap van Ekris bd97723f8b
Cut/copy/paste error in log message 2023-03-09 10:55:45 +01:00
Jaap van Ekris 97c1da96d6
Dealt with an edge case
Dealt with an edge case where there are no strokes detected, but a number of impulses is recorded (Typically during first calibration).
2023-03-02 11:25:20 +01:00
Jaap van Ekris 65b273bbea
Fixed Lint errors 2023-03-01 09:01:34 +01:00
Jaap van Ekris 025c41f5d6
Update attribution.md 2023-02-28 20:50:04 +01:00
Jaap van Ekris f31372b27c
Better wording 2023-02-21 12:45:03 +01:00
Jaap van Ekris 765d975b04
Better description of stroke detection 2023-02-21 12:42:31 +01:00
Jaap van Ekris c029a42d37
Update to accommodate the new peripheral settings
Update to respect new peripheral settings introduced with the new peripheralmanager
2023-02-15 16:53:54 +01:00
Jaap van Ekris 1ae7128dc7
Added missing dependencies
Added missing dependencies: queue-fifo@0.2.6, dbly-linked-list@0.3.4, lodash.isequal@4.5.0, @types/w3c-web-usb@1.0.6.
2023-02-15 16:37:44 +01:00
Jaap van Ekris 7b4a716eb3
Added incyclist-ant-plus as dependency
Added incyclist-ant-plus as dependency
2023-02-15 16:19:24 +01:00
Jaap van Ekris 1cadf0008e
Added a description of the new ANT+ functionality
Added a description of the new ANT+ functionality
2023-02-15 16:11:04 +01:00
Jaap van Ekris 3e3cd7b838
Added ANT+ functionality and BLE improvements
Extend ANT+ peripherals and redesign inner structure of the peripheral management
2023-02-15 14:28:39 +01:00