Skip to content

Add Recovery Metrics support to Other entry type#27

Merged
aidmax merged 1 commit into
mainfrom
claude/hrv-fields-other-mode-wj8o0y
Jul 4, 2026
Merged

Add Recovery Metrics support to Other entry type#27
aidmax merged 1 commit into
mainfrom
claude/hrv-fields-other-mode-wj8o0y

Conversation

@aidmax

@aidmax aidmax commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Other entries (yoga, MFR, strength, etc.) previously had no way to log
HRV/rMSSD/RHR/TrainerRoad LGT, even though the Zod schema already allowed
these fields unconditionally. Extend the Recovery Metrics section and
markdown generation to cover Other, matching the pattern already used for
Rest. Weight stays Rest-only, and Recovery Metrics stays collapsed by
default for Other (no auto-expand on switch, unlike Rest).

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01DQptqxFUpdLhbzdP9TauaG

Other entries (yoga, MFR, strength, etc.) previously had no way to log
HRV/rMSSD/RHR/TrainerRoad LGT, even though the Zod schema already allowed
these fields unconditionally. Extend the Recovery Metrics section and
markdown generation to cover Other, matching the pattern already used for
Rest. Weight stays Rest-only, and Recovery Metrics stays collapsed by
default for Other (no auto-expand on switch, unlike Rest).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DQptqxFUpdLhbzdP9TauaG
@greptile-apps

greptile-apps Bot commented Jul 4, 2026

Copy link
Copy Markdown

Greptile Summary

This PR adds recovery metric support for Other entries. The main changes are:

  • Shows the Recovery Metrics section for Other entries.
  • Adds HRV, rMSSD, RHR, and TR-LGT to Other markdown output.
  • Updates the developer docs to describe the new Other-entry behavior.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.
  • The schema already allows these fields on Other entries.
  • The section default and Rest-only weight behavior stay consistent with the described behavior.

Important Files Changed

Filename Overview
client/src/pages/home.tsx Adds Recovery Metrics visibility and markdown rendering for Other entries while keeping the section collapsed by default.
CLAUDE.md Documents that Other entries now support recovery metrics but not weight.

Reviews (1): Last reviewed commit: "Add Recovery Metrics support to Other en..." | Re-trigger Greptile

@aidmax aidmax merged commit 6305d8f into main Jul 4, 2026
2 checks passed
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.

2 participants