Skip to content

Comments

New GUI Tiles#192

Open
DXCanas wants to merge 3 commits intoJaapvanEkris:0.9.7-(under-construction)from
DXCanas:0.9.7-new-GUI-tiles
Open

New GUI Tiles#192
DXCanas wants to merge 3 commits intoJaapvanEkris:0.9.7-(under-construction)from
DXCanas:0.9.7-new-GUI-tiles

Conversation

@DXCanas
Copy link

@DXCanas DXCanas commented Feb 19, 2026

First is the peak force metric, as described in #180 / #170

Second is a new metric that came up in my club recently; thought it was an interesting metric that could replace 2 tiles with one for those interested in it: Stroke ratio. Lots of caveats there but something interesting to train for on the erg between water sessions.

localhost_(iPhone SE)

Resolves JaapvanEkris#180

- Add `drivePeakHandleForce` property to APP_STATE
- Add `peakForce` metric to DASHBOARD_METRICS with Newton (N) unit display
- Format peak force value using formatNumber helper
- Add `strokeRatio` metric to DASHBOARD_METRICS
- Calculate ratio from drive and recovery durations as `1:x` format
@JaapvanEkris
Copy link
Owner

Great, thanks!

Please name it Peak Force, as there also is an Average Force during the stroke.

And indeed, ratio is a very good one to add!

@DXCanas
Copy link
Author

DXCanas commented Feb 19, 2026

Done! I didn't want to be the one to add the longest string per char in the set 🤪

localhost_(iPhone SE) (3)

@JaapvanEkris JaapvanEkris linked an issue Feb 19, 2026 that may be closed by this pull request
displayName: 'Stroke Ratio',
size: 1,
template: (metrics) => {
const ratio = metrics?.driveDuration && metrics?.recoveryDuration
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check if driveduration is bigger than 0, to prevent any divisions by zero in the GUI

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.

GUI Peak Force Tile

2 participants