Skip to content

Add Athlete Daily Check-in UI with readiness sliders, yes/no toggles, and audit submission#13

Draft
Copilot wants to merge 7 commits into
mainfrom
copilot/build-athlete-checkin-form
Draft

Add Athlete Daily Check-in UI with readiness sliders, yes/no toggles, and audit submission#13
Copilot wants to merge 7 commits into
mainfrom
copilot/build-athlete-checkin-form

Conversation

Copilot AI commented May 18, 2026

Copy link
Copy Markdown

This PR adds the athlete-facing morning check-in interface requested in the issue: a mobile-friendly form for subjective readiness metrics plus binary wellness/compliance inputs, submitted to /api/v1/audit with user feedback.

  • Daily check-in form component

    • Added AthleteCheckInForm with 1–10 sliders for:
      • Sleep Quality
      • Stress Level
      • Physical Fatigue
    • Added Yes/No toggle groups for:
      • Nutrition plan adherence
      • Jetlag symptoms
  • Dashboard integration

    • Embedded the new form as a dedicated card in Dashboard’s right column, aligned with existing panel/card layout.
  • Submission + feedback flow

    • Form submit triggers POST /api/v1/audit with normalized payload keys.
    • Added transient success/error toast notifications.
    • Toast includes accessibility semantics (role="alert", aria-live="polite").
await axios.post(`${API_BASE_URL}/api/v1/audit`, {
  sleep_quality: formData.sleepQuality,
  stress_level: formData.stressLevel,
  physical_fatigue: formData.physicalFatigue,
  followed_nutrition_plan: formData.followedNutritionPlan,
  has_jetlag_symptoms: formData.hasJetlagSymptoms
});

Copilot AI and others added 6 commits May 18, 2026 18:38
Agent-Logs-Url: https://github.com/Hackaton-NeuroAgents/olympicmind/sessions/8aea80ea-5d5a-4acb-9dda-92f47824e5c5

Co-authored-by: unoursmarin <20300991+unoursmarin@users.noreply.github.com>
Copilot AI changed the title [WIP] Create athlete daily check-in form component Add Athlete Daily Check-in UI with readiness sliders, yes/no toggles, and audit submission May 18, 2026
Copilot AI requested a review from unoursmarin May 18, 2026 18:45
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.

Build Athlete Daily Check-in Form Component

2 participants