Skip to content

Preserve selected place names in onboarding court locations#25

Open
sahilkashyap64 wants to merge 1 commit into
codex/build-responsive-lesson-detail-componentfrom
codex/retain-place-name-in-address-saving
Open

Preserve selected place names in onboarding court locations#25
sahilkashyap64 wants to merge 1 commit into
codex/build-responsive-lesson-detail-componentfrom
codex/retain-place-name-in-address-saving

Conversation

@sahilkashyap64
Copy link
Copy Markdown
Collaborator

Motivation

  • Prefer the Google Place name (e.g., "Penmar Rec Center") when coaches pick a location so saved entries keep the recognizable venue label instead of being overwritten by the street address.

Description

  • Updated the onPlaceSelected handler in src/components/onboarding/OnboardingFlow.jsx to set locationInput from place.name first and fall back to place.formatted_address.

Testing

  • Ran npm run build successfully and started the dev server with npm run dev, and captured a Playwright screenshot of the running app at http://127.0.0.1:4173 which showed the updated behavior.

Codex Task

@github-actions
Copy link
Copy Markdown

PR Preview Action v1.6.2

🚀 View preview at
https://CodeMyMobile.github.io/TTP_Coach_Web_Public/pr-preview/pr-25/

Built to branch gh-pages at 2026-02-10 11:37 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant